The Outline view displays all PHP elements and element types in the current active file. The elements are grouped according to type and are displayed in a tree-like browser.
See PHP Icons for a description of the icons displayed in the Outline view.
The Outline View is updated interactively according to changes made in the files.
Each type of PHP element is represented by a unique icon:
Reserved PHP Words |
|
Functions |
|
Templates |
|
Classes |
|
Interfaces |
|
Constants |
|
Variables (public) |
|
Namespaces (PHP 5.3 only) |
|
Use Statements (PHP 5.3 only) |
The Outline view is integrated with the Editor. Therefore, if you select a PHP element in the view, the Editor will jump to the element's declaration in the file in which it is declared.
Note:
Toggle the link to Editor on/off using the Link with Editor button .
The View enables you to add PHPdoc blocks and, if available, Getters and Setters to any PHP element:
|
|
To generate a PHP DocBlock :
|
|
The relevant PHP DocBlock or Getter/Setter will be created above the code for the selected element in the editor. |
Outline View Toolbar Commands
Icon |
Name |
Description |
Collapse All |
Collapses the list of elements |
|
Sort |
Sorts the list alphabetically |
|
Show Groups |
If selected, elements will be displayed in Groups (include files, constants, classes, functions) |
|
Link with Editor |
If selected, elements will immediately be displayed in the editor when single-clicked. If unselected, elements will be displayed in the editor when they are double-clicked. |
Outline View Menu Commands
The view's menu can be accessed through the view menu icon .
Icon |
Name |
Description |
Link with Editor |
If selected, elements will immediately be displayed in the editor when single-clicked. If unselected, elements will be displayed in the editor when they are double-clicked. |
|
Show Attributes |
If selected, element attributes will be displayed. These are defined by the element's PHP Doc Block. |
|
PHP/HTML selection |
Toggles the view to display PHP or HTML elements. |
Note:
The Outline View is displayed by default as part of the PHP Perspective. To manually open the view, go to Window | Show View | Other | PHP Tools | Outline.
|
|
|
Related Links: |
|
|