interface HierarchyInterface (View source)

Interface for objects that resolve to the node type nt:hierarchyNode, like the File and Folder documents.

Methods

object|null
getParentDocument()

Get the parent document of this document.

$this
setParentDocument(object $parent)

Set the parent document for this document.

Details

object|null getParentDocument()

Get the parent document of this document.

Return Value

object|null

$this setParentDocument(object $parent)

Set the parent document for this document.

Parameters

object $parent

Return Value

$this