tp TouchPointWP hierarchical - TenthPres/TouchPoint-WP GitHub Wiki

tp\TouchPointWP\hierarchical

Some items are hierarchical. This trait provides a simpler interface for interacting with parents and allowing attributes to be inherited by children from parents.

  • Interface name: hierarchical
  • Namespace: \tp\TouchPointWP
  • This is an interface

Methods

getParent

mixed tp\TouchPointWP\hierarchical::getParent()

Get the parent of this object which may be an object of a different class.

Returns null if there is no parent.

  • Visibility: public

Returns

  • mixed -