Implements interfaces:
Horde_Rdo_Base abstract class (Rampage Data Objects). Entity classes extend this baseline.
Located in /Rdo/lib/Horde/Rdo/Base.php (line 14)
Class | Description |
---|---|
![]() |
Items |
![]() |
Dependencies |
![]() |
Calendars |
![]() |
Resources |
![]() |
ResourceAvailability |
![]() |
|
![]() |
|
![]() |
This class will stand in for our table for generating the Model. |
This object's fields.
The Horde_Rdo_Mapper instance associated with this Rdo object. The Mapper takes care of all backend access.
Constructor. Can be called directly by a programmer, or is called in Horde_Rdo_Mapper::map(). Takes an associative array of initial object values.
Delete this object from the backend.
Implement the IteratorAggregate interface. Looping over an Rdo object goes through each property of the object in turn.
Get a Mapper instance that can be used to manage this object. The Mapper instance can come from a few places:
Save any changes to the backend.
Associate this Rdo object with the Mapper instance that will manage it. Called automatically by Horde_Rdo_Mapper:map().
Take a query array and replace @field@ placeholders with values from this object.
When Rdo objects are cloned, unset the unique id that identifies them so that they can be modified and saved to the backend as new objects. If you don't really want a new object, don't clone.
Fetch fields that haven't yet been loaded. Lazy-loaded fields and lazy-loaded relationships are handled this way. Once a field is retrieved, it is cached in the $_fields array so it doesn't need to be fetched again.
Allow using isset($rdo->foo) to check for field or relationship presence.
Set a field's value.
Allow using unset($rdo->foo) to unset a basic field. Relationships cannot be unset in this way.
Documentation generated on Sun, 30 Jan 2011 05:15:26 +0000 by phpDocumentor 1.4.3