PHP Class TitanFrameworkOptionColor

Inheritance: extends TitanFrameworkOption
Afficher le fichier Open project: gambitph/titan-framework Class Usage Examples

Méthodes publiques

Свойство Type Description
$defaultSecondarySettings array Default settings

Méthodes publiques

Méthode Description
__construct ( $settings, $owner )
display ( ) : void Display for options and meta
enqueueColorPickerScript ( ) : void Enqueue the colorpicker scripts
registerCustomizerControl ( WP_Customize $wp_customize, TitanFrameworkCustomizer $section, integer $priority = 1 ) : void Display for theme customizer
startColorPicker ( ) : void Load the javascript to init the colorpicker

Method Details

__construct() public méthode

public __construct ( $settings, $owner )

display() public méthode

Display for options and meta
Since: 1.0
public display ( ) : void
Résultat void

enqueueColorPickerScript() public méthode

Enqueue the colorpicker scripts
Since: 1.9
public enqueueColorPickerScript ( ) : void
Résultat void

registerCustomizerControl() public méthode

Display for theme customizer
Since: 1.0
public registerCustomizerControl ( WP_Customize $wp_customize, TitanFrameworkCustomizer $section, integer $priority = 1 ) : void
$wp_customize WP_Customize
$section TitanFrameworkCustomizer
$priority integer The location/priority of this option inside the section.
Résultat void

startColorPicker() public méthode

Load the javascript to init the colorpicker
Since: 1.9
public startColorPicker ( ) : void
Résultat void

Property Details

$defaultSecondarySettings public_oe property

Default settings
public array $defaultSecondarySettings
Résultat array