setModified() public method

This will do nothing if the node is new, to avoid duplicating store commands.
public setModified ( )
Example #1
0
 /**
  * Tell this item that it has been modified.
  *
  * Used to make the parent node aware that this property has changed
  *
  * @private
  */
 public function setModified()
 {
     parent::setModified();
     $parent = $this->getParent();
     if (!is_null($parent)) {
         $parent->setModified();
     }
 }