INFRA-132 - CRM/Activity - phpcbf
[civicrm-core.git] / CRM / Activity / Form / Task / FileOnCase.php
index e0eb1902206cb62266167f2ab8363217e9d61780..7d712d593b5606b64424e43682e975d0a2ae22b2 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.5                                                |
+ | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
 class CRM_Activity_Form_Task_FileOnCase extends CRM_Activity_Form_Task {
 
   /**
-   * the title of the group
+   * The title of the group
    *
    * @var string
    */
   protected $_title;
 
   /**
-   * variable to store redirect path
+   * Variable to store redirect path
    *
    */
   protected $_userContext;
 
   /**
-   * variable to store contact Ids
+   * Variable to store contact Ids
    *
    */
   public $_contacts;
 
   /**
-   * 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() {
     parent::preProcess();
     $session = CRM_Core_Session::singleton();
     $this->_userContext = $session->readUserContext();
@@ -74,11 +73,10 @@ class CRM_Activity_Form_Task_FileOnCase extends CRM_Activity_Form_Task {
   /**
    * Build the form object
    *
-   * @access public
    *
    * @return void
    */
-  function buildQuickForm() {
+  public function buildQuickForm() {
     $this->add('text', 'unclosed_case_id', ts('Select Case'), array('class' => 'huge'), TRUE);
     $this->addDefaultButtons(ts('Continue >>'));
   }
@@ -86,16 +84,15 @@ class CRM_Activity_Form_Task_FileOnCase extends CRM_Activity_Form_Task {
   /**
    * Add local and global form rules
    *
-   * @access protected
    *
    * @return void
    */
-  function addRules() {}
+  public function addRules() {
+  }
 
   /**
-   * 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
    */
@@ -145,4 +142,3 @@ class CRM_Activity_Form_Task_FileOnCase extends CRM_Activity_Form_Task {
     CRM_Core_Session::setStatus("", ts('Total Selected Activities: %1', array(1 => count($this->_activityHolderIds))), "info");
   }
 }
-