Changeset 1727 for trunk/include/functions_search.inc.php
- Timestamp:
- Jan 17, 2007, 12:39:39 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/functions_search.inc.php
r1677 r1727 26 26 // +-----------------------------------------------------------------------+ 27 27 28 29 /**30 * Prepends and appends a string at each value of the given array.31 *32 * @param array33 * @param string prefix to each array values34 * @param string suffix to each array values35 */36 function prepend_append_array_items($array, $prepend_str, $append_str)37 {38 array_walk(39 $array,40 create_function('&$s', '$s = "'.$prepend_str.'".$s."'.$append_str.'";')41 );42 43 return $array;44 }45 28 46 29 /**
Note: See TracChangeset
for help on using the changeset viewer.