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

unHideSubtree() abstract public method

If not make sure only children down to first hidden node is marked visible.
abstract public unHideSubtree ( string $pathString )
$pathString string
    public abstract function unHideSubtree($pathString);

Usage Example

Ejemplo n.º 1
0
 /**
  * Sets a location to be unhidden, and self + children to visible unless a parent is hiding the tree.
  * If not make sure only children down to first hidden node is marked visible.
  *
  * @param string $pathString
  */
 public function unHideSubtree($pathString)
 {
     try {
         return $this->innerGateway->unHideSubtree($pathString);
     } catch (DBALException $e) {
         throw new RuntimeException('Database error', 0, $e);
     } catch (PDOException $e) {
         throw new RuntimeException('Database error', 0, $e);
     }
 }