Find Usages Dialog Box
Use this dialog box to specify search options for the Find Usages command.
You can use the Find Usages command to determine all of the places a class, function,
or variable is used in your project's source code.
The Find Usages dialog box displays the following option for all types of identifiers:
- Search in Comments. If selected, occurrences of the identifier that
appear in code comments are also displayed.
For classes and interfaces, the Find Usages dialog box displays the following
additional options:
- Find Usages. If selected, all usages of the class are displayed.
- Find All Subtypes. If selected, usages of all subtypes of the class,
including subtypes of subtypes, are displayed. Usages of the class itself are not displayed.
- Find Direct Subtypes Only. If selected, only usages of direct subtypes
are displayed. Subtypes of those subtypes are ignored.
For functions, the Find Usages dialog box sometimes displays the following additional options:
- Find Usages. If selected, all usages of that
specific function in your project are displayed.
- Find Overriding Functions. If selected, the output will show every usage
of a function that overrides this function in your project.
- Search from Base Class. This option is only relevant if the function for which you
are finding usages overrides another function. If selected, the output
will show every usage of that base function.
- The Find Usages command is
distinct from the Find command, because Find Usages returns only occurrences of
the specified identifier in PHP source code. The Find command returns any matching string
that you specify in any type of file.
Legal Notices