protected function _quoteJoins($joins)
    {
        $result = [];
        foreach ($joins as $value) {
            $alias = null;
            if (!empty($value['alias'])) {
                $alias = $this->_driver->quoteIdentifier($value['alias']);
                $value['alias'] = $alias;
            }

            if (is_string($value['table'])) {
                $value['table'] = $this->_driver->quoteIdentifier($value['table']);
            }

            $result[$alias] = $value;
        }

        return $result;
    }
protected function _quoteJoins($joins)
    {
        $result = [];
        foreach ($joins as $value) {
            $alias = null;
            if (!empty($value['alias'])) {
                $alias = $this->_driver->quoteIdentifier($value['alias']);
                $value['alias'] = $alias;
            }

            if (is_string($value['table'])) {
                $value['table'] = $this->_driver->quoteIdentifier($value['table']);
            }

            $result[$alias] = $value;
        }

        return $result;
    }
protected function _quoteJoins ( $ joins ) { $ result = [ ] ; foreach ( $ joins as $ value ) { $ alias = null ; if ( ! empty ( $ value [ 'alias' ] ) ) { $ alias = $ this -> _driver -> quoteIdentifier ( $ value [ 'alias' ] ) ; $ value [ 'alias' ] = $ alias ; } if ( is_string ( $ value [ 'table' ] ) ) { $ value [ 'table' ] = $ this -> _driver -> quoteIdentifier ( $ value [ 'table' ] ) ; } $ result [ $ alias ] = $ value ; } return $ result ; }
Quotes both the table and alias for an array of joins as stored in a Query
object

@param array $joins The joins to quote.
@return array
Quotes both the table and alias for an array of joins as stored in a Query object