User Guide > Reference > PHP Perspectives and Views > Outline View

Outline View

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.

Features

Reserved PHP Words

Functions

Templates

Classes

Interfaces

Constants

Variables (public)

Namespaces (PHP 5.3 only)

Use Statements (PHP 5.3 only)

Note:

Toggle the link to Editor on/off using the Link with Editor button .

 

 

Instructions on how to complete a procedure

To generate a PHP DocBlock or Getter and Setter :

  1. Right-click the element in Outline view.

  2. Select Source | Add PHP Doc -or- Generate Getters and Setters .

The relevant PHP DocBlock or Getter/Setter will be created above the code for the selected element in the editor.

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.

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:

PHP Perspective
PHP Explorer view

PHP Functions View

PHP Project Outline View

 

 

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