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 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().

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(), InsertOrUpdateQuery::drop(), DBPool::getByDao(), Identifiable::getId(), GenericDAO::getIdName(), 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 on Sun Dec 9 21:58:32 2007 for onPHP by  doxygen 1.5.4