[ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Source view] [Print] [Project Stats]
Style Engine: WP_Style_Engine_CSS_Rules_Store class
File Size: | 166 lines (4 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
WP_Style_Engine_CSS_Rules_Store:: (8 methods):
get_store()
get_stores()
remove_all_stores()
set_name()
get_name()
get_all_rules()
add_rule()
remove_rule()
Class: WP_Style_Engine_CSS_Rules_Store - X-Ref
Core class used as a store for WP_Style_Engine_CSS_Rule objects.get_store( $store_name = 'default' ) X-Ref |
Gets an instance of the store. return: WP_Style_Engine_CSS_Rules_Store|void param: string $store_name The name of the store. |
get_stores() X-Ref |
Gets an array of all available stores. return: WP_Style_Engine_CSS_Rules_Store[] |
remove_all_stores() X-Ref |
Clears all stores from static::$stores. |
set_name( $name ) X-Ref |
Sets the store name. param: string $name The store name. |
get_name() X-Ref |
Gets the store name. return: string |
get_all_rules() X-Ref |
Gets an array of all rules. return: WP_Style_Engine_CSS_Rule[] |
add_rule( $selector, $rules_group = '' ) X-Ref |
Gets a WP_Style_Engine_CSS_Rule object by its selector. If the rule does not exist, it will be created. return: WP_Style_Engine_CSS_Rule|void Returns a WP_Style_Engine_CSS_Rule object, param: string $selector The CSS selector. param: string $rules_group A parent CSS selector in the case of nested CSS, or a CSS nested @rule, |
remove_rule( $selector ) X-Ref |
Removes a selector from the store. param: string $selector The CSS selector. |
Generated : Sat Dec 21 08:20:01 2024 | Cross-referenced by PHPXref |