quoteTableName() public method

Quotes a table name for use in a query.
public quoteTableName ( string $name ) : string
$name string table name
return string the properly quoted table name
Example #1
0
 /**
  * Quotes a table name for use in a query.
  * @param string $name table name
  * @return string the properly quoted table name
  */
 public function quoteTableName($name)
 {
     return parent::quoteTableName($name, '`', '`');
 }
Example #2
0
 /**
  * Quotes a table name for use in a query.
  * @param string $name table name
  * @return string the properly quoted table name
  */
 public function quoteTableName($name)
 {
     return parent::quoteTableName($name, "'", "'");
 }