function element_properties

7.x common.inc element_properties($element)
6.x common.inc element_properties($element)

Get properties of a structured array element. Properties begin with '#'.

File

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

Code

function element_properties($element) {
  return array_filter(array_keys((array) $element), 'element_property');
}