Свойство | Type | Description | |
---|---|---|---|
$instance | - Static property to hold our singleton instance |
Свойство | Type | Description | |
---|---|---|---|
$supported_languages | ISO-639-3 |
Méthode | Description | |
---|---|---|
getInstance ( ) : |
Function to instantiate our class and make it a singleton | |
lang_shortcode ( $atts, null $content = null ) : string |
Méthode | Description | |
---|---|---|
__construct ( ) | Setup the [pb_language] shortcode, which is private to force the use of getInstance() | |
greek ( $text, string $lang = 'grc' ) : string | ||
hebrew ( $text ) : string |
public static getInstance ( ) : |
||
Résultat |
public lang_shortcode ( $atts, null $content = null ) : string | ||
$atts | ||
$content | null | |
Résultat | string |
static public $instance |