function element_child

7.x common.inc element_child($key)
6.x common.inc element_child($key)

Check if the key is a child.

1 call to element_child()
theme_locale_languages_overview_form in drupal-6.x/includes/locale.inc
Theme the language overview form.
1 string reference to 'element_child'
element_children in drupal-6.x/includes/common.inc
Get keys of a structured array tree element that are not properties (i.e., do not begin with '#').

File

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

Code

function element_child($key) {
  return !isset($key[0]) || $key[0] != '#';
}