Theme Flow 6 1
Theme Flow 6 1
x
theme('hook', $arguments) http://api.drupal.org/api/function/theme/6
if hook is function
moduleName_preprocess .module
All variables passed by reference moduleName_preprocess_hook t.b
between each preprocess function.
As a result, variables are additive engineName_engine_preprocess .engine
building the variables array.
engineName_engine_preprocess_hook t.c
engineName_preprocess template.php
engineName_preprocess_hook t.d
themeName_preprocess
themeName_preprocess_hook
[ collect suggestions ]
drupal_discover_template
[ find implemented suggestion ]
theme_render_template
suggestion.tpl.php hook.tpl.php
<html> <html>
<?php print $variable ?> <?php print $variable ?>
</html> </html>