Type Hierarchy View

The Type Hierarchy view display the hierarchy for a given type (a class name, interface name or class methods, constants and fields.). This allows you to view an element's supertypes (types higher in the hierarchy) or subtypes (lower in the hierarchy) within a tree structure, providing you with an overview of your element's structure.

See Viewing Types in the Type Hierarchy View for information on how to open a type in the Type Hierarchy view.

type_hierarchy_view2.png

The Type Hierarchy view consists of two panes:

Type Hierarchy Tree Pane Toolbar Commands

IconNameDescription
type_hierarchy_view_button1.pngShow the Type HierarchyDisplays the type in its full context (i.e., superclasses and subclasses) in the Type Hierarchy view.
type_hierarchy_view_button2.pngShow the Supertype HierarchyDisplays the supertypes and the hierarchy of all implemented interfaces of the type.

Note: The selected type is always at the top level, in the upper-left corner.
type_hierarchy_view_button3.pngShow the Subtype HierarchyDisplays the subtypes of the selected class and/or all implementors of the interface in the Hierarchy view.

Note: The selected type is always at the top level, in the upper-left corner.
type_hierarchy_view_button4.pngPrevious Hierarchy InputsDisplays a history of previously displayed type hierarchies.

Type Hierarchy Member List Pane Toolbar Commands

IconNameDescription
type_hierarchy_view_button5.pngLock View and Show Members in HierarchyOnly displays the members implementing the selected method.

When the view is locked, the member list pane no longer tracks the selection in the Type Hierarchy Tree Pane.
type_hierarchy_view_button6.pngShow All Inherited MembersShows or hides all methods and fields inherited by base classes. When this option is enabled, the name of the type that defines the method is appended to the method name.
type_hierarchy_view_button7.pngSort Members by the Defining TypeSorts the members according to the type in which they are defined.

Type Hierarchy View Menu Commands

The view's menu can be accessed through the view menu icon menu_icon.png.

IconNameDescription
type_hierarchy_view_button1.png type_hierarchy_view_button2.png type_hierarchy_view_button3.pngShow the Type / Supertype or Subtype HierarchySelects whether to display the type, supertype or subtype hierarchy in the Type Hierarchy Tree Pane (see above).
Select/Deselect/Edit Working SetAllows you to view only types from within a specific Working Set. See PHP Working Sets for more information.
LayoutAllows you to select the display of the panes within the Type Hierarchy view.

The options are:
  • Vertical View Orientation
  • Horizontal View Orientation
  • Automatic View Orientation
  • Hierarchy View Only
type_hierarchy_view_button9.pngShow Qualified Type NamesDisplays only qualified type names
link_with_editor_icon.pngLink With EditorIf selected, elements will immediately be displayed in the editor when selected. If unselected, elements will be displayed in the editor when they are double-clicked.