Navigator Window (PHP Projects)

See Also

The Navigator window provides a compact view of the currently selected file and simplifies navigation between different parts of the file.

For PHP classes, you see a list of fields, methods, and constructors. PHP code outside of classes is not displayed in the Navigator.

You can also use the Navigator to view the structure of JavaScript, HTML, CSS, and XML.

You can open the Navigator window by choosing Window > Navigator (Ctrl-7). By default, the Navigator window opens in the lower left corner of the IDE. To display a source file in the Navigator window, select the file in the Source Editor, the Projects window, the Files window, or the Favorites window.

You can use the Navigator window to focus the Editor on a specific element in a file. To focus on an element, double-click on the element's node in the Navigator window. Your cursor automatically relocates to that element in the Editor. (You can also right-click on the node and select Go to Source from the context menu.)

Navigator Window Icons

The following icons represent elements in PHP classes. Some of these icons also represent JavaScript elements.

Icon Description
Java class or inner class icon PHP class.
private constructor icon Private constructor.
public constructor icon Public constructor.
constructor with protected access icon Constructor with protected access.
private method icon Private method (nonstatic).
public method icon Public method (nonstatic).
method with protected access icon Method with protected access (nonstatic).
private method icon Private method (static).
public method icon Public method (static).
method with protected access icon Method with protected access (static).
private field icon Private field (nonstatic).
public field icon Public field (nonstatic).
field with protected access icon Field with protected access (nonstatic).
private field icon Private field (static).
public field icon Public field (static).
field with protected access icon Field with protected access (static).

Filters

You can select common filters for the types of members to display. Set the filters by clicking the relevant button at the bottom of the Navigator Window, or in the Navigator Window's context menu. You can select any combination of the following filters:

XML Files

For XML files, the Navigator view displays a tree of elements.

To set the level of detail to display for an element, right-click an element node and select from the following options:


Legal Notices