Sort address tokens into an optgroup
[civicrm-core.git] / CRM / Utils / GlobalStack.php
index 09dcccc7d9c580e27e90bae37cf13d356ac7bec8..2e7c133a929631a5bb9a408133f5c87be9fa8987 100644 (file)
@@ -1,8 +1,8 @@
 <?php /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.3                                                |
+ | CiviCRM version 4.5                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
+ | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
@@ -64,6 +64,9 @@ class CRM_Utils_GlobalStack {
     return self::$_singleton;
   }
 
+  /**
+   * @param $newFrame
+   */
   public function push($newFrame) {
     $this->backups[] = $this->createBackup($newFrame);
     $this->applyFrame($newFrame);
@@ -91,6 +94,9 @@ class CRM_Utils_GlobalStack {
     return $frame;
   }
 
+  /**
+   * @param $newFrame
+   */
   public function applyFrame($newFrame) {
     foreach ($newFrame as $globalKey => $values) {
       if (is_array($values)) {
@@ -102,4 +108,4 @@ class CRM_Utils_GlobalStack {
       }
     }
   }
-}
\ No newline at end of file
+}