Text Manager

Class \Lib\TextManager

Methods

getInstance

<?php public static function getInstance($lang = null)

Description
Create a single instance of the TextManager class.

translate

<?php public static function translate($key = '', $lang = '')

Description
Get traduction for specified key and in the specified language.