PHP Class TitanFrameworkOptionMulticheck

Inheritance: extends TitanFrameworkOption
显示文件 Open project: gambitph/titan-framework Class Usage Examples

Public Properties

Property Type Description
$defaultSecondarySettings

Public Methods

Method Description
__construct ( array $settings, string $owner ) Constructor
cleanValueForGetting ( $value )
cleanValueForSaving ( $value )
display ( ) * Display for options and meta
load_select_scripts ( ) : void Load the multicheck-selectall script
registerCustomizerControl ( $wp_customize, $section, $priority = 1 ) * Display for theme customizer

Method Details

__construct() public method

Constructor
Since: 1.11
public __construct ( array $settings, string $owner )
$settings array Option settings
$owner string Namespace

cleanValueForGetting() public method

public cleanValueForGetting ( $value )

cleanValueForSaving() public method

public cleanValueForSaving ( $value )

display() public method

* Display for options and meta
public display ( )

load_select_scripts() public method

Load the multicheck-selectall script
Since: 1.11
public load_select_scripts ( ) : void
return void

registerCustomizerControl() public method

* Display for theme customizer
public registerCustomizerControl ( $wp_customize, $section, $priority = 1 )

Property Details

$defaultSecondarySettings public_oe property

public $defaultSecondarySettings