|
@@ -71,10 +71,10 @@ class Paginator {
|
|
* Create a new Paginator instance.
|
|
* Create a new Paginator instance.
|
|
*
|
|
*
|
|
* @param array $results
|
|
* @param array $results
|
|
- * @param int $last
|
|
|
|
* @param int $page
|
|
* @param int $page
|
|
* @param int $total
|
|
* @param int $total
|
|
* @param int $per_page
|
|
* @param int $per_page
|
|
|
|
+ * @param int $last
|
|
* @return void
|
|
* @return void
|
|
*/
|
|
*/
|
|
protected function __construct($results, $page, $total, $per_page, $last)
|
|
protected function __construct($results, $page, $total, $per_page, $last)
|
|
@@ -246,6 +246,7 @@ class Paginator {
|
|
* echo $paginator->previous('Go Back');
|
|
* echo $paginator->previous('Go Back');
|
|
* </code>
|
|
* </code>
|
|
*
|
|
*
|
|
|
|
+ * @param string $text
|
|
* @return string
|
|
* @return string
|
|
*/
|
|
*/
|
|
public function previous($text = null)
|
|
public function previous($text = null)
|
|
@@ -266,6 +267,7 @@ class Paginator {
|
|
* echo $paginator->next('Skip Forwards');
|
|
* echo $paginator->next('Skip Forwards');
|
|
* </code>
|
|
* </code>
|
|
*
|
|
*
|
|
|
|
+ * @param string $text
|
|
* @return string
|
|
* @return string
|
|
*/
|
|
*/
|
|
public function next($text = null)
|
|
public function next($text = null)
|
|
@@ -364,7 +366,7 @@ class Paginator {
|
|
*
|
|
*
|
|
* @param int $page
|
|
* @param int $page
|
|
* @param string $text
|
|
* @param string $text
|
|
- * @param string $attributes
|
|
|
|
|
|
+ * @param string $class
|
|
* @return string
|
|
* @return string
|
|
*/
|
|
*/
|
|
protected function link($page, $text, $class)
|
|
protected function link($page, $text, $class)
|