PHP Functions View

The PHP Functions view lists most commonly used PHP Classes, Constants and Iterators. The PHP Functions view can be used in order to easily add functions into your scripts. To add a function to your code, simply place the cursor in the required position in the Editor and double-click the required element from the list.

 

To access the view, go to Window | Show View | PHP Functions.

Right-clicking a function in PHP Functions view and selecting Open Manual will open an online version of the PHP manual with an explanation about most of the functions on the list.

A new browser window will open with an explanation of the function from the PHP Manual.

Note:

If the browser opens with a 'Cannot find server' error message, it means the function does not have a description assigned to it in the PHP Manual.

Sites for viewing the PHP Manual can be added and edited from the PHP Manual Preferences page.

 

Toolbar commands

Icon

Name

Description

Filter Text box

Allows you to find a particular function. Start typing the function name. Relevant results will be displayed below it.

Menu Commands

The view's menu can be accessed through the view menu icon .

Icon

Name

Description

PHP Version selection

Allows you to choose between PHP4 and PHP5 functions.

 

Note:

The PHP Functions View is displayed by default as part of the PHP Perspective. To manually open the view, go to Window | Show View | Other | PHP Tools | PHP Functions.