Version 1.491 (checked in on 2009/05/26 at 10:41:06 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.
| Name | Beschreibung |
|---|---|
| drupal_discover_template | Determine and return which template file will generate the output. |
| drupal_find_theme_functions | Find overridden theme functions. Called by themes and/or theme engines to easily discover theme functions. |
| drupal_find_theme_templates | Find overridden theme templates. Called by themes and/or theme engines to easily discover templates. |
| 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. |
| init_theme | Initialize the theme system by loading the theme. |
| 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 preprocess functions 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_page | Process variables for page.tpl.php |
| theme | Generate the themed output. |
| theme_breadcrumb | Return a themed breadcrumb trail. |
| theme_closure | Execute hook_footer() which is run at the end of the page right before the close of the body tag. |
| 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. This function is designed for use from within themes & engines to determine theme settings made in the admin interface. |
| theme_get_settings | Retrieve an associative array containing the settings for a theme. |
| 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_links | Return a themed set of links. |
| theme_list | Return a themed list of items from a drupal_render() style array. |
| 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. |
| _init_theme | 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 |
| Name | Beschreibung |
|---|---|
| MARK_NEW | Mark content as being new. |
| MARK_READ | Mark content as read. |
| MARK_UPDATED | Mark content as being updated. |
Kommentare
Kommentar hinzufügen