|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Inheritance diagram for Gettext\Utils\JsFunctionsScanner:
Collaboration diagram for Gettext\Utils\JsFunctionsScanner:Public Member Functions | |
| __construct ($code) | |
| Constructor. More... | |
| getFunctions () | |
{Scan and returns the functions and the arguments.
| |
Public Member Functions inherited from Gettext\Utils\FunctionsScanner | |
| getFunctions () | |
| Scan and returns the functions and the arguments. More... | |
| saveGettextFunctions (array $functions, Translations $translations, $file='') | |
| Search for specific functions and create translations. More... | |
Protected Member Functions | |
| status ($match=null) | |
| Get the current context of the scan. More... | |
| downStatus ($status) | |
| Add a new status to the stack. More... | |
| upStatus () | |
| Removes and return the current status. More... | |
Static Protected Member Functions | |
| static | prepareArgument ($argument) |
| Prepares the arguments found in functions. More... | |
Protected Attributes | |
| $code | |
| $status = array() | |
Definition at line 5 of file JsFunctionsScanner.php.
| Gettext\Utils\JsFunctionsScanner::__construct | ( | $code | ) |
Constructor.
| string | $code | The php code to scan |
Definition at line 15 of file JsFunctionsScanner.php.
References Gettext\Utils\JsFunctionsScanner\$code.
|
protected |
Add a new status to the stack.
| string | $status |
Definition at line 186 of file JsFunctionsScanner.php.
References Gettext\Utils\JsFunctionsScanner\$status, and Gettext\Utils\JsFunctionsScanner\status().
Referenced by Gettext\Utils\JsFunctionsScanner\getFunctions().
Here is the call graph for this function:
Here is the caller graph for this function:| Gettext\Utils\JsFunctionsScanner::getFunctions | ( | ) |
{Scan and returns the functions and the arguments.
Reimplemented from Gettext\Utils\FunctionsScanner.
Definition at line 23 of file JsFunctionsScanner.php.
References Gettext\Utils\JsFunctionsScanner\downStatus(), Gettext\Utils\JsFunctionsScanner\status(), and Gettext\Utils\JsFunctionsScanner\upStatus().
Here is the call graph for this function:
|
staticprotected |
Prepares the arguments found in functions.
| string | $argument |
Definition at line 208 of file JsFunctionsScanner.php.
|
protected |
Get the current context of the scan.
| null | string | $match | To check whether the current status is this value |
Definition at line 170 of file JsFunctionsScanner.php.
References Gettext\Utils\JsFunctionsScanner\$status, and Gettext\Utils\JsFunctionsScanner\status().
Referenced by Gettext\Utils\JsFunctionsScanner\downStatus(), Gettext\Utils\JsFunctionsScanner\getFunctions(), Gettext\Utils\JsFunctionsScanner\status(), and Gettext\Utils\JsFunctionsScanner\upStatus().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Removes and return the current status.
Definition at line 196 of file JsFunctionsScanner.php.
References Gettext\Utils\JsFunctionsScanner\status().
Referenced by Gettext\Utils\JsFunctionsScanner\getFunctions().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 7 of file JsFunctionsScanner.php.
Referenced by Gettext\Utils\JsFunctionsScanner\__construct().
|
protected |
Definition at line 8 of file JsFunctionsScanner.php.
Referenced by Gettext\Utils\JsFunctionsScanner\downStatus(), and Gettext\Utils\JsFunctionsScanner\status().