public function escape($values) {
		if (is_array($values)) {
			foreach ($values as $key => $value) {
				$values[$key] = $this->escape($value);
			}
			return $values;
		} else {
			return $this->database->real_escape_string($values);
		}
	}
public function escape($values) {
		if (is_array($values)) {
			foreach ($values as $key => $value) {
				$values[$key] = $this->escape($value);
			}
			return $values;
		} else {
			return $this->database->real_escape_string($values);
		}
	}
public function escape ( $ values ) { if ( is_array ( $ values ) ) { foreach ( $ values as $ key => $ value ) { $ values [ $ key ] = $ this -> escape ( $ value ) ; } return $ values ; } else { return $ this -> database -> real_escape_string ( $ values ) ; } }
Escape a variable with the usual real_escape_string implementation

@access public
@param mixed $values The values to escape, can be an array
@return mixed $result The resulting escaped variable
Escape a variable with the usual real_escape_string implementation