diff --git a/classes/context/Context.class.php b/classes/context/Context.class.php index f8565f253..17c03a960 100644 --- a/classes/context/Context.class.php +++ b/classes/context/Context.class.php @@ -7,7 +7,7 @@ define('RELEASE_SSL', 2); /** * Manages Context such as request arguments/environment variables - * It has dual method structure, easy-to use methods which can be called as Context::methodname(),and methods called with static object. + * It has dual method structure, easy-to use methods which can be called as self::methodname(),and methods called with static object. * * @author NAVER (developers@xpressengine.com) */ @@ -16,143 +16,143 @@ class Context /** * Allow rewrite - * @var bool true: using rewrite mod, false: otherwise + * @var bool TRUE: using rewrite mod, FALSE: otherwise */ - var $allow_rewrite = false; + public $allow_rewrite = FALSE; /** * Request method * @var string GET|POST|XMLRPC */ - var $request_method = 'GET'; + public $request_method = 'GET'; /** * js callback function name. * @var string */ - var $js_callback_func = ''; + public $js_callback_func = ''; /** * Response method.If it's not set, it follows request method. * @var string HTML|XMLRPC */ - var $response_method = ''; + public $response_method = ''; /** * Conatins request parameters and environment variables * @var object */ - var $context = NULL; + public $context = NULL; /** * DB info * @var object */ - var $db_info = NULL; + public $db_info = NULL; /** * FTP info * @var object */ - var $ftp_info = NULL; + public $ftp_info = NULL; /** * ssl action cache file * @var array */ - var $sslActionCacheFile = './files/cache/sslCacheFile.php'; + public $sslActionCacheFile = './files/cache/sslCacheFile.php'; /** * List of actions to be sent via ssl (it is used by javascript xml handler for ajax) * @var array */ - var $ssl_actions = array(); + public $ssl_actions = array(); /** * obejct oFrontEndFileHandler() * @var object */ - var $oFrontEndFileHandler; + public $oFrontEndFileHandler; /** * script codes in
.. * @var string */ - var $html_header = NULL; + public $html_header = NULL; /** * class names of * @var array */ - var $body_class = array(); + public $body_class = array(); /** * codes after * @var string */ - var $body_header = NULL; + public $body_header = NULL; /** * class names before * @var string */ - var $html_footer = NULL; + public $html_footer = NULL; /** * path of Xpress Engine * @var string */ - var $path = ''; + public $path = ''; // language information - it is changed by HTTP_USER_AGENT or user's cookie /** * language type * @var string */ - var $lang_type = ''; + public $lang_type = ''; /** * contains language-specific data * @var object */ - var $lang = NULL; + public $lang = NULL; /** * list of loaded languages (to avoid re-loading them) * @var array */ - var $loaded_lang_files = array(); + public $loaded_lang_files = array(); /** * site's browser title * @var string */ - var $site_title = ''; + public $site_title = ''; /** * variables from GET or form submit * @var mixed */ - var $get_vars = NULL; + public $get_vars = NULL; /** * Checks uploaded - * @var bool true if attached file exists + * @var bool TRUE if attached file exists */ - var $is_uploaded = false; + public $is_uploaded = FALSE; /** * Pattern for request vars check * @var array */ - var $patterns = array( + public $patterns = array( '/<\?/iUsm', '/<\%/iUsm', '/