Searching for PHP Elements

 

This procedure describes how to search for PHP elements (classes, functions and constants) within your files and projects.

 

 

To search for a PHP element:

  1. From the Menu Bar, select Search | Search -or- press Ctrl+H.
    A PHP Search dialog will open.

  1. Enter a search string.

  2. Select whether to search for a class, function or constant.

  3. Select whether to search in:

  4. Workspace - the entire workspace

  5. Selected resources - Select these in PHP Explorer view before opening the Source dialog

  6. Enclosing projects - The projects which the selected resources are in.

  7. Working Set - Click 'Choose' to select the required Working Set.

  1. Click Search.

The search view will open displaying the results of the search.

To go to an element, double-click the required option from the search view.

Note:

By default, the File Search dialog will be tabbed with the PHP Search dialog. To make the File Search dialog unavailable, click Customize within the PHP Search dialog and unmark the File Search dialog option.

 

 

Related Links

Related Links:

Finding and Replacing

Search Menu