From 06045ff7fcd44626185548fc886b9e5e5d7e867e Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 24 Nov 2003 22:46:03 +0000 Subject: Patch by Ax to fixe and improve to the core doxygen PHPdoc: * fixes all doxygen warnings [#]_ in the current code base + changes @param style from phpDocumentor (@param type $var desc) to doxygen (@param $var desc) + documents all undocumented parameters + escapes / fixes html warnings + fixes @defgroup in theme.inc * adds more groupings [#]_ + drupal_{set|get}_title, drupal_{set|get}_breadcrumb + pager.inc: pager_api (pager_query(), pager_display()), pager pieces * adds a new group "themeable" which contains all themeable functions. --- includes/common.inc | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'includes/common.inc') diff --git a/includes/common.inc b/includes/common.inc index aaa95276c..5e4fa290c 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -2,7 +2,9 @@ // $Id$ /** + * @name drupal_title * Functions to get and set the title of the current page. + * @{ */ function drupal_set_title($title = NULL) { static $stored_title; @@ -22,12 +24,14 @@ function drupal_get_title() { return $title; } - +// @} /** + * @name drupal_breadcrumb * Functions to get and set the breadcrumb trail of the current page. The * breadcrumb trail is represented as an array of links, starting with * "home" and proceeding up to but not including the current page. + * @{ */ function drupal_set_breadcrumb($breadcrumb = NULL) { static $stored_breadcrumb; @@ -48,7 +52,7 @@ function drupal_get_breadcrumb() { return $breadcrumb; } - +// @} /** * Build the alias/path array @@ -249,9 +253,9 @@ function valid_url($url) { /** * Format a single result entry of a search query: * - * @param $item a single search result as returned by _search of type - * array("count" => ..., "link" => ..., "title" => ..., - * "user" => ..., "date" => ..., "keywords" => ...) + * @param $item a single search result as returned by module_search of + * type array("count" => ..., "link" => ..., "title" => ..., "user" => ..., + * "date" => ..., "keywords" => ...) * @param $type module type of this item */ function search_item($item, $type) { @@ -344,7 +348,7 @@ function search_data($keys = NULL) { * @param $type If set, search only nodes of this type. * Otherwise, search all types. * @param $action Form action. Defaults to 'site.com/search'. - * @param $query Query string. Defaults to global $keys. + * @param $keys Query string. Defaults to global $keys. * @param $options != 0: Render additional form fields/text * ("Restrict search to", help text, etc). */ -- cgit v1.2.3