Multiple languages plugin class
| access | public |
|---|---|
| package | kocuj_sitemap |
doSomething(string $type, string $locale, integer $itemId= 0, string $additional= '') : void
| access | public |
|---|
stringType of something to do
stringLanguage locale
integerItem identifier - default: empty
stringAdditional string - default: empty
getInstance() : object
| access | public |
|---|
objectSingleton instancegetItem(string $type, string $locale, string $origText= '', integer $itemId= 0, string $additional= '') : void
| access | public |
|---|
stringType of something to do
stringLanguage locale
stringOriginal text - default: empty
integerItem identifier - default: empty
stringAdditional string - default: empty
getLanguageFlag(string $locale) : string
| access | public |
|---|
stringLanguage locale
stringPath to language flaggetLanguages(string $forceMultilangOptionValue = '') : array
| access | public |
|---|
stringForce 'Multilang' option value if string is not empty - default: empty
arrayLanguages listgetSelectedPluginName() : string
| access | public |
|---|
stringSelected translation plugin name or empty string if no plugin has been selected__clone() : void
| access | private |
|---|
__construct() : void
| access | private |
|---|
getSelectedClass(string $forceMultilangOptionValue = '') : string
| access | private |
|---|
stringForce 'Multilang' option value if string is not empty - default: empty
stringSelected class nameprocessCallback(string $callback, array $parameters = array()) : \KocujSitemapPlugin\Classes\any
| access | private |
|---|
stringCallback function
arrayCallback parameters
\KocujSitemapPlugin\Classes\anyReturned callback data$instance : object
NULL| access | private |
|---|
$isSelectedClass : boolean
false| access | private |
|---|
$languagesCache : array
array()| access | private |
|---|
$selectedClass : string
''| access | private |
|---|