/** * Set data for later use. * * This method is typically used to store data for later use by another part of the application. * This data is not stored in the session, so it only exists for one request. * * @since 1.9 * @param string The name of this data. * @param mixed The data to store. */ public static function set_app_data($key, $value) { if ($key == '') { return; } if (!is_array(self::$_vars)) { self::$_vars = array(); } self::$_vars[$key] = $value; }