ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Public Member Functions | |
__construct ($code) | |
Constructor. More... | |
getFunctions () | |
{} More... | |
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().
Gettext\Utils\JsFunctionsScanner::getFunctions | ( | ) |
{}
Definition at line 23 of file JsFunctionsScanner.php.
References array, Gettext\Utils\JsFunctionsScanner\downStatus(), Gettext\Utils\JsFunctionsScanner\status(), and Gettext\Utils\JsFunctionsScanner\upStatus().
|
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.
Referenced by Gettext\Utils\JsFunctionsScanner\downStatus(), Gettext\Utils\JsFunctionsScanner\getFunctions(), and Gettext\Utils\JsFunctionsScanner\upStatus().
|
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().
|
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().