public setSectionForSubtree ( mixed $locationId, mixed $sectionId ) | ||
$locationId | mixed | |
$sectionId | mixed |
public function setSectionForSubtree($locationId, $sectionId)
{
$nodeData = $this->locationGateway->getBasicNodeData($locationId);
$this->locationGateway->setSectionForSubtree($nodeData['path_string'], $sectionId);
}
/** * Set section on all content objects in the subtree * * @param mixed $locationId * @param mixed $sectionId * * @return void */ public function setSectionForSubtree($locationId, $sectionId) { $this->treeHandler->setSectionForSubtree($locationId, $sectionId); }