Class Horde_Rdo

Description

Horde_Rdo (Rampage Data Objects) namespace - holds constants and global Rdo functions.

Located in /Rdo/lib/Horde/Rdo.php (line 14)


	
			
Class Constant Summary
 CUSTOM = 5
 FIND_ALL = 'FIND_ALL'
 FIND_FIRST = 'FIND_FIRST'
 SORT_ASC = 'ASC'
 SORT_DESC = 'DESC'
Variable Summary
Method Summary
 static void setAdapter (Horde_Rdo_Adapter $adapter)
 static void setInflector (Horde_Rdo_Inflector $inflector)
Variables
static Horde_Rdo_Adapter $_adapter (line 74)

Global adapter object.

  • access: protected
static Horde_Rdo_Inflector $_inflector (line 81)

Global inflector object.

  • access: protected
Methods
static getAdapter (line 88)

Get the global adapter object.

  • access: public
static Horde_Rdo_Adapter getAdapter ()
static getInflector (line 108)

Get the global inflector object.

  • access: public
static Horde_Rdo_Inflector getInflector ()
static setAdapter (line 98)

Set a global database adapter.

  • access: public
static void setAdapter (Horde_Rdo_Adapter $adapter)
static setInflector (line 121)

Set a custom global inflector.

  • access: public
static void setInflector (Horde_Rdo_Inflector $inflector)
Class Constants
CUSTOM = 5 (line 57)

Custom relationships defined by a query. These can be any of the 4 basic relationship types (one-to-one, one-to-many, many-to-one, many-to-many), but also carry additional qualifiers.

FIND_ALL = 'FIND_ALL' (line 27)

Find mode for returning all results. Even if no results are found an empty iterator will be returned.

FIND_FIRST = 'FIND_FIRST' (line 21)

Find mode for returning just the first matching result. The backend will limit the search if possible, and only a single object will be returned (or null).

MANY_TO_MANY = 4 (line 49)

Many-to-many relationships (this object relates to many objects, each of which relate to many objects of this type).

MANY_TO_ONE = 3 (line 43)

Many-to-one relationships (this object is one of many children of a single parent).

ONE_TO_MANY = 2 (line 37)

One-to-many relationships (this object has many children).

ONE_TO_ONE = 1 (line 32)

One-to-one relationships.

SORT_ASC = 'ASC' (line 62)

Ascending sort order

SORT_DESC = 'DESC' (line 67)

Descending sort order

Documentation generated on Sun, 30 Jan 2011 05:20:47 +0000 by phpDocumentor 1.4.3