public function takeSnapshot()
    {
        if (is_array($this->originalNodeNames)) {
            if ($this->isInitialized()) {
                $this->originalNodeNames = $this->collection->getKeys();
            } else {
                $this->originalNodeNames = null;
            }
        }

        parent::takeSnapshot();
    }
public function takeSnapshot()
    {
        if (is_array($this->originalNodeNames)) {
            if ($this->isInitialized()) {
                $this->originalNodeNames = $this->collection->getKeys();
            } else {
                $this->originalNodeNames = null;
            }
        }

        parent::takeSnapshot();
    }
public function takeSnapshot ( ) { if ( is_array ( $ this -> originalNodeNames ) ) { if ( $ this -> isInitialized ( ) ) { $ this -> originalNodeNames = $ this -> collection -> getKeys ( ) ; } else { $ this -> originalNodeNames = null ; } } parent :: takeSnapshot ( ) ; }
Reset originalNodeNames and mark the collection as non dirty.
Reset originalNodeNames and mark the collection as non dirty .