PHP 클래스 TitanFrameworkOption

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

공개 프로퍼티들

프로퍼티 타입 설명
$defaultSecondarySettings array Default settings specific for this option. This is overridden by each option class
$echo_wrapper
$owner One of the TYPE_* constants above
$settings
$type

공개 메소드들

메소드 설명
__call ( $name, $args )
__construct ( $settings, $owner )
cleanValueForGetting ( $value ) * overridden
cleanValueForSaving ( $value ) * overridden
display ( ) * overridden
factory ( $settings, $owner )
getID ( )
getOptionNamespace ( ) : string Gets the option namespace used in the framework instance currently used
getValue ( $postID = null )
registerCustomizerControl ( $wp_customize, $section, $priority = 1 ) * overridden
setValue ( $value, $postID = null )

보호된 메소드들

메소드 설명
echoOptionFooter ( $showDesc = true )
echoOptionFooterBare ( $showDesc = true )
echoOptionHeader ( $showDesc = false )
echoOptionHeaderBare ( )
getFramework ( ) : TitanFramework Gets the framework instance currently used

메소드 상세

__call() 공개 메소드

public __call ( $name, $args )

__construct() 공개 메소드

public __construct ( $settings, $owner )

cleanValueForGetting() 공개 메소드

* overridden
public cleanValueForGetting ( $value )

cleanValueForSaving() 공개 메소드

* overridden
public cleanValueForSaving ( $value )

display() 공개 메소드

* overridden
public display ( )

echoOptionFooter() 보호된 메소드

protected echoOptionFooter ( $showDesc = true )

echoOptionFooterBare() 보호된 메소드

protected echoOptionFooterBare ( $showDesc = true )

echoOptionHeader() 보호된 메소드

protected echoOptionHeader ( $showDesc = false )

echoOptionHeaderBare() 보호된 메소드

protected echoOptionHeaderBare ( )

factory() 공개 정적인 메소드

public static factory ( $settings, $owner )

getFramework() 보호된 메소드

Gets the framework instance currently used
부터: 1.3
protected getFramework ( ) : TitanFramework
리턴 TitanFramework

getID() 공개 메소드

public getID ( )

getOptionNamespace() 공개 메소드

Gets the option namespace used in the framework instance currently used
부터: 1.0
public getOptionNamespace ( ) : string
리턴 string The option namespace

getValue() 공개 메소드

public getValue ( $postID = null )

registerCustomizerControl() 공개 메소드

* overridden
public registerCustomizerControl ( $wp_customize, $section, $priority = 1 )

setValue() 공개 메소드

public setValue ( $value, $postID = null )

프로퍼티 상세

$defaultSecondarySettings 공개적으로 프로퍼티

Default settings specific for this option. This is overridden by each option class
public array $defaultSecondarySettings
리턴 array

$echo_wrapper 공개적으로 프로퍼티

public $echo_wrapper

$owner 공개적으로 프로퍼티

One of the TYPE_* constants above
public $owner

$settings 공개적으로 프로퍼티

public $settings

$type 공개적으로 프로퍼티

public $type