public function quoteIndexName($name)
    {
        if (strpos($name, '(') !== false || strpos($name, '{{') !== false) {
            return $name;
        }

        return $this->quoteSimpleIndexName($name);
    }
public function quoteIndexName($name)
    {
        if (strpos($name, '(') !== false || strpos($name, '{{') !== false) {
            return $name;
        }

        return $this->quoteSimpleIndexName($name);
    }
public function quoteIndexName ( $ name ) { if ( strpos ( $ name , '(' ) !== false || strpos ( $ name , '{{' ) !== false ) { return $ name ; } return $ this -> quoteSimpleIndexName ( $ name ) ; }
Quotes a index name for use in a query.
If the index name contains schema prefix, the prefix will also be properly quoted.
If the index name is already quoted or contains '(' or '{{',
then this method will do nothing.
@param string $name index name
@return string the properly quoted index name
@see quoteSimpleTableName
Quotes a index name for use in a query . If the index name contains schema prefix the prefix will also be properly quoted . If the index name is already quoted or contains ( or {{ then this method will do nothing .