Viewing Type Hierarchies

Type hierarchies can be viewed in either a Quick Type Hierarchy view or in the Type Hierarchy view.

Viewing Types in the Quick Type Hierarchy View

 

 

Instructions on how to complete a procedure

To view a type in a Quick Type Hierarchy view:

  1. Select the type name in the PHP editor, or PHP Explorer or outline views.

  2. Press Ctrl+T.
    -Or- from the Menu Bar go to Navigate | Quick Type Hierarchy.

The Quick Type Hierarchy view will be displayed in the editor with the selected type.

quick_type_hierarchy.png

Note:

Pressing Ctrl+T while the quick type hierarchy view is shown will toggle between supertype hierarchy and subtype hierarchy.

Viewing Types in the Type Hierarchy View

Types can be viewed in the Type Hierarchy view by searching for them using the "Open Type in Hierarchy" dialog or by directly selecting the element in the editor or PHP Explorer.

 

 

Instructions on how to complete a procedure

To view a type in the Type Hierarchy view:

Through the "Open Type in Hierarchy" wizard:

  1. Press Ctrl+Shift+H -or- from the Menu Bar go to Navigate | Open Type in Hierarchy.
    The "Open Type in Hierarchy" dialog is displayed.

type_hierarchy_wizard.png

  1. If a type was previously selected in the editor or outline views, it will be entered in the type field.
    If a type was not selected, begin typing the string of the required type/method to filter the results.
    You may use wild cards or CamelCase notation (e.g. DTB for DateTextBox).

  2. Select the required type and click OK.

Directly from the editor or PHP Explorer:

  1. Select a type in the editor or PHP Explorer.

  2. Press F4.

Note:

The action will not be activated if the selection is not a resolvable element (i.e. if the selection is not a class name, interface name or class method, constant or field).

The type will be displayed in the Type Hierarchy view.

type_hierarchy_view.png

 

 

link_icon.png

Related Links:
Type Hierarchy

Opening Types/Methods

PHP Functions View