Module "language"
Description
Available methods
- array get_all
- array get_by_id
- array get_by_name_short
Details
array get_all
Get all information associated with all languages. The array
that is returned contains the same information as the single
language call.
Returns
- array $countries Array containing all the information of all the languages
array get_by_id
Get all information associated with a language by supplying its
ID
Parameters
- int $id The ID of the language to fetch information for
Returns
- array $country Array containing all the information of the requested language
array get_by_name_short
Get all the information associated to a language by its short
name. The short name is something like 'en', 'nl' or 'fr'.
Parameters
- string $name_short The short name of the language to fetch information for
Returns
- array $country Array containing all the information of the requested language