theme.inc
Version 1.554 (checked in on 2009/11/26 at 18:57:16 by dries)
The theme system, which controls the output of Drupal.
The theme system allows for nearly all output of the Drupal system to be customized by user themes.
@ingroup themeable
Constants
| Name | Description |
|---|---|
| MARK_NEW | Mark content as being new. |
| MARK_READ | Mark content as read. |
| MARK_UPDATED | Mark content as being updated. |
Functions
| Name | Description |
|---|---|
| drupal_discover_template | Determine and return which template file will generate the output. |
| drupal_find_theme_functions | Allow themes and/or theme engines to easily discover overridden theme functions. |
| drupal_find_theme_templates | Allow themes and/or theme engines to easily discover overridden templates. |
| drupal_theme_access | Determines if a theme is available to use. |
| drupal_theme_initialize | Initialize the theme system by loading the theme. |
| drupal_theme_rebuild | Force the system to rebuild the theme registry; this should be called when modules are added to the system, or when a dynamic system needs to add more theme hooks. |
| list_themes | Return a list of all currently available themes. |
| path_to_theme | Return the path to the current themed element. |
| template_page_suggestions | Generate an array of page template suggestions. |
| template_preprocess | Adds a default set of helper variables for variable processors and templates. This comes in before any other preprocess function which makes it possible to be used in default theme implementations (non-overriden theme functions). |
| template_preprocess_html | Preprocess variables for html.tpl.php |
| template_preprocess_maintenance_page | The variables generated here is a mirror of template_preprocess_page(). This preprocessor will run it's course when theme_maintenance_page() is invoked. It is also used in theme_install_page() and theme_update_page() to keep all the variables... |
| template_preprocess_page | Preprocess variables for page.tpl.php |
| template_preprocess_region | Preprocess variables for region.tpl.php |
| template_preprocess_username | Preprocess variables for theme_username(). |
| template_process | A default process function used to alter variables as late as possible. |
| template_process_html | Process variables for html.tpl.php |
| template_process_username | Process variables for theme_username(). |
| theme | Generate the themed output. |
| theme_breadcrumb | Return a themed breadcrumb trail. |
| theme_feed_icon | Return code that emits an feed icon. |
| theme_get_registry | Get the theme registry. |
| theme_get_setting | Retrieve a setting for the current theme or for a given theme. |
| theme_html_tag | Generate the output for a generic HTML tag with attributes. |
| theme_image | Return a themed image. |
| theme_indentation | Create a standard indentation div. Used for drag and drop tables. |
| theme_item_list | Return a themed list of items. |
| theme_link | Return a themed link. |
| theme_links | Return a themed set of links. |
| theme_mark | Return a themed marker, useful for marking new or updated content. |
| theme_more_help_link | Returns code that emits the 'more help'-link. |
| theme_more_link | Returns code that emits the 'more' link used on blocks. |
| theme_placeholder | Formats text for emphasized display in a placeholder inside a sentence. Used automatically by t(). |
| theme_progress_bar | Return a themed progress bar. |
| theme_render_template | Render a system default template, which is essentially a PHP template. |
| theme_status_messages | Return a themed set of status and/or error messages. The messages are grouped by type. |
| theme_submenu | Return a themed submenu, typically displayed under the tabs. |
| theme_table | Return a themed table. |
| theme_tablesort_indicator | Return a themed sort icon. |
| theme_table_select_header_cell | Returns a header cell for tables that have a select all functionality. |
| theme_username | Format a username. |
| _drupal_theme_initialize | Initialize the theme system given already loaded information. This function is useful to initialize a theme when no database is present. |
| _theme_build_registry | Rebuild the theme registry cache. |
| _theme_load_registry | Get the theme_registry cache from the database; if it doesn't exist, build it. |
| _theme_process_registry | Process a single implementation of hook_theme(). |
| _theme_save_registry | Write the theme_registry cache into the database. |
| _theme_set_registry | Store the theme registry in memory. |
| _theme_table_cell |
