| wCMF
    3.6
    | 
 Inheritance diagram for CommitVisitor:
 Inheritance diagram for CommitVisitor:| Public Member Functions | |
| visit (&$obj) | |
| getResult () | |
| clearResult () | |
|  Public Member Functions inherited from Visitor | |
| startIterator (&$iterator) | |
| startArray (&$array) | |
| visit (&$obj) | |
| doPreVisit () | |
| doPostVisit () | |
| Public Attributes | |
| $_result = array() | |
The CommitVisitor is used to commit the object's changes to the object storage. The objects must implement the PersistentObject interface.
wCMF - wemove Content Management Framework Copyright (C) 2005-2014 wemove digital solutions GmbH
Licensed under the terms of any of the following licenses at your choice:
See the license.txt file distributed with this work for additional information.
Definition at line 28 of file class.CommitVisitor.php.
| CommitVisitor::visit | ( | & | $obj | ) | 
Visit the current object in iteration and commit changes.
| obj | A reference to the current object. | 
Definition at line 36 of file class.CommitVisitor.php.
References STATE_DELETED, STATE_DIRTY, and STATE_NEW.
| CommitVisitor::getResult | ( | ) | 
Get the last commit result.
Definition at line 64 of file class.CommitVisitor.php.
References $_result.
| CommitVisitor::clearResult | ( | ) | 
Clear the commit result.
Definition at line 72 of file class.CommitVisitor.php.
| CommitVisitor::$_result = array() | 
Definition at line 30 of file class.CommitVisitor.php.
Referenced by getResult().