PHP 클래스 TitanFrameworkOptionSortable

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

공개 프로퍼티들

프로퍼티 타입 설명
$defaultSecondarySettings Default settings specific to this option

공개 메소드들

메소드 설명
__construct ( $settings, $owner ) Constructor
cleanValueForGetting ( string $value ) : string Cleans the raw value for getting
cleanValueForSaving ( string $value ) : string Cleans up the serialized value before saving
createSortableScript ( ) : void Creates the javascript needed for sortable to run
display ( ) : void Displays the option in admin panels and meta boxes
enqueueSortable ( ) : void Enqueues the jQuery UI scripts
registerCustomizerControl ( $wp_customize, TitanFrameworkCustomizerSection $section, integer $priority = 1 ) : void Registers the theme customizer control, for displaying the option

메소드 상세

__construct() 공개 메소드

Constructor
부터: 1.4
public __construct ( $settings, $owner )

cleanValueForGetting() 공개 메소드

Cleans the raw value for getting
부터: 1.4
public cleanValueForGetting ( string $value ) : string
$value string The raw value
리턴 string The cleaned value

cleanValueForSaving() 공개 메소드

Cleans up the serialized value before saving
부터: 1.4
public cleanValueForSaving ( string $value ) : string
$value string The serialized value
리턴 string The cleaned value

createSortableScript() 공개 정적인 메소드

Creates the javascript needed for sortable to run
부터: 1.4
public static createSortableScript ( ) : void
리턴 void

display() 공개 메소드

Displays the option in admin panels and meta boxes
부터: 1.4
public display ( ) : void
리턴 void

enqueueSortable() 공개 메소드

Enqueues the jQuery UI scripts
부터: 1.4
public enqueueSortable ( ) : void
리턴 void

registerCustomizerControl() 공개 메소드

Registers the theme customizer control, for displaying the option
부터: 1.4
public registerCustomizerControl ( $wp_customize, TitanFrameworkCustomizerSection $section, integer $priority = 1 ) : void
$section TitanFrameworkCustomizerSection The section where this option will be placed
$priority integer The order of this control in the section
리턴 void

프로퍼티 상세

$defaultSecondarySettings 공개적으로 프로퍼티

Default settings specific to this option
public $defaultSecondarySettings