+--------------------------------------------------------------------+
| CiviCRM version 5 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2018 |
+ | Copyright CiviCRM LLC (c) 2004-2020 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
/**
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-2018
+ * @copyright CiviCRM LLC (c) 2004-2020
*/
/**
/**
* Case Id
+ * @var int
*/
public $_caseID = NULL;
/**
* Client Id
+ * @var int
*/
public $_clientID = NULL;
/**
* Activity set name
+ * @var string
*/
public $_activitySetName = NULL;
return;
}
- $includeActivites = array(
+ $includeActivites = [
1 => ts('All Activities'),
2 => ts('Exclude Completed Activities'),
- );
+ ];
$includeActivitesGroup = $this->addRadio('include_activities',
NULL,
$includeActivites,
ts('Redact (hide) Client and Service Provider Data')
);
- $this->addButtons(array(
- array(
- 'type' => 'refresh',
- 'name' => ts('Generate Report'),
- 'isDefault' => TRUE,
- ),
- array(
- 'type' => 'cancel',
- 'name' => ts('Cancel'),
- ),
- )
- );
+ $this->addButtons([
+ [
+ 'type' => 'refresh',
+ 'name' => ts('Generate Report'),
+ 'isDefault' => TRUE,
+ ],
+ [
+ 'type' => 'cancel',
+ 'name' => ts('Cancel'),
+ ],
+ ]);
// We want this form to redirect to a full page
$this->preventAjaxSubmit();
}