getEntityInfoByTableName() публичный Метод

Returns EntityInfo for a given table name (e.g., "posts" or "commentmeta")
public getEntityInfoByTableName ( $tableName ) : EntityInfo
$tableName
Результат EntityInfo
Пример #1
0
 private function tryToUseIdsFromDatabase()
 {
     $vpidTableExists = (bool) $this->database->get_row("SHOW TABLES LIKE '{$this->database->vp_id}'");
     if (!$vpidTableExists) {
         return;
     }
     $vpidRows = $this->database->get_results("SELECT `table`, id, HEX(vp_id) vp_id FROM {$this->database->vp_id}");
     foreach ($vpidRows as $row) {
         $this->idCache[$this->dbSchema->getEntityInfoByTableName($row->table)->entityName][$row->id] = $row->vp_id;
     }
 }