0 follower

Final Class Yiisoft\Yii\DataView\PageSize\PageSizeContext

InheritanceYiisoft\Yii\DataView\PageSize\PageSizeContext

Context class that holds the state and configuration for page size widgets.

Constants

Hide inherited constants

Constant Value Description Defined By
ANY_VALUE false Constant indicating that any page size value is allowed. When this constraint is used, the user can set any valid page size. Yiisoft\Yii\DataView\PageSize\PageSizeContext
FIXED_VALUE true Constant indicating that the page size is fixed to the default value. When this constraint is used, the page size cannot be changed by the user. Yiisoft\Yii\DataView\PageSize\PageSizeContext
URL_PLACEHOLDER 'YII-DATAVIEW-PAGE-SIZE-PLACEHOLDER' Placeholder used in URL patterns to be replaced with the actual page size value. Yiisoft\Yii\DataView\PageSize\PageSizeContext

Property Details

Hide inherited properties

$constraint public property
$currentValue public property
public integer $currentValue null
$defaultUrl public property
public string $defaultUrl null
$defaultValue public property
public integer $defaultValue null
$urlPattern public property
public string $urlPattern null