escapedTableName for SQL query easy access
This commit is contained in:
parent
a254f38a23
commit
94e19e1ac6
|
@ -299,6 +299,11 @@ abstract class Managed_DataObject extends Memcached_DataObject
|
|||
return $ckeys;
|
||||
}
|
||||
|
||||
public function escapedTableName()
|
||||
{
|
||||
return common_database_tablename($this->tableName());
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns an ID, checked that it is set and reasonably valid
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue
Block a user