src/Database/DatabaseBase.php
public function escapeIdentifiers($mixIdentifiers)
    {
        if (is_array($mixIdentifiers)) {
            return array_map(array($this, 'EscapeIdentifier'), $mixIdentifiers);
        } else {
            return $this->escapeIdentifier($mixIdentifiers);
        }
    }
public function escapeIdentifiers($mixIdentifiers)
    {
        if (is_array($mixIdentifiers)) {
            return array_map(array($this, 'EscapeIdentifier'), $mixIdentifiers);
        } else {
            return $this->escapeIdentifier($mixIdentifiers);
        }
    }
public function escapeIdentifiers ( $ mixIdentifiers ) { if ( is_array ( $ mixIdentifiers ) ) { return array_map ( array ( $ this , 'EscapeIdentifier' ) , $ mixIdentifiers ) ; } else { return $ this -> escapeIdentifier ( $ mixIdentifiers ) ; } }
Given an array of identifiers, this method returns array of escaped identifiers
For corner case handling, if a single identifier is supplied, a single escaped identifier is returned

@param array|string $mixIdentifiers Array of escaped identifiers (array) or one unescaped identifier (string)

@return array|string Array of escaped identifiers (array) or one escaped identifier (string)
Given an array of identifiers this method returns array of escaped identifiers For corner case handling if a single identifier is supplied a single escaped identifier is returned