PHP 클래스 TitanFrameworkOptionColor

상속: extends TitanFrameworkOption
파일 보기 프로젝트 열기: gambitph/titan-framework 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$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