summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-rw-r--r--includes/pager.inc13
1 files changed, 10 insertions, 3 deletions
diff --git a/includes/pager.inc b/includes/pager.inc
index 146033f1b..7a3a7be30 100644
--- a/includes/pager.inc
+++ b/includes/pager.inc
@@ -154,7 +154,7 @@ class PagerDefault extends SelectQueryExtender {
* Note that no collision detection is done when setting an element ID
* explicitly, so it is possible for two pagers to end up using the same ID
* if both are set explicitly.
- *
+ *
* @param $element
*/
public function element($element) {
@@ -574,13 +574,20 @@ function theme_pager_last($variables) {
*
* @param $variables
* An associative array containing:
+ * - text: The link text. Also used to figure out the title attribute of the
+ * link, if it is not provided in $variables['attributes']['title']; in
+ * this case, $variables['text'] must be one of the standard pager link
+ * text strings that would be generated by the pager theme functions, such
+ * as a number or t('« first').
* - page_new: The first result to display on the linked page.
* - element: An optional integer to distinguish between multiple pagers on
* one page.
* - parameters: An associative array of query string parameters to append to
* the pager link.
- * - attributes: An associative array of HTML attributes to apply to a pager
- * anchor tag.
+ * - attributes: An associative array of HTML attributes to apply to the
+ * pager link.
+ *
+ * @see theme_pager()
*
* @ingroup themeable
*/