Esempio n. 1
0
 /**
  * Quotes a given input parameter.
  *
  * @param mixed $input Parameter to be quoted.
  * @param int $type Type of the parameter.
  * @return string The quoted parameter.
  */
 public function quote($input, $type = \PDO::PARAM_STR)
 {
     return $this->connection->quote($input, $type);
 }
Esempio n. 2
0
 /**
  * Quotes a given input parameter.
  *
  * @param mixed $input Parameter to be quoted.
  * @param int $type Type of the parameter.
  * @return string The quoted parameter.
  */
 public function quote($input, $type = IQueryBuilder::PARAM_STR)
 {
     return $this->connection->quote($input, $type);
 }