*/
public function buildQuickForm() {
parent::buildQuickForm();
-
+ // Perhaps never used, but permits url passing of the group.
+ $this->_id = CRM_Utils_Request::retrieve('id', 'Positive', $this, FALSE);
$multipleCustomData = CRM_Core_BAO_CustomGroup::getMultipleFieldGroup();
$this->assign('fieldGroups', $multipleCustomData);
$this->add('select', 'multipleCustomData', ts('Multi-value Custom Data'), ['' => ts('- select -')] + $multipleCustomData, TRUE);
* Set variables up before form is built.
*/
public function preProcess() {
- $this->_id = CRM_Utils_Request::retrieve('id', 'Positive', $this, FALSE);
- $params = "reset=1";
- if ($this->_id) {
- $params .= "&id={$this->_id}";
- }
- CRM_Core_Session::singleton()->pushUserContext(CRM_Utils_System::url(static::PATH, $params));
-
// check for post max size
CRM_Utils_Number::formatUnitSize(ini_get('post_max_size'), TRUE);
$this->assign('importEntity', $this->getTranslatedEntity());
'onEndUrl' => CRM_Utils_System::url('civicrm/import/contact/summary', [
'user_job_id' => $this->getUserJobID(),
'reset' => 1,
- ]),
+ ], FALSE, NULL, FALSE),
]);
$runner->runAllViaWeb();
}