PHP Class GP_Locale, GlotPress-WP

显示文件 Open project: GlotPress/GlotPress-WP

Public Properties

Property Type Description
$country_code
$english_name
$facebook_locale
$google_code
$lang_code_iso_639_1
$lang_code_iso_639_2
$lang_code_iso_639_3
$native_name
$nplurals
$plural_expression
$preferred_sans_serif_font_family
$slug
$text_direction
$wp_locale

Public Methods

Method Description
__construct ( $args = [] )
__get ( string $name ) : mixed Make deprecated properties readable for backwards compatibility.
__isset ( string $name ) : boolean Make deprecated properties checkable for backwards compatibility.
__set_state ( $state )
combined_name ( )
index_for_number ( $number )
numbers_for_index ( $index, $how_many = 3, $test_up_to = 1000 )

Method Details

__construct() public method

public __construct ( $args = [] )

__get() public method

Make deprecated properties readable for backwards compatibility.
public __get ( string $name ) : mixed
$name string Property to get.
return mixed Property.

__isset() public method

Make deprecated properties checkable for backwards compatibility.
public __isset ( string $name ) : boolean
$name string Property to check if set.
return boolean Whether the property is set.

__set_state() public static method

public static __set_state ( $state )

combined_name() public method

public combined_name ( )

index_for_number() public method

public index_for_number ( $number )

numbers_for_index() public method

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

Property Details

$country_code public_oe property

public $country_code

$english_name public_oe property

public $english_name

$facebook_locale public_oe property

public $facebook_locale

$google_code public_oe property

public $google_code

$lang_code_iso_639_1 public_oe property

public $lang_code_iso_639_1

$lang_code_iso_639_2 public_oe property

public $lang_code_iso_639_2

$lang_code_iso_639_3 public_oe property

public $lang_code_iso_639_3

$native_name public_oe property

public $native_name

$nplurals public_oe property

public $nplurals

$plural_expression public_oe property

public $plural_expression

$preferred_sans_serif_font_family public_oe property

public $preferred_sans_serif_font_family

$slug public_oe property

public $slug

$text_direction public_oe property

public $text_direction

$wp_locale public_oe property

public $wp_locale