Exemple #1
0
 /**
  * Used to get or set the language (two-letter lowercase ISO code)
  * of the output page. Defaults to "en". It is used in htmlAttributes method.
  * @method language
  * @static
  * @param {string} [$newLanguage] Set a new code here to change the language
  * @return {string}
  */
 static function language($newLanguage = null)
 {
     if (isset($newLanguage)) {
         self::$language = $newLanguage;
     }
     return self::$language;
 }