예제 #1
0
 /**
  * Refreshes locations for content
  * @internal
  */
 public function refreshLocations()
 {
     $this->currentLocations = null;
     $this->currentLocations = new SQLILocationSet();
     $assignedNodes = $this->contentObject->assignedNodes();
     foreach ($assignedNodes as $node) {
         $this->currentLocations->addLocation(SQLILocation::fromNode($node));
     }
 }