- $this->_contactIds = &CRM_Core_DAO::getContactIDsFromComponent($this->_caseIds,
- 'civicrm_case_contact'
- );
- }
-
- /**
- * Simple shell that derived classes can call to add buttons to
- * the form with a customized title for the main Submit
- *
- * @param string $title
- * Title of the main button.
- * @param string $nextType
- * Button type for the form after processing.
- * @param string $backType
- * @param bool $submitOnce
- */
- public function addDefaultButtons($title, $nextType = 'next', $backType = 'back', $submitOnce = FALSE) {
- $this->addButtons(array(
- array(
- 'type' => $nextType,
- 'name' => $title,
- 'isDefault' => TRUE,
- ),
- array(
- 'type' => $backType,
- 'name' => ts('Cancel'),
- ),
- )
+ $this->_contactIds = CRM_Core_DAO::getContactIDsFromComponent($this->_entityIds,
+ 'civicrm_case_contact', 'case_id'