Merge remote-tracking branch 'upstream/4.6' into 4.6-master-2015-03-23-18-45-28
[civicrm-core.git] / CRM / Admin / Form.php
index 3f9cbafaec8d65c1bbe372f315abd2616f9e7f13..516b24f3c11c8be4ded342ad489edf5d28324a92 100644 (file)
@@ -23,7 +23,7 @@
  | GNU Affero General Public License or the licensing of CiviCRM,     |
  | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
  +--------------------------------------------------------------------+
-*/
+ */
 
 /**
  *
@@ -46,26 +46,26 @@ class CRM_Admin_Form extends CRM_Core_Form {
   protected $_id;
 
   /**
-   * The default values for form fields
+   * The default values for form fields.
    *
    * @var int
    */
   protected $_values;
 
   /**
-   * The name of the BAO object for this form
+   * The name of the BAO object for this form.
    *
    * @var string
    */
   protected $_BAOName;
 
   /**
-   * Basic setup
+   * Basic setup.
    */
   public function preProcess() {
-    $this->_id      = $this->get('id');
+    $this->_id = $this->get('id');
     $this->_BAOName = $this->get('BAOName');
-    $this->_values  = array();
+    $this->_values = array();
     if (isset($this->_id)) {
       $params = array('id' => $this->_id);
       // this is needed if the form is outside the CRM name space
@@ -105,7 +105,7 @@ class CRM_Admin_Form extends CRM_Core_Form {
   }
 
   /**
-   * Add standard buttons
+   * Add standard buttons.
    *
    * @return void
    */
@@ -135,4 +135,5 @@ class CRM_Admin_Form extends CRM_Core_Form {
       );
     }
   }
+
 }