[ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Source view] [Print] [Project Stats]
Style Engine: WP_Style_Engine_Processor class
File Size: | 181 lines (5 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
WP_Style_Engine_Processor:: (4 methods):
add_store()
add_rules()
get_css()
combine_rules_selectors()
Class: WP_Style_Engine_Processor - X-Ref
Core class used to compile styles from stores or collection of CSS rules.add_store( $store ) X-Ref |
Adds a store to the processor. return: WP_Style_Engine_Processor Returns the object to allow chaining methods. param: WP_Style_Engine_CSS_Rules_Store $store The store to add. |
add_rules( $css_rules ) X-Ref |
Adds rules to be processed. return: WP_Style_Engine_Processor Returns the object to allow chaining methods. param: WP_Style_Engine_CSS_Rule|WP_Style_Engine_CSS_Rule[] $css_rules A single, or an array of, |
get_css( $options = array() X-Ref |
Gets the CSS rules as a string. return: string The computed CSS. param: array $options { |
combine_rules_selectors() X-Ref |
Combines selectors from the rules store when they have the same styles. |
Generated : Sat Dec 21 08:20:01 2024 | Cross-referenced by PHPXref |