コード例 #1
0
ファイル: Table.php プロジェクト: rdohms/Tweester
 /**
  * Checks if table exists in the database
  * @return boolean
  */
 public function exists()
 {
     return !($this->db->get_var("SHOW TABLES LIKE '" . $this->getTableName() . "'") != $this->getTableName());
 }