PHP Класс TitanFrameworkOptionColor

Наследование: extends TitanFrameworkOption
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$defaultSecondarySettings array Default settings

Открытые методы

Метод Описание
__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

Описание методов

__construct() публичный Метод

public __construct ( $settings, $owner )

display() публичный Метод

Display for options and meta
С версии: 1.0
public display ( ) : void
Результат void

enqueueColorPickerScript() публичный Метод

Enqueue the colorpicker scripts
С версии: 1.9
public enqueueColorPickerScript ( ) : void
Результат void

registerCustomizerControl() публичный Метод

Display for theme customizer
С версии: 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.
Результат void

startColorPicker() публичный Метод

Load the javascript to init the colorpicker
С версии: 1.9
public startColorPicker ( ) : void
Результат void

Описание свойств

$defaultSecondarySettings публичное свойство

Default settings
public array $defaultSecondarySettings
Результат array