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),
        ];
    }