function _theme_save_registry

7.x theme.inc _theme_save_registry($theme, $registry)
6.x theme.inc _theme_save_registry($theme, $registry)

Write the theme_registry cache into the database.

1 call to _theme_save_registry()
_theme_load_registry in drupal-6.x/includes/theme.inc
Get the theme_registry cache from the database; if it doesn't exist, build it.

File

drupal-6.x/includes/theme.inc, line 246
The theme system, which controls the output of Drupal.

Code

function _theme_save_registry($theme, $registry) {
  cache_set("theme_registry:$theme->name", $registry);
}