TwistPHP Documentation

getLanguages

File path: dist/twist/Core/Utilities/Localisation.utility.php
Namespace: Twist\Core\Utilities
Extends: Base

getLanguagesGet multi-dimensional array of all languages. Optionally include the localised/native language name.

Parameters

Name Type Description
[$blIncludeLocalisation = false]booleann/a

Return Values

void — No return information has been documented for this function.

Example

<?php
//Set the variables for the example
$blIncludeLocalisation false;

//Call the function getLanguages with the example vars
Twist::Localisation() -> getLanguages($blIncludeLocalisation);