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