diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc index 8e99912..f20523e 100644 --- a/includes/bootstrap.inc +++ b/includes/bootstrap.inc @@ -418,7 +418,7 @@ abstract class DrupalCacheArray implements ArrayAccess { * Start the timer with the specified name. If you start and stop the same * timer multiple times, the measured intervals will be accumulated. * - * @param name + * @param $name * The name of the timer. */ function timer_start($name) { @@ -431,8 +431,9 @@ function timer_start($name) { /** * Read the current timer value without stopping the timer. * - * @param name + * @param $name * The name of the timer. + * * @return * The current timer value in ms. */ @@ -454,8 +455,9 @@ function timer_read($name) { /** * Stop the timer with the specified name. * - * @param name + * @param $name * The name of the timer. + * * @return * A timer array. The array contains the number of times the timer has been * started and stopped (count) and the accumulated timer value in ms (time). @@ -1172,6 +1174,7 @@ function drupal_add_http_header($name, $value, $append = FALSE) { * @param $name * An HTTP header name. If omitted, all headers are returned as name/value * pairs. If an array value is FALSE, the header has been unset. + * * @return * A string containing the header value, or FALSE if the header has been set, * or NULL if the header has not been set. @@ -1582,6 +1585,7 @@ function check_plain($text) { * * @param $text * The text to check. + * * @return * TRUE if the text is valid UTF-8, FALSE if not. */ @@ -1766,6 +1770,7 @@ function drupal_set_message($message = NULL, $type = 'status', $repeat = TRUE) { * (optional) Only return messages of this type. * @param $clear_queue * (optional) Set to FALSE if you do not want to clear the messages queue + * * @return * An associative array, the key is the message type, the value an array * of messages. If the $type parameter is passed, you get only that type, @@ -1844,6 +1849,7 @@ function drupal_set_title($title = NULL, $output = CHECK_PLAIN) { * * @param $ip * IP address to check. + * * @return bool * TRUE if access is denied, FALSE if access is allowed. */ @@ -2068,6 +2074,7 @@ function drupal_anonymous_user() { * @param $new_phase * A boolean, set to FALSE if calling drupal_bootstrap from inside a * function called from drupal_bootstrap (recursion). + * * @return * The most recently completed phase. * @@ -2928,6 +2935,7 @@ function drupal_get_complete_schema($rebuild = FALSE) { * * @param $interface * The name of the interface to check or load. + * * @return * TRUE if the interface is currently available, FALSE otherwise. */ @@ -2943,6 +2951,7 @@ function drupal_autoload_interface($interface) { * * @param $class * The name of the class to check or load. + * * @return * TRUE if the class is currently available, FALSE otherwise. */ @@ -2960,6 +2969,7 @@ function drupal_autoload_class($class) { * @param $name * The name of the resource, or NULL if either of the REGISTRY_* constants * is passed in. + * * @return * TRUE if the resource was found, FALSE if not. * NULL if either of the REGISTRY_* constants is passed in as $type.