diff options
author | webchick <webchick@24967.no-reply.drupal.org> | 2011-07-28 15:36:00 -0400 |
---|---|---|
committer | webchick <webchick@24967.no-reply.drupal.org> | 2011-07-28 15:36:00 -0400 |
commit | 4f972ee66f4486aa469899c1a46ee49e018865b0 (patch) | |
tree | 7b0af6cdea36b6a4557cf2da19d62a3e6bb8feea /includes/pager.inc | |
parent | ffb3b76c81419a85ceade8f0dbabafae56a4aa8a (diff) | |
download | brdo-4f972ee66f4486aa469899c1a46ee49e018865b0.tar.gz brdo-4f972ee66f4486aa469899c1a46ee49e018865b0.tar.bz2 |
Issue #1222802 by franz, droplet, jhodgdon, Krasnyj: Fixed theme_pager_link() doc missing 'text' variable.
Diffstat (limited to 'includes/pager.inc')
-rw-r--r-- | includes/pager.inc | 13 |
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 */ |