protected function getSchemaTableName($table)
{
//remove the back ticks and separate out the "database.table"
$result = explode('.', str_replace('`', '', $table));
foreach ($result as $name) {
if (!$this->isValidIdentifier($name)) {
$ref = 'http://dev.mysql.com/doc/refman/5.0/en/identifiers.html';
throw new TDbException('dbcommon_invalid_identifier_name', $table, $ref);
}
}
return count($result) > 1 ? $result : array(null, $result[0]);
}