PHP Class Themosis\Page\Option

Afficher le fichier Open project: themosis/framework

Méthodes publiques

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

Method Details

get() public static méthode

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.
Résultat string | array The option value as string or array of values