PHP Class Kirki_Styles_Output_CSS, kirki

ファイルを表示 Open project: aristath/kirki Class Usage Examples

Public Properties

Property 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

Public Methods

Method 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

Method Description
__construct ( ) The class constructor.

Method Details

add_prefixes() public static method

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

css() public static method

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

get_instance() public static method

Get a single instance of this class
public static get_instance ( ) : object
return object

styles_parse() public static method

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.
return string The generated CSS.

Property Details

$backup_fonts public_oe static_oe property

Standard Fonts
public static array $backup_fonts
return array

$callback public_oe static_oe property

Callback.
public static null|string|array $callback
return null | string | array

$css public_oe static_oe property

CSS
public static string $css
return string

$field_type public_oe static_oe property

Field Type.
public static string $field_type
return string

$google_fonts public_oe static_oe property

Google Fonts
public static array $google_fonts
return array

$instance public_oe static_oe property

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

$option_name public_oe static_oe property

Option Name.
public static null|string $option_name
return null | string

$output public_oe static_oe property

Output.
public static array $output
return array

$settings public_oe static_oe property

Settings.
public static null|string|array $settings
return null | string | array

$value public_oe static_oe property

Value
public static mixed $value
return mixed