예제 #1
0
 public static function getInstance()
 {
     if (null === self::$_instance) {
         self::$_instance = new self();
     }
     return self::$_instance;
 }
예제 #2
0
 static function getDB()
 {
     return CoreActiveRecord::getInstance();
 }