Overview

Packages

  • Rdo

Classes

  • Horde_Rdo
  • Horde_Rdo_Base
  • Horde_Rdo_Exception
  • Horde_Rdo_Iterator
  • Horde_Rdo_List
  • Horde_Rdo_Mapper
  • Horde_Rdo_Query
  • Horde_Rdo_Query_Literal
  • Overview
  • Package
  • Class
  • Tree

Class 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)');

Package: Rdo
Category: Horde
Located at Horde/Rdo/Query/Literal.php
Methods summary
public
# __construct( string $string )

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

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

Parameters

$string
The string containing an SQL literal.
public string
# __toString( )

Returns

string
The SQL literal stored in this object.
API documentation generated by ApiGen