/**
* Are we restricting ourselves to a single contact.
*
- * @var boolean
+ * @var bool
*/
protected $_single = FALSE;
/**
* Are we restricting ourselves to a single contact.
*
- * @var boolean
+ * @var bool
*/
protected $_limit = NULL;
}
$this->_done = TRUE;
-
+ $this->setFormValues();
if (!empty($_POST)) {
- $this->_formValues = $this->controller->exportValues($this->_name);
$specialParams = [
'activity_type_id',
'status_id',
'priority_id',
- 'activity_text',
];
$changeNames = [
'status_id' => 'activity_status_id',
return NULL;
}
- /**
- * This virtual function is used to set the default values of various form elements.
- *
- * @return array|NULL
- * reference to the array of default values
- */
- public function setDefaultValues() {
- return array_merge($this->getEntityDefaults($this->getDefaultEntity()), (array) $this->_formValues);
- }
-
/**
* Return a descriptive name for the page, used in wizard header
*