Merge pull request #4981 from totten/master-cbf2
[civicrm-core.git] / CRM / Financial / Page / Batch.php
index aca100f9511bc2e77d6dd76167c198acd6c4b87e..e6922b5a9e5d311c820ece27fec37e05fbc1ab77 100644 (file)
@@ -42,14 +42,14 @@ class CRM_Financial_Page_Batch extends CRM_Core_Page_Basic {
    * The action links that we need to display for the browse screen
    *
    * @var array
-   * @static
    */
   static $_links = NULL;
 
   /**
    * Get BAO Name
    *
-   * @return string Classname of BAO.
+   * @return string
+   *   Classname of BAO.
    */
   public function getBAOName() {
     return 'CRM_Batch_BAO_Batch';
@@ -58,14 +58,15 @@ class CRM_Financial_Page_Batch extends CRM_Core_Page_Basic {
   /**
    * Get action Links
    *
-   * @return array (reference) of action links
    */
-  public function &links() {}
+  public function &links() {
+  }
 
   /**
    * Get name of edit form
    *
-   * @return string Classname of edit form.
+   * @return string
+   *   Classname of edit form.
    */
   public function editForm() {
     return 'CRM_Financial_Form_FinancialBatch';
@@ -74,7 +75,8 @@ class CRM_Financial_Page_Batch extends CRM_Core_Page_Basic {
   /**
    * Get edit form name
    *
-   * @return string name of this page.
+   * @return string
+   *   name of this page.
    */
   public function editName() {
     return ts('Accounting Batch Processing');
@@ -85,7 +87,8 @@ class CRM_Financial_Page_Batch extends CRM_Core_Page_Basic {
    *
    * @param null $mode
    *
-   * @return string user context.
+   * @return string
+   *   user context.
    */
   public function userContext($mode = NULL) {
     return CRM_Utils_System::currentPath();
@@ -103,8 +106,7 @@ class CRM_Financial_Page_Batch extends CRM_Core_Page_Basic {
   }
 
   public function search() {
-    if ($this->_action &
-      (CRM_Core_Action::ADD |
+    if ($this->_action & (CRM_Core_Action::ADD |
         CRM_Core_Action::UPDATE |
         CRM_Core_Action::DELETE
       )
@@ -118,4 +120,5 @@ class CRM_Financial_Page_Batch extends CRM_Core_Page_Basic {
     $form->process();
     $form->run();
   }
+
 }