Example #1
0
 /**
  * Returns a database escaped string
  *
  * @param string $text string to be escaped
  * @param bool $esc extra escaping
  * @return string
  */
 public function escape($text, $esc = false)
 {
     return $this->db->getEscaped($text, $esc);
 }