$this->_customSearchID,
$this->_customSearchClass,
$formValues
- ) = CRM_Contact_BAO_SearchCustom::details($csID, $ssID, $gID);
+ ) = CRM_Contact_BAO_SearchCustom::details($csID, $ssID, $gID);
if (!$this->_customSearchID) {
CRM_Core_Error::fatal('Could not get details for custom search.');
}
// set breadcrumb to return to Custom Search listings page
- $breadCrumb = array(array('title' => ts('Custom Searches'),
+ $breadCrumb = array(
+ array(
+ 'title' => ts('Custom Searches'),
'url' => CRM_Utils_System::url('civicrm/contact/search/custom/list',
'reset=1'
),
- ));
+ ),
+ );
CRM_Utils_System::appendBreadCrumb($breadCrumb);
// use the custom selector
parent::preProcess();
// instantiate the new class
- $this->_customClass = new $this->_customSearchClass( $this->_formValues );
+ $this->_customClass = new $this->_customSearchClass($this->_formValues);
// CRM-12747
if (isset($this->_customClass->_permissionedComponent) &&
- !self::isPermissioned($this->_customClass->_permissionedComponent)) {
+ !self::isPermissioned($this->_customClass->_permissionedComponent)
+ ) {
CRM_Utils_System::permissionDenied();
}
}
*
* access public
*
- * @return array reference to the array of default values
- *
+ * @return array
+ * reference to the array of default values
*/
/**
* @return array