src/Database/DatabaseBase.php
public function escapeIdentifiersAndValues($mixColumnsAndValuesArray)
    {
        $result = array();
        foreach ($mixColumnsAndValuesArray as $strColumn => $mixValue) {
            $result[$this->escapeIdentifier($strColumn)] = $this->sqlVariable($mixValue);
        }
        return $result;
    }
public function escapeIdentifiersAndValues($mixColumnsAndValuesArray)
    {
        $result = array();
        foreach ($mixColumnsAndValuesArray as $strColumn => $mixValue) {
            $result[$this->escapeIdentifier($strColumn)] = $this->sqlVariable($mixValue);
        }
        return $result;
    }
public function escapeIdentifiersAndValues ( $ mixColumnsAndValuesArray ) { $ result = array ( ) ; foreach ( $ mixColumnsAndValuesArray as $ strColumn => $ mixValue ) { $ result [ $ this -> escapeIdentifier ( $ strColumn ) ] = $ this -> sqlVariable ( $ mixValue ) ; } return $ result ; }
Escapes both column and values when supplied as an array

@param array $mixColumnsAndValuesArray Array with column=>value format with both (column and value) sides unescaped

@return array Array with column=>value format data with both column and value escaped
Escapes both column and values when supplied as an array