Jackalope\Version\Version::setCachedPredecessorsDirty PHP 메소드

setCachedPredecessorsDirty() 공개 메소드

Set all cached predecessors of this version dirty
    public function setCachedPredecessorsDirty()
    {
        // only set other versions dirty if they are cached, no need to load them from backend just to tell they need to be reloaded
        foreach ($this->getProperty('jcr:predecessors')->getString() as $preuuid) {
            $pre = $this->objectManager->getCachedNodeByUuid($preuuid, 'Version\\Version');
            if ($pre) {
                $pre->setDirty();
            }
        }
    }