src/helpers/PaginationHelper.php
protected static function buildPageItem($label, $page, $class, $disabled, $active)
    {
        $classes = [$class];
        if ($active) {
            $classes[] = static::$params['activePageCssClass'];
        }
        if ($disabled) {
            $classes[] = static::$params['disabledPageCssClass'];
        }
        return [
            'label' => $label,
            'url' => static::$pagination->createUrl($page),
            'class' => implode(' ', $classes),
        ];
    }
protected static function buildPageItem($label, $page, $class, $disabled, $active)
    {
        $classes = [$class];
        if ($active) {
            $classes[] = static::$params['activePageCssClass'];
        }
        if ($disabled) {
            $classes[] = static::$params['disabledPageCssClass'];
        }
        return [
            'label' => $label,
            'url' => static::$pagination->createUrl($page),
            'class' => implode(' ', $classes),
        ];
    }
protected static function buildPageItem ( $ label , $ page , $ class , $ disabled , $ active ) { $ classes = [ $ class ] ; if ( $ active ) { $ classes [ ] = static :: $ params [ 'activePageCssClass' ] ; } if ( $ disabled ) { $ classes [ ] = static :: $ params [ 'disabledPageCssClass' ] ; } return [ 'label' => $ label , 'url' => static :: $ pagination -> createUrl ( $ page ) , 'class' => implode ( ' ' , $ classes ) , ] ; }
Build a page link array
@param string $label
@param int $page
@param string $class
@param boolean $disabled
@param boolean $active
@return array
Build a page link array