Merge pull request #48 from dpradeep/merge-forward
[civicrm-core.git] / CRM / Report / Form / Register.php
index 9efed0726d99368c9a17673f2c5c149e2e0ebe08..116863a73ce3375cbbbeb58d35025e1f24a01672 100644 (file)
@@ -55,6 +55,18 @@ class CRM_Report_Form_Register extends CRM_Core_Form {
     $instanceInfo = array();
   }
 
+  /**
+   * This virtual function is used to set the default values of
+   * various form elements
+   *
+   * access        public
+   *
+   * @return array reference to the array of default values
+   *
+   */
+  /**
+   * @return array
+   */
   function setDefaultValues() {
     $defaults = array();
     if ($this->_action & CRM_Core_Action::DELETE) {
@@ -126,6 +138,13 @@ class CRM_Report_Form_Register extends CRM_Core_Form {
     $this->addFormRule(array('CRM_Report_Form_Register', 'formRule'), $this);
   }
 
+  /**
+   * @param $fields
+   * @param $files
+   * @param $self
+   *
+   * @return array
+   */
   static function formRule($fields, $files, $self) {
     $errors = array();
     $dupeClass = FALSE;