more comment fixes
[civicrm-core.git] / CRM / Campaign / Page / SurveyType.php
index 44456cd1b4ce867bc44fbb1a3b4cc03f47bcd6c9..a873a40de57c8ccb938e9a708872bf7d92bb92b3 100644 (file)
@@ -1,9 +1,9 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.6                                                |
+ | CiviCRM version 4.7                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2014                                |
+ | Copyright CiviCRM LLC (c) 2004-2015                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
  | GNU Affero General Public License or the licensing of CiviCRM,     |
  | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
  +--------------------------------------------------------------------+
-*/
+ */
 
 /**
  *
  * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2014
- * $Id$
- *
+ * @copyright CiviCRM LLC (c) 2004-2015
  */
 
 /**
- * Page for displaying list of Gender
+ * Page for displaying list of Gender.
  */
 class CRM_Campaign_Page_SurveyType extends CRM_Core_Page_Basic {
 
   public $useLivePageJS = TRUE;
 
   /**
-   * The action links that we need to display for the browse screen
+   * The action links that we need to display for the browse screen.
    *
    * @var array
-   * @static
    */
   static $_links = NULL;
 
   /**
-   * The option group name
+   * The option group name.
    *
    * @var array
-   * @static
    */
   protected $_gName;
 
@@ -60,22 +56,18 @@ class CRM_Campaign_Page_SurveyType extends CRM_Core_Page_Basic {
    * The option group name in display format (capitalized, without underscores...etc)
    *
    * @var array
-   * @static
    */
   protected $_GName;
 
   /**
-   * The option group id
+   * The option group id.
    *
    * @var array
-   * @static
    */
   protected $_gid = NULL;
 
   /**
    * Obtains the group name from url and sets the title.
-   *
-   * @return void
    */
   public function preProcess() {
     $this->_gName = 'activity_type';
@@ -93,7 +85,7 @@ class CRM_Campaign_Page_SurveyType extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get BAO Name
+   * Get BAO Name.
    *
    * @return string
    *   Classname of BAO.
@@ -103,7 +95,7 @@ class CRM_Campaign_Page_SurveyType extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get action Links
+   * Get action Links.
    *
    * @return array
    *   (reference) of action links
@@ -140,8 +132,6 @@ class CRM_Campaign_Page_SurveyType extends CRM_Core_Page_Basic {
 
   /**
    * Run the basic page (run essentially starts execution for that page).
-   *
-   * @return void
    */
   public function run() {
     $this->preProcess();
@@ -149,11 +139,7 @@ class CRM_Campaign_Page_SurveyType extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Browse all options
-   *
-   *
-   * @return void
-   * @static
+   * Browse all options.
    */
   public function browse() {
     $campaingCompId = CRM_Core_Component::getComponentID('CiviCampaign');
@@ -177,7 +163,7 @@ class CRM_Campaign_Page_SurveyType extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get name of edit form
+   * Get name of edit form.
    *
    * @return string
    *   Classname of edit form.
@@ -187,7 +173,7 @@ class CRM_Campaign_Page_SurveyType extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get edit form name
+   * Get edit form name.
    *
    * @return string
    *   name of this page.
@@ -209,7 +195,7 @@ class CRM_Campaign_Page_SurveyType extends CRM_Core_Page_Basic {
   }
 
   /**
-   * Get userContext params
+   * Get userContext params.
    *
    * @param int $mode
    *   Mode that we are in.
@@ -219,4 +205,5 @@ class CRM_Campaign_Page_SurveyType extends CRM_Core_Page_Basic {
   public function userContextParams($mode = NULL) {
     return 'reset=1';
   }
+
 }