public function quoteIdentifier($text)
    {
        if (!$this->getPlatform()) {
            throw new RuntimeException('No platform specified. Can not quote without knowing which platform this table\'s database is using.');
        }

        if ($this->isIdentifierQuotingEnabled()) {
            return $this->getPlatform()->doQuoting($text);
        }

        return $text;
    }
public function quoteIdentifier($text)
    {
        if (!$this->getPlatform()) {
            throw new RuntimeException('No platform specified. Can not quote without knowing which platform this table\'s database is using.');
        }

        if ($this->isIdentifierQuotingEnabled()) {
            return $this->getPlatform()->doQuoting($text);
        }

        return $text;
    }
public function quoteIdentifier ( $ text ) { if ( ! $ this -> getPlatform ( ) ) { throw new RuntimeException ( 'No platform specified. Can not quote without knowing which platform this table\'s database is using.' ) ; } if ( $ this -> isIdentifierQuotingEnabled ( ) ) { return $ this -> getPlatform ( ) -> doQuoting ( $ text ) ; } return $ text ; }
Quotes a identifier depending on identifierQuotingEnabled.

Needs a platform assigned to its database.

@param string $text
@return string
Quotes a identifier depending on identifierQuotingEnabled .