fix formatting
authorDonald A. Lobo <lobo@civicrm.org>
Thu, 21 Mar 2013 00:56:01 +0000 (17:56 -0700)
committerDonald A. Lobo <lobo@civicrm.org>
Thu, 21 Mar 2013 01:49:26 +0000 (18:49 -0700)
CRM/Core/PseudoConstant.php

index cece48eb975d7a0f1ab4119c64748c4c40cd2514..f149f5949e882fd9efa3ea3c6e8cd46a7feb641f 100644 (file)
@@ -419,7 +419,17 @@ class CRM_Core_PseudoConstant {
    * @access public
    * @static
    */
-  public static function populate(&$var, $name, $all = FALSE, $retrieve = 'name', $filter = 'is_active', $condition = NULL, $orderby = NULL, $key = 'id', $force = NULL) {
+  public static function populate(
+    &$var,
+    $name,
+    $all = FALSE,
+    $retrieve = 'name',
+    $filter = 'is_active',
+    $condition = NULL,
+    $orderby = NULL,
+    $key = 'id',
+    $force = NULL
+  ) {
     $cacheKey = "CRM_PC_{$name}_{$all}_{$key}_{$retrieve}_{$filter}_{$condition}_{$orderby}";
     $cache    = CRM_Utils_Cache::singleton();
     $var      = $cache->get($cacheKey);
@@ -1105,10 +1115,9 @@ WHERE  id = %1";
   public static function &groupIterator($styledLabels = FALSE) {
     if (!self::$groupIterator) {
       /*
-             When used as an object, GroupNesting implements Iterator
-             and iterates nested groups in a logical manner for us
-            */
-
+        When used as an object, GroupNesting implements Iterator
+        and iterates nested groups in a logical manner for us
+      */
       self::$groupIterator = new CRM_Contact_BAO_GroupNesting($styledLabels);
     }
     return self::$groupIterator;