Granada\ORM::_quote_identifier PHP Method

_quote_identifier() protected method

Quote a string that is used as an identifier (table names, column names etc). This method can also deal with dot-separated identifiers eg table.column
protected _quote_identifier ( $identifier )
    protected function _quote_identifier($identifier)
    {
        $parts = explode('.', $identifier);
        $parts = array_map(array($this, '_quote_identifier_part'), $parts);
        return join('.', $parts);
    }
ORM