# 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

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.

#### Note:

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

## ViewingTypes 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.

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.
2. 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).
3. 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.

#### Related Links:

- Type Hierarchy
- Opening Types/Methods
- PHP Functions View