PHP Class TitanFrameworkOption

Afficher le fichier Open project: gambitph/titan-framework Class Usage Examples

Méthodes publiques

Свойство Type Description
$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

Méthodes publiques

Méthode Description
__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 )

Méthodes protégées

Méthode Description
echoOptionFooter ( $showDesc = true )
echoOptionFooterBare ( $showDesc = true )
echoOptionHeader ( $showDesc = false )
echoOptionHeaderBare ( )
getFramework ( ) : TitanFramework Gets the framework instance currently used

Method Details

__call() public méthode

public __call ( $name, $args )

__construct() public méthode

public __construct ( $settings, $owner )

cleanValueForGetting() public méthode

* overridden
public cleanValueForGetting ( $value )

cleanValueForSaving() public méthode

* overridden
public cleanValueForSaving ( $value )

display() public méthode

* overridden
public display ( )

echoOptionFooter() protected méthode

protected echoOptionFooter ( $showDesc = true )

echoOptionFooterBare() protected méthode

protected echoOptionFooterBare ( $showDesc = true )

echoOptionHeader() protected méthode

protected echoOptionHeader ( $showDesc = false )

echoOptionHeaderBare() protected méthode

protected echoOptionHeaderBare ( )

factory() public static méthode

public static factory ( $settings, $owner )

getFramework() protected méthode

Gets the framework instance currently used
Since: 1.3
protected getFramework ( ) : TitanFramework
Résultat TitanFramework

getID() public méthode

public getID ( )

getOptionNamespace() public méthode

Gets the option namespace used in the framework instance currently used
Since: 1.0
public getOptionNamespace ( ) : string
Résultat string The option namespace

getValue() public méthode

public getValue ( $postID = null )

registerCustomizerControl() public méthode

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

setValue() public méthode

public setValue ( $value, $postID = null )

Property Details

$defaultSecondarySettings public_oe property

Default settings specific for this option. This is overridden by each option class
public array $defaultSecondarySettings
Résultat array

$echo_wrapper public_oe property

public $echo_wrapper

$owner public_oe property

One of the TYPE_* constants above
public $owner

$settings public_oe property

public $settings

$type public_oe property

public $type