<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.3 |
+ | CiviCRM version 4.4 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2013 |
+--------------------------------------------------------------------+
* @var int
* @public
*/
- public $_contactID; function preProcess() {
+ public $_contactID;
+
+ function preProcess() {
$this->_crid = CRM_Utils_Request::retrieve('crid', 'Integer', $this, FALSE);
if ($this->_crid) {
*
* @access public
*
- * @return None
+ * @return void
*/
function setDefaultValues() {
/**
* Function to actually build the components of the form
*
- * @return None
+ * @return void
* @access public
*/
public function buildQuickForm() {
*
* @access public
*
- * @return None
+ * @return void
*/
public function postProcess() {
// store the submitted values in an array
}
CRM_Activity_BAO_Activity::create($activityParams);
- if (CRM_Utils_Array::value('is_notify', $params)) {
+ if (!empty($params['is_notify'])) {
// send notification
if ($this->_subscriptionDetails->contribution_page_id) {
CRM_Core_DAO::commonRetrieveAll('CRM_Contribute_DAO_ContributionPage', 'id',
'toName' => $donorDisplayName,
'toEmail' => $donorEmail,
);
- list($sent) = CRM_Core_BAO_MessageTemplates::sendTemplate($sendTemplateParams);
+ list($sent) = CRM_Core_BAO_MessageTemplate::sendTemplate($sendTemplateParams);
}
}