public function escape($data) { if (is_null($data)) { return null; } return $this->pdo->quote(trim($data)); }