diff --git a/classes/Model.class.php b/classes/Model.class.php index b849142..3623cdb 100644 --- a/classes/Model.class.php +++ b/classes/Model.class.php @@ -138,6 +138,15 @@ abstract class Model { return DBConnector::rollback($this->handler); } + + /** + * Возвращает значение поля $table + * @return string + */ + function getTableName() + { + return $this->table; + } } class ModelResult