Class containing tha custom lang importer.
More...
|
|
int const | IMPORTALL = 3 |
| | imports all strings
|
| |
|
int const | IMPORTNEW = 1 |
| | imports will only create new customizations
|
| |
|
int const | IMPORTUPDATE = 2 |
| | imports will only update the current customizations
|
| |
|
|
int | $importmode |
| | the importation mode (new, update, all)
|
| |
|
string | $lng |
| | the language name
|
| |
Class containing tha custom lang importer.
- Copyright
- 2020 Ferran Recio ferra.nosp@m.n@mo.nosp@m.odle..nosp@m.com
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ __construct()
| tool_customlang\local\importer::__construct |
( |
string |
$lng, |
|
|
int |
$importmode = self::IMPORTALL |
|
) |
| |
Constructor for the importer class.
- Parameters
-
| string | $lng | the current language to import. |
| int | $importmode | the import method (IMPORTALL, IMPORTNEW, IMPORTUPDATE). |
◆ get_log()
| tool_customlang\local\importer::get_log |
( |
| ) |
|
Returns the last parse log.
- Return values
-
| logstatus[] | mlang logstatus with the messages |
◆ import()
| tool_customlang\local\importer::import |
( |
array |
$files | ) |
|
Import customlang files.
- Parameters
-
The documentation for this class was generated from the following file:
- admin/tool/customlang/classes/local/importer.php