Add in docblock of new function
authorSeamus Lee <seamuslee001@gmail.com>
Sun, 16 Oct 2016 23:44:17 +0000 (10:44 +1100)
committerSeamus Lee <seamuslee001@gmail.com>
Wed, 19 Oct 2016 23:35:51 +0000 (10:35 +1100)
CRM/Utils/Array.php

index 75b5b4c35452699c61b33edfedc8b5c947bc6b45..5559c9ad9251f92e34c7a720dda2cf00eee0414e 100644 (file)
@@ -1076,6 +1076,13 @@ class CRM_Utils_Array {
     return $input;
   }
 
+  /**
+   * Ensure that array is encoded in utf8 format.
+   *
+   * @param array $array
+   *
+   * @return array $array utf8-encoded.
+   */
   public static function encode_items($array) {
     foreach ($array as $key => $value) {
       if (is_array($value)) {