theme.inc

Version 1.337.2.9 (checked in on 2009/05/13 at 19:41:56 by drumm)

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.

See also

<a href="http://drupal.org/node/171179">Theme guide</a>

@see themeable

Constants

NameDescription
MARK_NEW
MARK_READ@name Content markers
MARK_UPDATED

Functions

NameDescription
init_themeInitialize the theme system by loading the theme.
list_themesProvides a list of currently available themes.
list_theme_enginesProvides a list of currently available theme engines
path_to_engineReturn the path to the currently selected engine.
path_to_themeReturn the path to the currently selected theme.
themeGenerate the themed representation of a Drupal object.
theme_blockReturn a themed block.
theme_blocksReturn a set of blocks available for the current user.
theme_boxReturn a themed box.
theme_breadcrumbReturn a themed breadcrumb trail.
theme_closureExecute hook_footer() which is run at the end of the page right before the close of the body tag.
theme_feed_iconReturn code that emits an feed icon.
theme_get_functionDetermine if a theme function exists, and if so return which one was found.
theme_get_settingRetrieve 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_settingsRetrieve an associative array containing the settings for a theme.
theme_helpReturn a themed help message.
theme_imageReturn a themed image.
theme_install_page
theme_item_listReturn a themed list of items.
theme_linksReturn a themed set of links.
theme_maintenance_page
theme_markReturn a themed marker, useful for marking new or updated content.
theme_more_help_linkReturns code that emits the 'more help'-link.
theme_nodeReturn a themed node.
theme_pageReturn an entire Drupal page displaying the supplied content.
theme_placeholderFormats text for emphasized display in a placeholder inside a sentence. Used automatically by t().
theme_progress_bar
theme_status_messagesReturn a themed set of status and/or error messages. The messages are grouped by type.
theme_submenuReturn a themed submenu, typically displayed under the tabs.
theme_tableReturn a themed table.
theme_tablesort_indicatorReturn a themed sort icon.
theme_table_select_header_cellReturns a header cell for tables that have a select all functionality.
theme_usernameFormat a username.
theme_xml_iconReturn code that emits an XML icon.
_theme_table_cell
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.