onPHP

StorableDAO Class Reference

 

StorableDAO Class Reference
[Root classes for building DAO hierarchies]

Inheritance diagram for StorableDAO:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 take (Identifiable $object)
 add (Identifiable $object)
 save (Identifiable $object)
 import (Identifiable $object)

Protected Member Functions

 inject (InsertOrUpdateQuery $query, Identifiable $object)

Detailed Description

Definition at line 16 of file StorableDAO.class.php.


Member Function Documentation

StorableDAO::take ( Identifiable object  ) 

Definition at line 18 of file StorableDAO.class.php.

References add(), Identifiable::getId(), and save().

Here is the call graph for this function:

StorableDAO::add ( Identifiable object  ) 

Definition at line 26 of file StorableDAO.class.php.

References DBPool::getByDao(), GenericDAO::getSequence(), inject(), and OSQL::insert().

Referenced by take().

Here is the call graph for this function:

StorableDAO::save ( Identifiable object  ) 

Definition at line 39 of file StorableDAO.class.php.

References Expression::eqId(), GenericDAO::getIdName(), inject(), and OSQL::update().

Referenced by take().

Here is the call graph for this function:

StorableDAO::import ( Identifiable object  ) 

Definition at line 50 of file StorableDAO.class.php.

References inject(), and OSQL::insert().

Here is the call graph for this function:

StorableDAO::inject ( InsertOrUpdateQuery query,
Identifiable object 
) [protected]

Definition at line 59 of file StorableDAO.class.php.

References GenericDAO::checkObjectType(), DBPool::getByDao(), Identifiable::getId(), GenericDAO::getTable(), Identifiable::setId(), and GenericDAO::uncacheById().

Referenced by add(), import(), and save().

Here is the call graph for this function:


The documentation for this class was generated from the following file:

generated by doxygen-1.5.1
for onPHP at Mon Apr 30 23:13:02 2007