\Horde_Rdo_Query_Literal

Horde_Rdo literal query string object.

If you need to pass a string that should not be quoted into a Horde_Rdo_Query object, wrap it in a Horde_Rdo_Query_Literal object and it will not be quoted or escaped. Note that of course you need to be very careful about introducing user input or any other untrusted input into these objects.

Example: $literal = new Horde_Rdo_Query_Literal('MAX(column_name)');

Summary

Methods
Properties
Constants
__construct()
__toString()
No public properties found
No constants found
No protected methods found
$_string
N/A
No private methods found
No private properties found
N/A

Properties

$_string

$_string : string

SQL literal string.

Type

string

Methods

__construct()

__construct(string  $string) 

Instantiate a literal, which is just a string stored as an instance member variable.

Parameters

string $string

The string containing an SQL literal.

__toString()

__toString() : string

Returns

string —

The SQL literal stored in this object.