
Public Member Functions | ||||
| getParentIdField () | ||||
| getChildIdField () | ||||
| __construct (Identifiable $parent, GenericDAO $dao, $lazy=true) | ||||
| __sleep () | ||||
| __wakeup () | ||||
| getParentObject () | ||||
| getDao () | ||||
| ||||
| isLazy () | ||||
| isFetched () | ||||
| setCriteria (Criteria $criteria) | ||||
| ||||
| getCriteria () | ||||
| ||||
| setObjectQuery (ObjectQuery $oq) | ||||
| setList ($list) | ||||
| ||||
| mergeList ($list) | ||||
| ||||
| getList () | ||||
| getCount () | ||||
| fetch () | ||||
| ||||
| save () | ||||
| ||||
| clean () | ||||
| ||||
Static Public Member Functions | ||||
| static | destroy (UnifiedContainer $container) | |||
Protected Member Functions | ||||
| fetchList () | ||||
Protected Attributes | ||||
| $worker = null | ||||
| $parent = null | ||||
| $dao = null | ||||
| $daoClass = null | ||||
| $lazy = true | ||||
| $fetched = false | ||||
| $list = array() | ||||
| $clones = array() | ||||
Private Member Functions | ||||
| importList ($list) | ||||
| ||||
| syncClones () | ||||
| ||||
Definition at line 64 of file UnifiedContainer.class.php.
| UnifiedContainer::__construct | ( | Identifiable $ | parent, | |
| GenericDAO $ | dao, | |||
| $ | lazy = true | |||
| ) |
Reimplemented in ManyToManyLinked, and OneToManyLinked.
Definition at line 81 of file UnifiedContainer.class.php.
References $lazy, GenericDAO::getObjectName(), and Assert::isTrue().

| UnifiedContainer::getParentIdField | ( | ) | [abstract] |
| UnifiedContainer::getChildIdField | ( | ) | [abstract] |
Reimplemented in OneToManyLinked.
| UnifiedContainer::__sleep | ( | ) |
Definition at line 99 of file UnifiedContainer.class.php.
| UnifiedContainer::__wakeup | ( | ) |
Definition at line 105 of file UnifiedContainer.class.php.
References Singleton::getInstance().

| UnifiedContainer::getParentObject | ( | ) |
Definition at line 110 of file UnifiedContainer.class.php.
| UnifiedContainer::getDao | ( | ) |
Definition at line 118 of file UnifiedContainer.class.php.
Referenced by save(), and setCriteria().
| UnifiedContainer::isLazy | ( | ) |
Definition at line 123 of file UnifiedContainer.class.php.
| UnifiedContainer::isFetched | ( | ) |
| UnifiedContainer::setCriteria | ( | Criteria $ | criteria | ) |
| WrongArgumentException |
Definition at line 137 of file UnifiedContainer.class.php.
References getDao(), Assert::isTrue(), and Criteria::setDao().

| UnifiedContainer::getCriteria | ( | ) |
| UnifiedContainer::setObjectQuery | ( | ObjectQuery $ | oq | ) |
| WrongArgumentException |
Definition at line 169 of file UnifiedContainer.class.php.
References Assert::isTrue().

| UnifiedContainer::setList | ( | $ | list | ) |
| WrongArgumentException |
Definition at line 185 of file UnifiedContainer.class.php.
References $list.
| UnifiedContainer::mergeList | ( | $ | list | ) |
Definition at line 197 of file UnifiedContainer.class.php.
References $list, and importList().

| UnifiedContainer::getList | ( | ) |
Definition at line 204 of file UnifiedContainer.class.php.
References fetch(), and isFetched().

| UnifiedContainer::getCount | ( | ) |
Definition at line 212 of file UnifiedContainer.class.php.
References isFetched().

| UnifiedContainer::fetch | ( | ) |
| WrongStateException |
Definition at line 227 of file UnifiedContainer.class.php.
References fetchList(), and save().
Referenced by getList().

| UnifiedContainer::save | ( | ) |
| WrongArgumentException |
Definition at line 249 of file UnifiedContainer.class.php.
References $clones, $list, DBPool::getByDao(), getDao(), and syncClones().
Referenced by fetch().

| UnifiedContainer::clean | ( | ) |
| static UnifiedContainer::destroy | ( | UnifiedContainer $ | container | ) | [static] |
Definition at line 342 of file UnifiedContainer.class.php.
| UnifiedContainer::fetchList | ( | ) | [protected] |
Definition at line 347 of file UnifiedContainer.class.php.
References $list, and importList().
Referenced by fetch().

| UnifiedContainer::importList | ( | $ | list | ) | [private] |
Definition at line 364 of file UnifiedContainer.class.php.
References $list, and syncClones().
Referenced by fetchList(), and mergeList().

| UnifiedContainer::syncClones | ( | ) | [private] |
Definition at line 383 of file UnifiedContainer.class.php.
Referenced by importList(), and save().
UnifiedContainer::$worker = null [protected] |
Definition at line 66 of file UnifiedContainer.class.php.
Referenced by OneToManyLinked::__construct(), and ManyToManyLinked::__construct().
UnifiedContainer::$parent = null [protected] |
Definition at line 67 of file UnifiedContainer.class.php.
UnifiedContainer::$dao = null [protected] |
Definition at line 69 of file UnifiedContainer.class.php.
UnifiedContainer::$daoClass = null [protected] |
Definition at line 70 of file UnifiedContainer.class.php.
UnifiedContainer::$lazy = true [protected] |
Definition at line 72 of file UnifiedContainer.class.php.
Referenced by __construct(), OneToManyLinked::__construct(), and ManyToManyLinked::__construct().
UnifiedContainer::$fetched = false [protected] |
Definition at line 73 of file UnifiedContainer.class.php.
UnifiedContainer::$list = array() [protected] |
Definition at line 75 of file UnifiedContainer.class.php.
Referenced by fetchList(), importList(), mergeList(), save(), and setList().
UnifiedContainer::$clones = array() [protected] |
1.5.4