public function quote($value, $type = null)
    {
        list($value, $type) = $this->cast($value, $type);

        return $this->_driver->quote($value, $type);
    }
public function quote($value, $type = null)
    {
        list($value, $type) = $this->cast($value, $type);

        return $this->_driver->quote($value, $type);
    }
public function quote ( $ value , $ type = null ) { list ( $ value , $ type ) = $ this -> cast ( $ value , $ type ) ; return $ this -> _driver -> quote ( $ value , $ type ) ; }
Quotes value to be used safely in database query.

@param mixed $value The value to quote.
@param string|null $type Type to be used for determining kind of quoting to perform
@return string Quoted value
Quotes value to be used safely in database query .