CRM-16019 - Expose date/time format preferences to clientside
[civicrm-core.git] / CRM / Admin / Form / Navigation.php
index a706e0fdec0e9daf719749beaf6c02f03e20f042..15c1fdd169aaa348b8ba1cbd09eb19cb5875af9d 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.5                                                |
+ | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
@@ -23,7 +23,7 @@
  | GNU Affero General Public License or the licensing of CiviCRM,     |
  | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
  +--------------------------------------------------------------------+
-*/
+ */
 
 /**
  *
 class CRM_Admin_Form_Navigation extends CRM_Admin_Form {
 
   /**
-   * The parent id of the navigation menu
+   * The parent id of the navigation menu.
    */
   protected $_currentParentID = NULL;
 
   /**
-   * Default values
+   * Default values.
    */
   protected $_defaults = array();
 
   /**
-   * Function to build the form
+   * Build the form object.
    *
    * @return void
-   * @access public
    */
   public function buildQuickForm() {
     parent::buildQuickForm();
@@ -143,9 +142,8 @@ class CRM_Admin_Form_Navigation extends CRM_Admin_Form {
   }
 
   /**
-   * Function to process the form
+   * Process the form submission.
    *
-   * @access public
    *
    * @return void
    */
@@ -164,7 +162,8 @@ class CRM_Admin_Form_Navigation extends CRM_Admin_Form {
     CRM_Core_BAO_Navigation::resetNavigation();
 
     CRM_Core_Session::setStatus(ts('Menu \'%1\' has been saved.',
-        array(1 => $navigation->label)
-      ), ts('Saved'), 'success');
+      array(1 => $navigation->label)
+    ), ts('Saved'), 'success');
   }
+
 }