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