|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Inheritance diagram for Gettext\Utils\PhpFunctionsScanner:
Collaboration diagram for Gettext\Utils\PhpFunctionsScanner:Public Member Functions | |
| enableCommentsExtraction ($tag='') | |
| Enable extracting comments that start with a tag (if $tag is empty all the comments will be extracted). More... | |
| disableCommentsExtraction () | |
| Disable comments extraction. More... | |
| __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 | |
| parsePhpComment ($value) | |
Protected Attributes | |
| $tokens | |
| $extractComments = false | |
Definition at line 7 of file PhpFunctionsScanner.php.
| Gettext\Utils\PhpFunctionsScanner::__construct | ( | $code | ) |
Constructor.
| string | $code | The php code to scan |
Definition at line 46 of file PhpFunctionsScanner.php.
References $code, and PHPMailer\PHPMailer\$token.
| Gettext\Utils\PhpFunctionsScanner::disableCommentsExtraction | ( | ) |
Disable comments extraction.
Definition at line 36 of file PhpFunctionsScanner.php.
| Gettext\Utils\PhpFunctionsScanner::enableCommentsExtraction | ( | $tag = '' | ) |
Enable extracting comments that start with a tag (if $tag is empty all the comments will be extracted).
| string | $tag |
Definition at line 28 of file PhpFunctionsScanner.php.
References $tag.
| Gettext\Utils\PhpFunctionsScanner::getFunctions | ( | ) |
{Scan and returns the functions and the arguments.
Reimplemented from Gettext\Utils\FunctionsScanner.
Definition at line 61 of file PhpFunctionsScanner.php.
References $comment, Gettext\Extractors\PhpCode\convertString(), and Gettext\Utils\PhpFunctionsScanner\parsePhpComment().
Here is the call graph for this function:
|
protected |
Definition at line 141 of file PhpFunctionsScanner.php.
References $result.
Referenced by Gettext\Utils\PhpFunctionsScanner\getFunctions().
Here is the caller graph for this function:
|
protected |
Definition at line 21 of file PhpFunctionsScanner.php.
|
protected |
Definition at line 14 of file PhpFunctionsScanner.php.