Example #1
0
 /**
  * 实例化对像
  * 
  * @return class
  */
 public static function factory()
 {
     if (!isset(self::$_class)) {
         $className = __CLASS__;
         self::$_class = new $className();
     }
     self::$menu = new Rms();
     return self::$_class;
 }