PHP Interface Inpsyde\MultilingualPress\Common\Type\Language

Since: 3.0.0
Afficher le fichier Open project: inpsyde/multilingual-press Interface Usage Examples

Méthodes publiques

Méthode Description
is_rtl ( ) : boolean Checks if the language is written right-to-left (RTL).
name ( string $output = 'native' ) : string Returns the language name (or code) according to the given argument.
priority ( ) : integer Returns the language priority.

Method Details

is_rtl() public méthode

Checks if the language is written right-to-left (RTL).
Since: 3.0.0
public is_rtl ( ) : boolean
Résultat boolean Whether or not the language is written right-to-left (RTL).

name() public méthode

Returns the language name (or code) according to the given argument.
Since: 3.0.0
public name ( string $output = 'native' ) : string
$output string Optional. Output type. Defaults to 'native'.
Résultat string Language name (or code) according to the given argument.

priority() public méthode

Returns the language priority.
Since: 3.0.0
public priority ( ) : integer
Résultat integer Language priority.