1
0
mirror of https://github.com/monstra-cms/monstra.git synced 2025-08-05 12:48:00 +02:00

XMLDB: New method factory() added.

This commit is contained in:
Awilum
2012-12-09 18:34:21 +02:00
parent acd082c74a
commit 01e2497ff3

View File

@@ -220,6 +220,21 @@
}
/**
* Table factory.
*
* <code>
* $users = Table::factory('table_name');
* </code>
*
* @param string $table_name Table name
* @return Table
*/
public static function factory($table_name) {
return new Table($table_name);
}
/**
* Table construct
*