public function quoteTrustedValue($value)
    {
        if (is_int($value)) {
            return (string)$value;
        } elseif (is_float($value)) {
            return $this->floatConversion ? $this->toFloatSinglePrecision($value) : (string)$value;
        } elseif (is_null($value)) {
            return 'NULL'; // Not supported by SphinxQL, but included for consistency with prepared statement behavior
        }

        return parent::quoteTrustedValue($value);
    }
public function quoteTrustedValue($value)
    {
        if (is_int($value)) {
            return (string)$value;
        } elseif (is_float($value)) {
            return $this->floatConversion ? $this->toFloatSinglePrecision($value) : (string)$value;
        } elseif (is_null($value)) {
            return 'NULL'; // Not supported by SphinxQL, but included for consistency with prepared statement behavior
        }

        return parent::quoteTrustedValue($value);
    }
public function quoteTrustedValue ( $ value ) { if ( is_int ( $ value ) ) { return ( string ) $ value ; } elseif ( is_float ( $ value ) ) { return $ this -> floatConversion ? $ this -> toFloatSinglePrecision ( $ value ) : ( string ) $ value ; } elseif ( is_null ( $ value ) ) { return 'NULL' ; // Not supported by SphinxQL, but included for consistency with prepared statement behavior } return parent :: quoteTrustedValue ( $ value ) ; }
Quotes trusted value

The ability to quote values without notices

@param $value
@return string
Quotes trusted value