/** * model * @param string $table [description] */ function M($table = '') { Model::$table_name = $table; Model::$tpr = C('DB_PREFIX'); return new Model(); }