public function quoteName($name)
    {
        if (strpos($name, '.') === false) {
            return $this->quoteSimpleName($name);
        }
        $parts = explode('.', $name);
        foreach ($parts as $i => $part) {
            if ('*' !== $part) { // last part may be wildcard, i.e. select table.*
                $parts[$i] = $this->quoteSimpleName($part);
            }
        }

        return implode('.', $parts);
    }
public function quoteName($name)
    {
        if (strpos($name, '.') === false) {
            return $this->quoteSimpleName($name);
        }
        $parts = explode('.', $name);
        foreach ($parts as $i => $part) {
            if ('*' !== $part) { // last part may be wildcard, i.e. select table.*
                $parts[$i] = $this->quoteSimpleName($part);
            }
        }

        return implode('.', $parts);
    }
public function quoteName ( $ name ) { if ( strpos ( $ name , '.' ) === false ) { return $ this -> quoteSimpleName ( $ name ) ; } $ parts = explode ( '.' , $ name ) ; foreach ( $ parts as $ i => $ part ) { if ( '*' !== $ part ) { // last part may be wildcard, i.e. select table.* $ parts [ $ i ] = $ this -> quoteSimpleName ( $ part ) ; } } return implode ( '.' , $ parts ) ; }
Quotes a resource name for use in a query.
If the resource name contains schema prefix, the prefix will also be properly quoted.

@param string $name resource name

@return string the properly quoted resource name
Quotes a resource name for use in a query . If the resource name contains schema prefix the prefix will also be properly quoted .