Documentation

Languages
in package

Class Languages.

Table of Contents

$lastErrorMessage  : string
download()  : bool
Download language.
exists()  : bool
Check if language exists.
getAll()  : array<string|int, string>
Get all languages for the current version.
getLastErrorMessage()  : string|null
Get last error message.
getToInstall()  : bool
Get updates to install.

Properties

$lastErrorMessage

private static string $lastErrorMessage

Methods

download()

Download language.

public static download(string $prefix) : bool
Parameters
$prefix : string
Return values
bool

true if success

exists()

Check if language exists.

public static exists(string $prefix) : bool
Parameters
$prefix : string
Return values
bool

getAll()

Get all languages for the current version.

public static getAll() : array<string|int, string>
Return values
array<string|int, string>

getLastErrorMessage()

Get last error message.

public static getLastErrorMessage() : string|null
Return values
string|null

getToInstall()

Get updates to install.

public static getToInstall() : bool
Return values
bool

        

Search results