|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Class to get gettext strings from php files returning arrays. More...
Inheritance diagram for Gettext\Extractors\PhpCode:
Collaboration diagram for Gettext\Extractors\PhpCode:Static Public Member Functions | ||||||||||
| static | fromString ($string, Translations $translations=null, $file='') | |||||||||
{Parses a string and append the translations found in the Translations instance.
| ||||||||||
| static | convertString ($value) | |||||||||
| Decodes a T_CONSTANT_ENCAPSED_STRING string. More... | ||||||||||
Static Public Member Functions inherited from Gettext\Extractors\Extractor | ||||||||||
| static | fromFile ($file, Translations $translations=null) | |||||||||
| Extract the translations from a file. More... | ||||||||||
Static Public Member Functions inherited from Gettext\Extractors\ExtractorInterface | ||||||||||
| static | fromFile ($file, Translations $translations=null) | |||||||||
| Extract the translations from a file. More... | ||||||||||
| static | fromString ($string, Translations $translations=null, $file='') | |||||||||
| Parses a string and append the translations found in the Translations instance. More... | ||||||||||
Static Public Attributes | |
| static | $functions |
| static | $extractComments = false |
Static Private Member Functions | |
| static | unicodeChar ($dec) |
Additional Inherited Members | |
Static Protected Member Functions inherited from Gettext\Extractors\Extractor | |
| static | getFiles ($file) |
| Checks and returns all files. More... | |
| static | readFile ($file) |
| Reads and returns the content of a file. More... | |
Class to get gettext strings from php files returning arrays.
Definition at line 11 of file PhpCode.php.
|
static |
Decodes a T_CONSTANT_ENCAPSED_STRING string.
| string | $value |
Definition at line 72 of file PhpCode.php.
References Gettext\Extractors\PhpCode\unicodeChar().
Referenced by Gettext\Utils\PhpFunctionsScanner\getFunctions().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
{Parses a string and append the translations found in the Translations instance.
| string | $string | |
| Translations | null | $translations | |
| string | $file | The file path to insert the reference |
Implements Gettext\Extractors\ExtractorInterface.
Definition at line 50 of file PhpCode.php.
References $file, and Gettext\Extractors\PhpCode\$functions.
Referenced by Gettext\Extractors\Blade\fromString(), and Gettext\Extractors\Twig\fromString().
Here is the caller graph for this function:
|
staticprivate |
Definition at line 115 of file PhpCode.php.
Referenced by Gettext\Extractors\PhpCode\convertString().
Here is the caller graph for this function:
|
static |
Definition at line 45 of file PhpCode.php.
|
static |
Definition at line 13 of file PhpCode.php.
Referenced by Gettext\Extractors\PhpCode\fromString(), and Gettext\Extractors\Twig\fromString().