Example #1
0
 /**
  * Quotes an identifier.
  *
  * Accepts a string representing a qualified indentifier. For Example:
  * <code>
  * $adapter->quoteIdentifier('myschema.mytable')
  * </code>
  * Returns: "myschema"."mytable"
  *
  * Or, an array of one or more identifiers that may form a qualified identifier:
  * <code>
  * $adapter->quoteIdentifier(array('myschema','my.table'))
  * </code>
  * Returns: "myschema"."my.table"
  *
  * The actual quote character surrounding the identifiers may vary depending on
  * the adapter.
  *
  * @param string|array|Zend_Db_Expr $ident The identifier.
  * @param boolean                   $auto  (optional) If true, heed the AUTO_QUOTE_IDENTIFIERS config option.
  * @return string The quoted identifier.
  */
 public function quoteIdentifier($ident, $auto = false)
 {
     return $this->_adapter->quoteIdentifier($ident, $auto);
 }