Updated documentation for new functions

This commit is contained in:
Timothy Warren 2011-10-24 19:25:15 -04:00
parent 3d241c2f8b
commit 2cefaa19aa

View File

@ -149,7 +149,7 @@ functions:
### Util: Array and string manipulation functions ###
** functions:**
** functions: **
* object_keys: Gets the name of the properties of an object
@ -159,6 +159,18 @@ functions:
$_.util.object_values(object);
* object_merge: Merges two objects' keys and values
$_.util.object_merge(object1, object2);
* array_combine: Creates an object with the keys of the first array, and the values of the second
$_.util.array_combine(keys, values);
* str_trans: Similar to the PHP function strtr, replaces string pairs in a GREEDY fashion
$_.util.str_trans(string, from, to); OR $_.util.str_trans(string, replace_pairs_object);