diff --git a/monstra/engine/xmldb.php b/monstra/engine/xmldb.php index 0d8f883..bd1b2b3 100644 --- a/monstra/engine/xmldb.php +++ b/monstra/engine/xmldb.php @@ -220,6 +220,21 @@ } + /** + * Table factory. + * + * + * $users = Table::factory('table_name'); + * + * + * @param string $table_name Table name + * @return Table + */ + public static function factory($table_name) { + return new Table($table_name); + } + + /** * Table construct *