Browse Source

Fixed hash doc for pagination

tags/2.0.0-beta
Alexander Makarov 11 years ago
parent
commit
86933cd745
  1. 3
      framework/data/Pagination.php

3
framework/data/Pagination.php

@ -85,7 +85,8 @@ class Pagination extends Object
/** /**
* @var array parameters (name => value) that should be used to obtain the current page number * @var array parameters (name => value) that should be used to obtain the current page number
* and to create new pagination URLs. If not set, all parameters from $_GET will be used instead. * and to create new pagination URLs. If not set, all parameters from $_GET will be used instead.
* In order to add hash to all links use `'#' => 'hashtag'`. *
* In order to add hash to all links use array_merge($_GET, ['#' => 'my-hash']).
* *
* The array element indexed by [[pageVar]] is considered to be the current page number. * The array element indexed by [[pageVar]] is considered to be the current page number.
* If the element does not exist, the current page number is considered 0. * If the element does not exist, the current page number is considered 0.

Loading…
Cancel
Save