Merge pull request #4606 from johanv/CRM-15636-price_set_event_and_contribution
[civicrm-core.git] / CRM / UF / Form / Preview.php
index 1b0ef967dfa7f92605fe76da18d3f1fa8e01714f..489b49645c8b597ccb39bd20c8f663e983db7b00 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.5                                                |
+ | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
@@ -41,7 +41,7 @@
 class CRM_UF_Form_Preview extends CRM_UF_Form_AbstractPreview {
 
   /**
-   * pre processing work done here.
+   * Pre processing work done here.
    *
    * gets session variables for group or field id
    *
@@ -49,10 +49,9 @@ class CRM_UF_Form_Preview extends CRM_UF_Form_AbstractPreview {
    *
    * @return void
    *
-   * @access public
    *
    */
-  function preProcess() {
+  public function preProcess() {
     $flag = FALSE;
     $gid = $this->get('id');
     $this->set('gid', $gid);
@@ -126,10 +125,9 @@ class CRM_UF_Form_Preview extends CRM_UF_Form_AbstractPreview {
   }
 
   /**
-   * Function to actually build the form
+   * Build the form object
    *
    * @return void
-   * @access public
    */
   public function buildQuickForm() {
     parent::buildQuickForm();