Options class

access public
package kocuj_sitemap

 Methods

Get singleton instance

getInstance() : object
Static
access public

Returns

objectSingleton instance

Get option value

getOption(string $optionId) : string
access public

Parameters

$optionId

string

Option identifier

Returns

stringOption value

Get sitemap type languages options names

getSitemapTypeLanguagesOptionsNames(string $type) : array
access public

Parameters

$type

string

Sitemap type

Returns

arraySitemap type languages options names

Disable cloning of object

__clone() : void
access private

Constructor

__construct() : void
access private

 Properties

 

Singleton instance

$instance : object

Default

NULL
Static
access private