function _array_to_string_values in Shadowbox 6.3
Same name and namespace in other branches
- 5.2 shadowbox.module \_array_to_string_values()
- 5 shadowbox.module \_array_to_string_values()
- 6.4 shadowbox.module \_array_to_string_values()
- 6 shadowbox.module \_array_to_string_values()
- 6.2 shadowbox.module \_array_to_string_values()
- 7.4 shadowbox.admin.inc \_array_to_string_values()
- 7.3 shadowbox.admin.inc \_array_to_string_values()
Filter values that are not strings from an array.
Parameters
$array: An array to filter.
Return value
$output The filtered array.
File
- ./
shadowbox.module, line 659 - Shadowbox, a JavaScript media viewer application for displaying content in a modal dialogue.
Code
function _array_to_string_values($array) {
$output = array();
foreach ($array as $value) {
if (is_string($value)) {
$output[] = $value;
}
}
return $output;
}