escapedTableName for SQL query easy access

This commit is contained in:
Mikael Nordfeldth 2015-02-18 12:15:46 +01:00
parent a254f38a23
commit 94e19e1ac6

View File

@ -299,6 +299,11 @@ abstract class Managed_DataObject extends Memcached_DataObject
return $ckeys; return $ckeys;
} }
public function escapedTableName()
{
return common_database_tablename($this->tableName());
}
/** /**
* Returns an ID, checked that it is set and reasonably valid * Returns an ID, checked that it is set and reasonably valid
* *