Multiple languages plugin class
access | public |
---|---|
package | kocuj_sitemap |
doSomething(string $type, string $locale, integer $itemId= 0
, string $additional= ''
) : void
access | public |
---|
string
Type of something to do
string
Language locale
integer
Item identifier - default: empty
string
Additional string - default: empty
getInstance() : object
access | public |
---|
object
Singleton instancegetItem(string $type, string $locale, string $origText= ''
, integer $itemId= 0
, string $additional= ''
) : void
access | public |
---|
string
Type of something to do
string
Language locale
string
Original text - default: empty
integer
Item identifier - default: empty
string
Additional string - default: empty
getLanguageFlag(string $locale) : string
access | public |
---|
string
Language locale
string
Path to language flaggetLanguages(string $forceMultilangOptionValue = ''
) : array
access | public |
---|
string
Force 'Multilang' option value if string is not empty - default: empty
array
Languages listgetSelectedPluginName() : string
access | public |
---|
string
Selected 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 |
---|
string
Force 'Multilang' option value if string is not empty - default: empty
string
Selected class nameprocessCallback(string $callback, array $parameters = array()
) : \KocujSitemapPlugin\Classes\any
access | private |
---|
string
Callback function
array
Callback parameters
\KocujSitemapPlugin\Classes\any
Returned callback data$instance : object
NULL
access | private |
---|
$isSelectedClass : boolean
false
access | private |
---|
$languagesCache : array
array()
access | private |
---|
$selectedClass : string
''
access | private |
---|