public function markSubtreeModified($locationId, $timestamp = null)
    {
        $nodeData = $this->locationGateway->getBasicNodeData($locationId);
        $timestamp = $timestamp ?: time();
        $this->locationGateway->updateSubtreeModificationTime($nodeData['path_string'], $timestamp);
    }
public function markSubtreeModified($locationId, $timestamp = null)
    {
        $nodeData = $this->locationGateway->getBasicNodeData($locationId);
        $timestamp = $timestamp ?: time();
        $this->locationGateway->updateSubtreeModificationTime($nodeData['path_string'], $timestamp);
    }
public function markSubtreeModified ( $ locationId , $ timestamp = null ) { $ nodeData = $ this -> locationGateway -> getBasicNodeData ( $ locationId ) ; $ timestamp = $ timestamp ? : time ( ) ; $ this -> locationGateway -> updateSubtreeModificationTime ( $ nodeData [ 'path_string' ] , $ timestamp ) ; }
Marks the given nodes and all ancestors as modified.

Optionally a time stamp with the modification date may be specified,
otherwise the current time is used.

@param int|string $locationId
@param int $timestamp
Marks the given nodes and all ancestors as modified .