+--------------------------------------------------------------------+
| CiviCRM version 4.6 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2014 |
+ | Copyright CiviCRM LLC (c) 2004-2015 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
-*/
+ */
/**
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-2014
+ * @copyright CiviCRM LLC (c) 2004-2015
* $Id$
*
*/
private $_mergeCases = FALSE;
/**
- * Set variables up before form is built
+ * Set variables up before form is built.
*
* @return void
*/
if ($relatedCases) {
$this->assign('relatedCaseLabel', ts('%1 Related Case', array(
'count' => count($relatedCases),
- 'plural' => '%1 Related Cases'
+ 'plural' => '%1 Related Cases',
)));
$this->assign('relatedCaseUrl', CRM_Utils_System::url('civicrm/contact/view/case', array(
'id' => $this->_caseID,
}
/**
- * Build the form object
+ * Build the form object.
*
* @return void
*/
$this->add('select', 'merge_case_id',
ts('Select Case for Merge'),
array(
- '' => ts('- select case -')
+ '' => ts('- select case -'),
) + $otherCases,
FALSE,
array('class' => 'crm-select2 huge')
}
/**
- * Process the form
+ * Process the form.
*
* @return void
*/
$form->add('checkbox', 'activity_deleted', ts('Deleted Activities'), '', FALSE, array('id' => 'activity_deleted_' . $form->_caseID));
}
}
+
}