Browse Source

added method getTableName() for Model Class #0

git-svn-id: svn+ssh://code.netmonsters.ru/svn/majestic/trunk@107 4cb57b5f-5bbd-dd11-951b-001d605cbbc5
master
aterekhov 15 years ago
parent
commit
0a85ddfe96
  1. 9
      classes/Model.class.php

9
classes/Model.class.php

@ -138,6 +138,15 @@ abstract class Model
{ {
return DBConnector::rollback($this->handler); return DBConnector::rollback($this->handler);
} }
/**
* Возвращает значение поля $table
* @return string
*/
function getTableName()
{
return $this->table;
}
} }
class ModelResult class ModelResult

Loading…
Cancel
Save