|
Previous Page |
Solar_Controller_Page |
Next Page |
_isProcess()
protected
bool
_isProcess (
string $type default NULL,
string $process_key default NULL
)
Whether or not user requested a specific process within the action.
Parameters
- (string)
$type: The process type; for example, 'save', 'delete', 'preview', etc. If empty, returns true if any process type was posted. - (string)
$process_key: If not empty, check against this Solar_Request::post() key instead $this->_process_key. Default null.
Returns
- (bool)
Description
Whether or not user requested a specific process within the action.
By default, looks for $process_key in Solar_Request::post() to get the value of the process request.
Checks against "PROCESS_$type" locale string for matching. For example, $this->_isProcess('save') checks Solar_Request::post('process') against $this->locale('PROCESS_SAVE').
Local
- Overview
- Constants
- Properties
- Methods
- __construct()
- __destruct()
- __get()
- __set()
- _addViewHelpers()
- _addViewTemplates()
- _exception()
- _exceptionDuringFetch()
- _forward()
- _forwardActionMethod()
- _getActionFormat()
- _getActionMethod()
- _getActionView()
- _info()
- _isProcess()
- _load()
- _postAction()
- _postRender()
- _postRun()
- _preAction()
- _preRender()
- _preRun()
- _query()
- _redirect()
- _redirectNoCache()
- _render()
- _renderLayout()
- _renderView()
- _setContentType()
- _setLayoutTemplates()
- _setViewObject()
- _setup()
- apiVersion()
- display()
- dump()
- fetch()
- locale()
- setFrontController()