<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.5 |
+ | CiviCRM version 4.6 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
class CRM_Contact_Form_Task_PDF extends CRM_Contact_Form_Task {
/**
- * all the existing templates in the system
+ * All the existing templates in the system
*
* @var array
*/
public $_activityId = NULL;
/**
- * build all the data structures needed to build the form
+ * Build all the data structures needed to build the form
*
* @return void
- * @access public
*/
- function preProcess() {
+ public function preProcess() {
$this->skipOnHold = $this->skipDeceased = FALSE;
CRM_Contact_Form_Task_PDFLetterCommon::preProcess($this);
$this->assign('single', $this->_single);
}
- function setDefaultValues() {
+ /**
+ * Set default values for the form. Relationship that in edit/view action
+ * the default values are retrieved from the database
+ *
+ *
+ * @return void
+ */
+ /**
+ *
+ */
+ public function setDefaultValues() {
$defaults = array();
if (isset($this->_activityId)) {
$params = array('id' => $this->_activityId);
}
/**
- * Build the form
+ * Build the form object
*
- * @access public
*
* @return void
*/
}
/**
- * process the form after the input has been submitted and validated
+ * Process the form after the input has been submitted and validated
*
- * @access public
*
* @return void
*/
CRM_Contact_Form_Task_PDFLetterCommon::postProcess($this);
}
}
-