form排错过程

function _theme_load_registry()

if (isset($cache->data)) {
$registry = $cache->data;
}
else {
// If not, build one and cache it.
$registry = _theme_build_registry($theme, $base_theme, $theme_engine);
_theme_save_registry($theme, $registry);
}

=>

// If not, build one and cache it.
$registry = _theme_build_registry($theme, $base_theme, $theme_engine);
_theme_save_registry($theme, $registry);


theme()
$hook = simplygreen_register_user_form

if (!isset($hooks[$hook])) {
return;
}

posted on 2009-11-27 21:05  jerry data  阅读(120)  评论(0编辑  收藏  举报