*
*/
class CRM_Campaign_BAO_Petition extends CRM_Campaign_BAO_Survey {
+ /**
+ *
+ */
function __construct() {
parent::__construct();
// expire cookie in one day
return $activity;
}
+ /**
+ * @param $activity_id
+ * @param $contact_id
+ * @param $petition_id
+ *
+ * @return bool
+ */
function confirmSignature($activity_id, $contact_id, $petition_id) {
// change activity status to completed (status_id = 2)
// I wonder why do we need contact_id when we have activity_id anyway? [chastell]
}
+ /**
+ * @param null $surveyId
+ *
+ * @return array
+ */
public static function getSurveyInfo($surveyId = NULL) {
$surveyInfo = array();