PHP 클래스 TitanFrameworkOptionFile

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

공개 프로퍼티들

프로퍼티 타입 설명
$defaultSecondarySettings

공개 메소드들

메소드 설명
__construct ( $settings, $owner ) : void Constructor.
createUploaderScript ( )
display ( ) * Display for options and meta.
generateCSS ( String $css, TitanFrameworkOption $option ) : String Generates CSS for the font, this is used in TitanFrameworkCSS.
postLivePreview ( $optionID, $optionType, $option ) Closes the Javascript code created in preLivePreview().
preLivePreview ( $optionID, $optionType, $option ) The upload option gives out an attachment ID. Live previews will not work since we cannot get.
registerCustomizerControl ( $wp_customize, $section, $priority = 1 ) * Display for theme customizer.

메소드 상세

__construct() 공개 메소드

Constructor.
부터: 1.5
public __construct ( $settings, $owner ) : void
리턴 void

createUploaderScript() 공개 정적인 메소드

public static createUploaderScript ( )

display() 공개 메소드

* Display for options and meta.
public display ( )

generateCSS() 공개 메소드

Generates CSS for the font, this is used in TitanFrameworkCSS.
부터: 1.5
public generateCSS ( String $css, TitanFrameworkOption $option ) : String
$css String The CSS generated.
$option TitanFrameworkOption The current option being processed.
리턴 String The CSS generated.

postLivePreview() 공개 메소드

Closes the Javascript code created in preLivePreview().
또한 보기: preLivePreview()
부터: 1.9
public postLivePreview ( $optionID, $optionType, $option )

preLivePreview() 공개 메소드

the upload URL from an ID easily. Use a specially created Ajax Handler for just getting the URL.
또한 보기: tf_file_upload_option_customizer_get_value()
부터: 1.9
public preLivePreview ( $optionID, $optionType, $option )

registerCustomizerControl() 공개 메소드

* Display for theme customizer.
public registerCustomizerControl ( $wp_customize, $section, $priority = 1 )

프로퍼티 상세

$defaultSecondarySettings 공개적으로 프로퍼티

public $defaultSecondarySettings