예제 #1
0
파일: Session.php 프로젝트: nilzao/EcmFlow
 public static function getInstance()
 {
     if (!isset(self::$instance)) {
         self::$instance = new self();
     }
     return self::$instance;
 }
예제 #2
0
 /**
  * 
  * Return value from $_SESSION[$key]
  * @param string/int $key
  */
 public static function getSessionKey($key)
 {
     $session = knl_lib_Session::getInstance();
     return $session->getSessionKey($key);
 }