프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$instance | - Static property to hold our singleton instance |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$supported_languages | ISO-639-3 |
메소드 | 설명 | |
---|---|---|
getInstance ( ) : |
Function to instantiate our class and make it a singleton | |
lang_shortcode ( $atts, null $content = null ) : string |
메소드 | 설명 | |
---|---|---|
__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 ( ) : |
||
리턴 |
public lang_shortcode ( $atts, null $content = null ) : string | ||
$atts | ||
$content | null | |
리턴 | string |