You are here

function themekey_redirect_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 call to themekey_redirect_load_rules()
themekey_redirect_rule_chain_form in themekey_redirect/themekey_redirect_admin.inc
Form builder for the rule chain.
1 string reference to 'themekey_redirect_load_rules'
themekey_redirect_rule_chain_form in themekey_redirect/themekey_redirect_admin.inc
Form builder for the rule chain.

File

themekey_redirect/themekey_redirect_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_redirect_load_rules() {
  return themekey_abstract_load_rules('themekey_redirect_rules');
}