function element_children

7.x common.inc element_children(&$elements, $sort = FALSE)
6.x common.inc element_children($element)

Get keys of a structured array tree element that are not properties (i.e., do not begin with '#').

37 calls to element_children()
book_admin_edit_submit in drupal-6.x/modules/book/book.admin.inc
Handle submission of the book administrative page form.
color_form_alter in drupal-6.x/modules/color/color.module
Implementation of hook_form_alter().
drupal_render in drupal-6.x/includes/common.inc
Renders HTML given a structured array tree.
filter_form_validate in drupal-6.x/modules/filter/filter.module
Validation callback for filter elements in a form.
form_builder in drupal-6.x/includes/form.inc
Walk through the structured form array, adding any required properties to each element and mapping the incoming $_POST data to the proper elements.

... See full list

File

drupal-6.x/includes/common.inc, line 3100
Common functions that many Drupal modules will need to reference.

Code

function element_children($element) {
  return array_filter(array_keys((array) $element), 'element_child');
}