PHP Class TitanFrameworkOptionRadioImage

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

Public Properties

Property Type Description
$defaultSecondarySettings

Public Methods

Method Description
__construct ( $settings, $owner )
cleanValueForGetting ( $value ) The value we should return is a key of one of the options
cleanValueForSaving ( $value ) Save the index of the selected option
display ( ) * Display for options and meta
registerCustomizerControl ( $wp_customize, $section, $priority = 1 ) * Display for theme customizer

Method Details

__construct() public method

public __construct ( $settings, $owner )

cleanValueForGetting() public method

The value we should return is a key of one of the options
public cleanValueForGetting ( $value )

cleanValueForSaving() public method

Save the index of the selected option
public cleanValueForSaving ( $value )

display() public method

* Display for options and meta
public display ( )

registerCustomizerControl() public method

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

Property Details

$defaultSecondarySettings public_oe property

public $defaultSecondarySettings