More docblock stuff.
[civicrm-core.git] / CRM / Contribute / Page / ContributionRecur.php
index 91f674fe2e16b88f0132adcba49ffdfe68e9ca90..d152ca6dd29b090f553fe2ce66ee1cc56a28cab7 100644 (file)
@@ -1,9 +1,9 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
+ | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
+ | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
@@ -28,7 +28,7 @@
 /**
  *
  * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
+ * @copyright CiviCRM LLC (c) 2004-2014
  * $Id$
  *
  */
@@ -47,7 +47,6 @@ class CRM_Contribute_Page_ContributionRecur extends CRM_Core_Page {
    * View details of a recurring contribution
    *
    * @return void
-   * @access public
    */ function view() {
     $recur = new CRM_Contribute_DAO_ContributionRecur();
     $recur->id = $this->_id;
@@ -71,7 +70,7 @@ class CRM_Contribute_Page_ContributionRecur extends CRM_Core_Page {
     }
   }
 
-  function preProcess() {
+  public function preProcess() {
     $context          = CRM_Utils_Request::retrieve('context', 'String', $this);
     $this->_action    = CRM_Utils_Request::retrieve('action', 'String', $this, FALSE, 'view');
     $this->_id        = CRM_Utils_Request::retrieve('id', 'Positive', $this);
@@ -81,9 +80,6 @@ class CRM_Contribute_Page_ContributionRecur extends CRM_Core_Page {
     // check logged in url permission
     CRM_Contact_Page_View::checkUserPermission($this);
 
-    // set page title
-    CRM_Contact_Page_View::setTitle($this->_contactId);
-
     $this->assign('action', $this->_action);
 
     if ($this->_permission == CRM_Core_Permission::EDIT && !CRM_Core_Permission::check('edit contributions')) {
@@ -98,9 +94,8 @@ class CRM_Contribute_Page_ContributionRecur extends CRM_Core_Page {
    * it decides the which action has to be taken for the page.
    *
    * return null
-   * @access public
    */
-  function run() {
+  public function run() {
     $this->preProcess();
 
     if ($this->_action & CRM_Core_Action::VIEW) {
@@ -110,4 +105,3 @@ class CRM_Contribute_Page_ContributionRecur extends CRM_Core_Page {
     return parent::run();
   }
 }
-