You are here

function themekey_css_load_rules in ThemeKey 7.3

Loads all ThemeKey Rules from the database. Therefore, it uses recursion to build the rule chains.

Return value

sorted array containing all ThemeKey rules

1 string reference to 'themekey_css_load_rules'
themekey_css_rule_chain_form in themekey_css/themekey_css_admin.inc
Form builder for the rule chain.

File

themekey_css/themekey_css_build.inc, line 45
The functions in this file are the back end of ThemeKey which should be used only if you configure something, but not when ThemeKey switches themes.

Code

function themekey_css_load_rules() {
  return themekey_abstract_load_rules('themekey_css_rules');
}