PHP Class Kirki_Styles_Output_CSS, kirki

Afficher le fichier Open project: aristath/kirki Class Usage Examples

Méthodes publiques

Свойство Type Description
$backup_fonts array Standard Fonts
$callback null | string | array Callback.
$css string CSS
$field_type string Field Type.
$google_fonts array Google Fonts
$instance null | object The instance of this class (singleton pattern).
$option_name null | string Option Name.
$output array Output.
$settings null | string | array Settings.
$value mixed Value

Méthodes publiques

Méthode Description
add_prefixes ( array $css ) : array Add prefixes if necessary.
css ( array $field ) : array Get the CSS for a field.
get_instance ( ) : object Get a single instance of this class
styles_parse ( array $css = [] ) : string Gets the array of generated styles and creates the minimized, inline CSS.

Private Methods

Méthode Description
__construct ( ) The class constructor.

Method Details

add_prefixes() public static méthode

Add prefixes if necessary.
public static add_prefixes ( array $css ) : array
$css array The CSS definitions array.
Résultat array

css() public static méthode

Get the CSS for a field.
public static css ( array $field ) : array
$field array The field.
Résultat array

get_instance() public static méthode

Get a single instance of this class
public static get_instance ( ) : object
Résultat object

styles_parse() public static méthode

Gets the array of generated styles and creates the minimized, inline CSS.
public static styles_parse ( array $css = [] ) : string
$css array The CSS definitions array.
Résultat string The generated CSS.

Property Details

$backup_fonts public_oe static_oe property

Standard Fonts
public static array $backup_fonts
Résultat array

$callback public_oe static_oe property

Callback.
public static null|string|array $callback
Résultat null | string | array

$css public_oe static_oe property

CSS
public static string $css
Résultat string

$field_type public_oe static_oe property

Field Type.
public static string $field_type
Résultat string

$google_fonts public_oe static_oe property

Google Fonts
public static array $google_fonts
Résultat array

$instance public_oe static_oe property

The instance of this class (singleton pattern).
public static null|object $instance
Résultat null | object

$option_name public_oe static_oe property

Option Name.
public static null|string $option_name
Résultat null | string

$output public_oe static_oe property

Output.
public static array $output
Résultat array

$settings public_oe static_oe property

Settings.
public static null|string|array $settings
Résultat null | string | array

$value public_oe static_oe property

Value
public static mixed $value
Résultat mixed