/**
* Set variables up before form is built.
+ *
+ * @throws \CRM_Core_Exception
*/
public function preProcess() {
}
$this->_dataSourceIsValid = FALSE;
- $this->_dataSource = CRM_Utils_Request::retrieve(
+ $this->_dataSource = CRM_Utils_Request::retrieveValue(
'dataSource',
'String',
- CRM_Core_DAO::$_nullObject,
- FALSE,
NULL,
+ FALSE,
'GET'
);
* Where to look for the value - GET|POST|REQUEST
*
* @return mixed
+ * @throws \CRM_Core_Exception
*/
public static function retrieveValue($name, $type, $defaultValue = NULL, $isRequired = FALSE, $method = 'REQUEST') {
$null = NULL;