fix run-on formatting
[civicrm-core.git] / CRM / Grant / Form / Task.php
index 9d05b50835222b352f006b6763b5850309490a4c..8d5da0dd7e52e0f8859983b1f0ca3c45f9ee3dfb 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.5                                                |
+ | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
@@ -40,7 +40,7 @@
 class CRM_Grant_Form_Task extends CRM_Core_Form {
 
   /**
-   * the task being performed
+   * The task being performed
    *
    * @var int
    */
@@ -68,13 +68,13 @@ class CRM_Grant_Form_Task extends CRM_Core_Form {
   protected $_grantIds;
 
   /**
-   * build all the data structures needed to build the form
+   * Build all the data structures needed to build the form
    *
    * @param
    *
    * @return void
-   * @access public
-   */ function preProcess() {
+   */
+  function preProcess() {
     self::preProcessCommon($this);
   }
 
@@ -82,7 +82,7 @@ class CRM_Grant_Form_Task extends CRM_Core_Form {
    * @param CRM_Core_Form $form
    * @param bool $useTable
    */
-  static function preProcessCommon(&$form, $useTable = FALSE) {
+  public static function preProcessCommon(&$form, $useTable = FALSE) {
     $form->_grantIds = array();
 
     $values = $form->controller->exportValues('Search');
@@ -145,7 +145,7 @@ class CRM_Grant_Form_Task extends CRM_Core_Form {
   }
 
   /**
-   * simple shell that derived classes can call to add buttons to
+   * Simple shell that derived classes can call to add buttons to
    * the form with a customized title for the main Submit
    *
    * @param string $title title of the main button
@@ -153,9 +153,8 @@ class CRM_Grant_Form_Task extends CRM_Core_Form {
    * @param string $backType
    *
    * @return void
-   * @access public
    */
-  function addDefaultButtons($title, $nextType = 'next', $backType = 'back', $submitOnce = FALSE) {
+  public function addDefaultButtons($title, $nextType = 'next', $backType = 'back', $submitOnce = FALSE) {
     $this->addButtons(array(
         array(
           'type' => $nextType,
@@ -170,4 +169,3 @@ class CRM_Grant_Form_Task extends CRM_Core_Form {
     );
   }
 }
-