From 3c3cee28b94eb0c14f6958e1e6440bba15bc9a7d Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 13 Apr 2010 15:23:03 +0000 Subject: - Patch #716496 by JohnAlbin: documentation updates for theme functions. --- includes/theme.maintenance.inc | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) (limited to 'includes/theme.maintenance.inc') diff --git a/includes/theme.maintenance.inc b/includes/theme.maintenance.inc index c19dd05db..1a60911b1 100644 --- a/includes/theme.maintenance.inc +++ b/includes/theme.maintenance.inc @@ -87,7 +87,12 @@ function _theme_load_offline_registry($theme, $base_theme = NULL, $theme_engine } /** - * Return a themed list of maintenance tasks to perform. + * Returns HTML for a list of maintenance tasks to perform. + * + * @param $variables + * An associative array containing: + * - items: An associative array of maintenance tasks. + * - active: The key for the currently active maintenance task. * * @ingroup themeable */ @@ -120,7 +125,7 @@ function theme_task_list($variables) { } /** - * Generate a themed installation page. + * Returns HTML for the installation page. * * Note: this function is not themeable. * @@ -180,7 +185,7 @@ function theme_install_page($variables) { } /** - * Generate a themed update page. + * Returns HTML for the update page. * * Note: this function is not themeable. * @@ -226,10 +231,13 @@ function theme_update_page($variables) { } /** - * Generate a report of the results from an operation run via authorize.php. + * Returns HTML for a report of the results from an operation run via authorize.php. * - * @param array $variables + * @param $variables + * An associative array containing: * - messages: An array of result messages. + * + * @ingroup themeable */ function theme_authorize_report($variables) { $messages = $variables['messages']; @@ -251,11 +259,14 @@ function theme_authorize_report($variables) { } /** - * Render a single log message from the authorize.php batch operation. + * Returns HTML for a single log message from the authorize.php batch operation. * * @param $variables + * An associative array containing: * - message: The log message. * - success: A boolean indicating failure or success. + * + * @ingroup themeable */ function theme_authorize_message($variables) { $output = ''; -- cgit v1.2.3