class language_file_helper

Helper class for language file related functions

Properties

protected string $phpbb_root_path

Methods

__construct(string $phpbb_root_path)

Constructor

array
get_available_languages()

Returns available languages

array
get_language_data_from_composer_file(string $path)

Collect some data from the composer.json file

array
get_language_data_from_json(array $data)

Collect some data from the composer.json data

Details

at line 36
__construct(string $phpbb_root_path)

Constructor

Parameters

string $phpbb_root_path

Path to phpBB's root

at line 49
array get_available_languages()

Returns available languages

Return Value

array

Exceptions

DomainException

at line 79
array get_language_data_from_composer_file(string $path)

Collect some data from the composer.json file

Parameters

string $path

Return Value

array

Exceptions

DomainException

at line 93
protected array get_language_data_from_json(array $data)

Collect some data from the composer.json data

Parameters

array $data

Return Value

array

Exceptions

DomainException