ORM::_quote_identifier PHP Method

_quote_identifier() protected method

Quote a string that is used as an identifier (table names, column names etc) or an array containing multiple identifiers. This method can also deal with dot-separated identifiers eg table.column
protected _quote_identifier ( $identifier )
    protected function _quote_identifier($identifier)
    {
        if (is_array($identifier)) {
            $result = array_map(array($this, '_quote_one_identifier'), $identifier);
            return join(', ', $result);
        } else {
            return $this->_quote_one_identifier($identifier);
        }
    }
ORM