}
public function preProcess() {
- $context = CRM_Utils_Request::retrieve('context', 'String', $this);
+ $context = CRM_Utils_Request::retrieve('context', 'Alphanumeric', $this);
$this->_action = CRM_Utils_Request::retrieve('action', 'String', $this, FALSE, 'browse');
$this->_id = CRM_Utils_Request::retrieve('id', 'Positive', $this);
public function setContext() {
$qfKey = CRM_Utils_Request::retrieve('key', 'String', $this);
- $context = CRM_Utils_Request::retrieve('context', 'String',
+ $context = CRM_Utils_Request::retrieve('context', 'Alphanumeric',
$this, FALSE, 'search'
);
$compContext = CRM_Utils_Request::retrieve('compContext', 'String', $this);