Merge pull request #4696 from colemanw/CRM-15669
[civicrm-core.git] / CRM / Pledge / Form / Payment.php
index 679d8b2d4dc8f0f982a0b84380fd7dbea8e674ff..2a4af9a24ffcf28e0bcce61195a56bcdc7b55fe3 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.5                                                |
+ | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
@@ -43,7 +43,6 @@ class CRM_Pledge_Form_Payment extends CRM_Core_Form {
    * The id of the pledge payment that we are proceessing
    *
    * @var int
-   * @public
    */
   public $_id;
 
@@ -51,7 +50,6 @@ class CRM_Pledge_Form_Payment extends CRM_Core_Form {
    * Set variables up before form is built
    *
    * @return void
-   * @access public
    */
   public function preProcess() {
     // check for edit permission
@@ -68,11 +66,10 @@ class CRM_Pledge_Form_Payment extends CRM_Core_Form {
    * Set default values for the form.
    * the default values are retrieved from the database
    *
-   * @access public
    *
    * @return void
    */
-  function setDefaultValues() {
+  public function setDefaultValues() {
     $defaults = array();
     if ($this->_id) {
       $params['id'] = $this->_id;
@@ -92,7 +89,6 @@ class CRM_Pledge_Form_Payment extends CRM_Core_Form {
    * Build the form object
    *
    * @return void
-   * @access public
    */
   public function buildQuickForm() {
     //add various dates
@@ -138,7 +134,6 @@ class CRM_Pledge_Form_Payment extends CRM_Core_Form {
   /**
    * Process the form submission
    *
-   * @access public
    *
    * @return void
    */
@@ -195,4 +190,3 @@ class CRM_Pledge_Form_Payment extends CRM_Core_Form {
     CRM_Core_Session::setStatus($statusMsg, ts('Saved'), 'success');
   }
 }
-