ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
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 () | |
{} 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 | |
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.
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.
Gettext\Utils\PhpFunctionsScanner::getFunctions | ( | ) |
{}
Definition at line 61 of file PhpFunctionsScanner.php.
References $comment, array, Gettext\Extractors\PhpCode\convertString(), and Gettext\Utils\PhpFunctionsScanner\parsePhpComment().
|
protected |
Definition at line 141 of file PhpFunctionsScanner.php.
References $result.
Referenced by Gettext\Utils\PhpFunctionsScanner\getFunctions().
|
protected |
Definition at line 21 of file PhpFunctionsScanner.php.
|
protected |
Definition at line 14 of file PhpFunctionsScanner.php.