LEPTON CMS 7.3.0
feel free to keep it strictly simple...
|
Static Public Member Functions | |
static | getInstance () |
static | get_dateformats () |
static | get_timeformats () |
static | get_days (string $lang="en_EN", bool $abbr=false) |
static | get_months (string $lang="en_EN", bool $abbr=false) |
static | get_timezones () |
static | get_errorlevels () |
static | get_backend_translation (string $sKey="") |
static | getLanguagePath (string $sRootDir="") |
Data Fields | |
const | SYSTEM_DEFAULT_STR = 'System Default' |
Static Public Attributes | |
static | $instance |
This file is part of LEPTON Core, released under the GNU GPL Please see LICENSE and COPYING files in your package for details, specially for terms and warranties.
NOTICE:LEPTON CMS Package has several different licenses. Please see the individual license in the header of each single file or info.php of modules and templates.
Definition at line 24 of file lepton_basics.php.
|
static |
Backend-Theme specific language values
string | $sKey | Any valid key-string. Default is "". |
@notice You can use the method to "preload" the theme-language file passing NULL to load them where you need them!
Backend-Theme can also have additional language-files
Definition at line 289 of file lepton_basics.php.
|
static |
Get the date formats.
Exception |
Definition at line 59 of file lepton_basics.php.
|
static |
Get an index array of days, started with 1!
string | $lang | A Language key. None given, "en_EN" is used per default. See: ~/modules/lib_lepton/datetools/constants.php for details. |
bool | $abbr | True use the 'shortnames'. Default is false: full name. |
return [ 1 => "monday", 2 => "tuesday", 3 => "wednesday", 4 => "thursday", 5 => "friday", 6 => "saturday", 7 => "sunday" ];
Definition at line 156 of file lepton_basics.php.
|
static |
Get the error-levels.
Definition at line 256 of file lepton_basics.php.
|
static |
Get months.
string | $lang | A Language key. None given, "en_EN" is used per default. See: ~/modules/lib_lepton/datetools/constants.php for details. |
bool | $abbr | True use the 'shortnames'. Default is false: full name. |
return [ 1 => "january", 2 => "february", 3 => "march", 4 => "april", 5 => "may", 6 => "june", 7 => "july", 8 => "august", 9 => "september", 10 => "october", 11 => "november", 12 => "december"
];
Definition at line 185 of file lepton_basics.php.
|
static |
Get the time formats.
Definition at line 118 of file lepton_basics.php.
|
static |
Get the time zones.
Definition at line 214 of file lepton_basics.php.
|
static |
Return the internal instance.
Definition at line 41 of file lepton_basics.php.
|
static |
Returns the path to the language file inside a given directory; mostly the current module.
string | $sRootDir | A path to the "look-up" dir |
Definition at line 337 of file lepton_basics.php.
|
static |
Holds the 'singleton' instance of this class.
@type object
Definition at line 33 of file lepton_basics.php.
const SYSTEM_DEFAULT_STR = 'System Default' |
Definition at line 26 of file lepton_basics.php.