package GlotPress

 Methods

__construct()

__construct($args = array()

Parameters

$args

Make deprecated properties readable for backwards compatibility.

__get(string $name) : mixed

Parameters

$name

string

Property to get.

Returns

mixedProperty.

Make deprecated properties checkable for backwards compatibility.

__isset(string $name) : boolean

Parameters

$name

string

Property to check if set.

Returns

booleanWhether the property is set.

__set_state()

__set_state($state) 
Static

Parameters

$state

combined_name()

combined_name() 

index_for_number()

index_for_number($number) 

Parameters

$number

numbers_for_index()

numbers_for_index($index, $how_many = 3, $test_up_to = 1000

Parameters

$index

$how_many

$test_up_to

 Properties

 

$country_code

$country_code 

Default

 

$english_name

$english_name 

Default

 

$facebook_locale

$facebook_locale 

Default

null
 

$google_code

$google_code 

Default

null
 

$lang_code_iso_639_1

$lang_code_iso_639_1 

Default

null
 

$lang_code_iso_639_2

$lang_code_iso_639_2 

Default

null
 

$lang_code_iso_639_3

$lang_code_iso_639_3 

Default

null
 

$native_name

$native_name 

Default

 

$nplurals

$nplurals 

Default

2
 

$plural_expression

$plural_expression 

Default

'n != 1'
 

$preferred_sans_serif_font_family

$preferred_sans_serif_font_family 

Default

null
 

$slug

$slug 

Default

 

$text_direction

$text_direction 

Default

'ltr'
 

$wp_locale

$wp_locale 

Default

 

$_index_for_number

$_index_for_number 

Default