User Guide > Reference > PHP Perspectives and Views > Type Hierarchy View

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.

The Type Hierarchy view consists of two panes:

Tree Pane Toolbar Commands

Icon

Name

Description

Show the Type Hierarchy

Displays the type in its full context (i.e., superclasses and subclasses) in the Type Hierarchy view.

Show the Supertype Hierarchy

Displays 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.

Show the Subtype Hierarchy

Displays 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.

Previous Hierarchy Inputs

Displays a history of previously displayed type hierarchies.

 

Member List Pane Toolbar Commands

Icon

Name

Description

Lock View and Show Members in Hierarchy

Only 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.

Show All Inherited Members

Shows 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.

Sort Members by the Defining Type

Sorts the members according to the type in which they are defined.

 

Menu Commands

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

Icon

Name

Description

Show the Type / Supertype or Subtype Hierarchy

Selects whether to display the type, supertype or subtype hierarchy in the Type Hierarchy Tree Pane (see above).

 

Select/Deselect/Edit Working Set

Allows you to view only types from within a specific Working Set. See PHP Working Sets for more information.

 

Layout

Allows 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

Show Qualified Type Names

Displays only qualified type names

Link With Editor

If 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.

 

 

Related Links:

Type Hierarchy

Viewing Type Hierarchies

 

 

©1999-2013 Zend Technologies LTD. All rights reserved.