コード例 #1
0
 /**
  * Compares two table names.
  * The table names can be either quoted or unquoted. This method
  * will consider both cases.
  * @param string $name1 table name 1
  * @param string $name2 table name 2
  * @return boolean whether the two table names refer to the same table.
  */
 public function compareTableNames($name1, $name2)
 {
     $name1 = str_replace(array('[', ']'), '', $name1);
     $name2 = str_replace(array('[', ']'), '', $name2);
     return parent::compareTableNames(strtolower($name1), strtolower($name2));
 }
コード例 #2
0
 /**
  * Compares two table names.
  * The table names can be either quoted or unquoted. This method
  * will consider both cases.
  * @param string $name1 table name 1
  * @param string $name2 table name 2
  * @return boolean whether the two table names refer to the same table.
  */
 public function compareTableNames($name1, $name2)
 {
     return parent::compareTableNames(strtolower($name1), strtolower($name2));
 }