Beispiel #1
0
 public static function _model($table = '')
 {
     if (null == self::$_instance) {
         self::$_instance = new self();
     }
     if (!empty($table)) {
         self::$_instance->selectTable($table);
     }
     return self::$_instance;
 }
Beispiel #2
0
 public function test()
 {
     Test_FooModel::_model('story');
 }