eZ\Publish\Core\Persistence\Legacy\Content\Location\Gateway::updateSubtreeModificationTime PHP Method

updateSubtreeModificationTime() abstract public method

Updated subtree modification time for all nodes on path.
abstract public updateSubtreeModificationTime ( string $pathString, integer | null $timestamp = null )
$pathString string
$timestamp integer | null
    public abstract function updateSubtreeModificationTime($pathString, $timestamp = null);

Usage Example

Ejemplo n.º 1
0
 /**
  * Updated subtree modification time for all nodes on path
  *
  * @param string $pathString
  * @param int|null $timestamp
  *
  * @return void
  */
 public function updateSubtreeModificationTime($pathString, $timestamp = null)
 {
     try {
         return $this->innerGateway->updateSubtreeModificationTime($pathString, $timestamp);
     } catch (DBALException $e) {
         throw new RuntimeException('Database error', 0, $e);
     } catch (PDOException $e) {
         throw new RuntimeException('Database error', 0, $e);
     }
 }
All Usage Examples Of eZ\Publish\Core\Persistence\Legacy\Content\Location\Gateway::updateSubtreeModificationTime