function element_child in Drupal 6
Same name and namespace in other branches
- 4 includes/form.inc \element_child()
- 5 includes/common.inc \element_child()
- 7 includes/common.inc \element_child()
Check if the key is a child.
1 call to element_child()
- theme_locale_languages_overview_form in includes/
locale.inc - Theme the language overview form.
1 string reference to 'element_child'
- element_children in includes/
common.inc - Get keys of a structured array tree element that are not properties (i.e., do not begin with '#').
File
- includes/
common.inc, line 3119 - Common functions that many Drupal modules will need to reference.
Code
function element_child($key) {
return !isset($key[0]) || $key[0] != '#';
}