PHP Class Themosis\Page\Option

Datei anzeigen Open project: themosis/framework

Public Methods

Method Description
get ( string $optionGroup, $name = null ) : string | array Utility method to retrieve an option saved using the Page class.

Method Details

get() public static method

Give the 'option_group' name and the option 'name' defined by the developer.
public static get ( string $optionGroup, $name = null ) : string | array
$optionGroup string The section name.
$name $name The option name.
return string | array The option value as string or array of values