Merge branch 'master' into findById
[civicrm-core.git] / CRM / Campaign / Form / Survey.php
index b3d21d07d3c5643fbe4871755cc412985cd19921..d1ea1387f9cb5b0923e7c1065dca56b537505fe3 100644 (file)
@@ -47,14 +47,14 @@ class CRM_Campaign_Form_Survey extends CRM_Core_Form {
   protected $_surveyId;
 
   /**
-   * action
+   * Action
    *
    * @var int
    */
   protected $_action;
 
   /**
-   * surveyTitle
+   * SurveyTitle
    *
    * @var string
    */
@@ -90,7 +90,7 @@ class CRM_Campaign_Form_Survey extends CRM_Core_Form {
   }
 
   /**
-   * Function to actually build the form
+   * Build the form object
    *
    * @param null
    *
@@ -171,6 +171,9 @@ class CRM_Campaign_Form_Survey extends CRM_Core_Form {
     }
   }
 
+  /**
+   * @return string
+   */
   function getTemplateFileName() {
     if ($this->controller->getPrint() || $this->getVar('_surveyId') <= 0 ) {
       return parent::getTemplateFileName();