Context public static 적용

This commit is contained in:
conory 2015-12-18 22:02:59 +09:00
parent 809d3ed9d8
commit 582104b04d

View file

@ -454,7 +454,7 @@ class Context
*
* @return bool
*/
function getSessionStatus()
public static function getSessionStatus()
{
return (session_id() !== '');
}
@ -464,7 +464,7 @@ class Context
*
* @return void
*/
function checkSessionStatus($force_start = false)
public static function checkSessionStatus($force_start = false)
{
is_a($this, 'Context') ? $self = $this : $self = self::getInstance();
@ -496,7 +496,7 @@ class Context
*
* @return void
*/
function setCacheControl($ttl = 0, $public = true)
public static function setCacheControl($ttl = 0, $public = true)
{
if($ttl == 0)
{