Свойство | Тип | Описание | |
---|---|---|---|
$_defaultConfig | array | ### Options - actions : Action name(s) to use PRG for. You can pass a single action as string or multiple as array. If boolean true all actions will be processed if false none. Default is ['index', 'lookup']. - queryStringToData : Set query string as request data. Default true. - queryStringWhitelist : An array of whitelisted query strings to be kept. Defaults to the Paginator 'sort', 'direction' and 'limit' ones. |
Метод | Описание | |
---|---|---|
conversion ( boolean $redirect = true ) : |
POST to GET / GET to POST conversion | |
startup ( ) : |
Checks if the current request has posted data and redirects the users to the same action after converting the post data into GET params |
Метод | Описание | |
---|---|---|
_actionCheck ( ) : boolean | Checks if the action should be processed by the component. | |
_filterParams ( ) : array | Filters the params from POST data and merges in the whitelisted query string ones. |
protected _actionCheck ( ) : boolean | ||
Результат | boolean |
protected _filterParams ( ) : array | ||
Результат | array |
public conversion ( boolean $redirect = true ) : |
||
$redirect | boolean | Redirect on post, default true. |
Результат |
protected array $_defaultConfig | ||
Результат | array |