PhpBotFramework  2.0.2
A framework for Telegram Bots' APIs.
Public Member Functions | Public Attributes | Protected Attributes | List of all members
PhpBotFramework\Localization\LocalizedString Class Reference

Get a localized string using user language and localization files. More...

Inheritance diagram for PhpBotFramework\Localization\LocalizedString:
PhpBotFramework\Localization\Localization

Public Member Functions

 getLanguageRedis (string $default_language='en', int $expiring_time=86400)
 
 loadCurrentLocalization (string $dir='')
 
string getStr ($index)
 Get a localized string giving an index. More...
 

Public Attributes

 $language
 

Protected Attributes

 $bot
 
 $local
 

Detailed Description

Get a localized string using user language and localization files.


The documentation for this class was generated from the following file: