added method getTableName() for Model Class #0
git-svn-id: svn+ssh://code.netmonsters.ru/svn/majestic/trunk@107 4cb57b5f-5bbd-dd11-951b-001d605cbbc5
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user