Merge pull request #4818 from pratikshad/CRM-15770
[civicrm-core.git] / CRM / Financial / Page / Batch.php
index 26cfe7195a032abb5fce8bc9af27c4a4c8519d17..aca100f9511bc2e77d6dd76167c198acd6c4b87e 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.5                                                |
+ | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
@@ -51,7 +51,7 @@ class CRM_Financial_Page_Batch extends CRM_Core_Page_Basic {
    *
    * @return string Classname of BAO.
    */
-  function getBAOName() {
+  public function getBAOName() {
     return 'CRM_Batch_BAO_Batch';
   }
 
@@ -60,14 +60,14 @@ class CRM_Financial_Page_Batch extends CRM_Core_Page_Basic {
    *
    * @return array (reference) of action links
    */
-  function &links() {}
+  public function &links() {}
 
   /**
    * Get name of edit form
    *
    * @return string Classname of edit form.
    */
-  function editForm() {
+  public function editForm() {
     return 'CRM_Financial_Form_FinancialBatch';
   }
 
@@ -76,7 +76,7 @@ class CRM_Financial_Page_Batch extends CRM_Core_Page_Basic {
    *
    * @return string name of this page.
    */
-  function editName() {
+  public function editName() {
     return ts('Accounting Batch Processing');
   }
 
@@ -87,23 +87,22 @@ class CRM_Financial_Page_Batch extends CRM_Core_Page_Basic {
    *
    * @return string user context.
    */
-  function userContext($mode = NULL) {
+  public function userContext($mode = NULL) {
     return CRM_Utils_System::currentPath();
   }
 
   /**
-   * browse all entities.
+   * Browse all entities.
    *
    * @return void
-   * @access public
    */
-  function browse() {
+  public function browse() {
     $status = CRM_Utils_Request::retrieve('status', 'Positive', CRM_Core_DAO::$_nullObject, FALSE, 1);
     $this->assign('status', $status);
     $this->search();
   }
 
-  function search() {
+  public function search() {
     if ($this->_action &
       (CRM_Core_Action::ADD |
         CRM_Core_Action::UPDATE |
@@ -120,4 +119,3 @@ class CRM_Financial_Page_Batch extends CRM_Core_Page_Basic {
     $form->run();
   }
 }
-