示例#1
0
 /**
  * @return DooSession
  */
 public static function session($namespace = null)
 {
     if (self::$_session === NULL) {
         self::loadCore('session/DooSession');
         self::$_session = new DooSession($namespace);
     }
     return self::$_session;
 }