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

hideSubtree() abstract public method

Sets a location to be hidden, and it self + all children to invisible.
abstract public hideSubtree ( string $pathString )
$pathString string
    public abstract function hideSubtree($pathString);

Usage Example

Ejemplo n.º 1
0
 /**
  * Sets a location to be hidden, and it self + all children to invisible.
  *
  * @param string $pathString
  */
 public function hideSubtree($pathString)
 {
     try {
         return $this->innerGateway->hideSubtree($pathString);
     } 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::hideSubtree