| Versionen | |
|---|---|
| drupal6 | element_children( |
| drupal7 | element_children(&$elements, $sort = FALSE) |
Get keys of a structured array tree element that are not properties (i.e., do not begin with '#').
includes/
<?php
function element_children($element) {
return array_filter(array_keys((array) $element), 'element_child');
}
?>
Kommentare
Kommentar hinzufügen