示例#1
0
 public static function getInstance($properties = null)
 {
     if (!self::$instance) {
         self::$instance = new self($properties);
     }
     return self::$instance;
 }
示例#2
0
 public static function user($config = array())
 {
     return J2User::getInstance($config);
 }