Class CMLLanguage
This class provide information about configured languages
Api:
The structure of language object is:
Located at api.php
stdClass Object (
- [id] => id of language
- [cml_default] => ( boolean ) - is it default?
- [cml_flag] => name of flag
- [cml_language] => name of language
- [cml_language_slug] => language slug
- [cml_locale] => wordpress locale
- [cml_enabled] => enabled?
- [cml_sort_id] => language order
- [cml_custom_flag] => (boolean) - use custom flag?
- [cml_rtl] => 0
- [cml_date_format] => j M Y
Located at api.php
public static
stdObject
|
|
public static
integer
|
|
public static
|
|
public static
stdObject
|
|
public static
stdObject
|
|
public static
stdObject
|
|
public static
|
|
public static
Array
|
|
public static
stdobject
|
|
public static
integer
|
|
public static
|
|
public static
string
|
|
public static
string
|
|
public static
stdObject
|
|
public static
stdObject
|
|
public static
integer
|
|
public static
integer
|
|
public static
string
|
|
public static
string:
|
#
get_flag_src( int/string $lang = null, string $size = CML_FLAG_TINY )
return flag filename with the full path. |
public static
string
|
|
public static
stdObject
|
|
public static
integer
|
|
public static
boolean
|
|
public static
boolean
|
string |
FLAG_TINY
|
"tiny" |
#
Tiny ~= 16x11 |
string |
FLAG_SMALL
|
"small" |
#
Small ~= 32x21 |