Commit 2e73efd4 authored by Gábor Hojtsy's avatar Gábor Hojtsy

Issue #1103938 by kiamlaluno, jhodgdon, jeffschuler: fix misues of @name in...

Issue #1103938 by kiamlaluno, jhodgdon, jeffschuler: fix misues of @name in various include files and document theme.inc constants better
parent d719dc19
......@@ -200,7 +200,7 @@ function drupal_get_feeds($delimiter = "\n") {
}
/**
* @name HTTP handling
* @defgroup http_handling HTTP handling
* @{
* Functions to properly handle HTTP responses.
*/
......
......@@ -71,7 +71,7 @@
*/
/**
* @name Menu flags
* @defgroup menu_flags Menu flags
* @{
* Flags for use in the "type" attribute of menu items.
*/
......@@ -89,8 +89,10 @@
*/
/**
* @name Menu item types
* @defgroup menu_item_types Menu item types
* @{
* Definitions for various menu item types.
*
* Menu item definitions provide one of these constants, which are shortcuts for
* combinations of the above flags.
*/
......@@ -134,7 +136,7 @@
*/
/**
* @name Menu status codes
* @defgroup menu_status_codes Menu status codes
* @{
* Status codes for menu callbacks.
*/
......@@ -149,9 +151,9 @@
*/
/**
* @Name Menu tree parameters
* @defgroup menu_tree_parameters Menu tree parameters
* @{
* Menu tree
* Parameters for a menu tree.
*/
/**
......
......@@ -215,10 +215,11 @@ function theme_pager($tags = array(), $limit = 10, $element = 0, $parameters = a
/**
* @name Pager pieces
* @defgroup pagerpieces Pager pieces
* @{
* Use these pieces to construct your own custom pagers in your theme. Note that
* you should NOT modify this file to customize your pager.
* Theme functions for customizing pager elements.
*
* Note that you should NOT modify this file to customize your pager.
*/
/**
......
......@@ -11,14 +11,27 @@
*/
/**
* @name Content markers
* @defgroup content_flags Content markers
* @{
* Markers used by theme_mark() and node_mark() to designate content.
* @see theme_mark(), node_mark()
*/
define('MARK_READ', 0);
define('MARK_NEW', 1);
/**
* Mark content as read.
*/
define('MARK_READ', 0);
/**
* Mark content as being new.
*/
define('MARK_NEW', 1);
/**
* Mark content as being updated.
*/
define('MARK_UPDATED', 2);
/**
* @} End of "Content markers".
*/
......
......@@ -396,10 +396,9 @@ function filter_list_format($format) {
}
/**
* @name Filtering functions
* @defgroup filtering_functions Filtering functions
* @{
* Modules which need to have content filtered can use these functions to
* interact with the filter system.
* Functions for interacting with the content filtering system.
*
* For more info, see the hook_filter() documentation.
*
......@@ -603,7 +602,7 @@ function theme_filter_tips_more_info() {
}
/**
* @name Standard filters
* @defgroup standard_filters Standard filters
* @{
* Filters implemented by the filter.module.
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment