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