TwistPHP Documentation

getLanguage

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

getLanguageGet a single-dimensional array of language information related to the provided 2 Character ISO language code.

Parameters

Name Type Description
$strLanguageISOstringn/a

Return Values

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

Example

<?php
//Set the variables for the example
$strLanguageISO 'foo';

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