diff --git a/core/includes/pager.inc b/core/includes/pager.inc index 3a7c592..961accf 100644 --- a/core/includes/pager.inc +++ b/core/includes/pager.inc @@ -11,7 +11,7 @@ * Returns the current page being requested for display within a pager. * * @param int $element - * An optional integer to distinguish between multiple pagers on one page. + * (optional) An integer to distinguish between multiple pagers on one page. * * @return int * The number of the current requested page, within the pager represented by @@ -114,7 +114,7 @@ function pager_find_page($element = 0) { * @param int $limit * The number of items the calling code will display per page. * @param int $element - * An optional integer to distinguish between multiple pagers on one page. + * (optional) An integer to distinguish between multiple pagers on one page. * * @return int * The number of the current page, within the pager represented by $element. @@ -284,11 +284,10 @@ function template_preprocess_pager(&$variables) { } /** - * Get the URL query parameter array of a pager link. + * Gets the URL query parameter array of a pager link. * - * Adds or adjusts the 'page' URL query parameter to make sure that, following - * the link, the paged content indicated by $index for the given pager $element - * gets displayed. + * Adds to or adjusts the 'page' URL query parameter so that if you follow the + * link, you'll get page $index for pager $element on the page. * * The 'page' URL query parameter is a comma-delimited string, where each value * is the target content page for the corresponding pager $element. For @@ -298,7 +297,7 @@ function template_preprocess_pager(&$variables) { * like this: ?page=0,0,5,0,0 (page numbering starts at zero). * * @param array $query - * An associative array of query parameters to add to. + * An associative array of URL query parameters to add to. * @param int $element * An integer to distinguish between multiple pagers on one page. * @param int $index