PHP Class TitanFrameworkOptionGroup

Inheritance: extends TitanFrameworkOption
Exibir arquivo Open project: gambitph/titan-framework

Public Properties

Property Type Description
$defaultSecondarySettings array The defaults of the settings specific to this option.
$options array Holds the options of this group.

Public Methods

Method Description
__construct ( array $settings, TitanFrameworkAdminPage $owner ) Override the constructor to include the creation of the options within the group.
display ( ) Display for options and meta
init_group_options ( ) : void Creates the options contained in the group. Mimics how Admin pages create options.

Method Details

__construct() public method

Override the constructor to include the creation of the options within the group.
public __construct ( array $settings, TitanFrameworkAdminPage $owner )
$settings array The settings of the option.
$owner TitanFrameworkAdminPage The owner of the option.

display() public method

Display for options and meta
public display ( )

init_group_options() public method

Creates the options contained in the group. Mimics how Admin pages create options.
public init_group_options ( ) : void
return void

Property Details

$defaultSecondarySettings public_oe property

The defaults of the settings specific to this option.
public array $defaultSecondarySettings
return array

$options public_oe property

Holds the options of this group.
public array $options
return array