theme_item
Definition
theme_item($element)
includes/form.inc, line 1283
Description
Format a form item.
Parameters
$element An associative array containing the properties of the element. Properties used: title, value, description, required, error
Return value
A themed HTML string representing the form item.
Related topics
| Name | Description |
|---|---|
| Form generation | Functions to enable the processing and display of HTML forms. |
Code
<?php
function theme_item($element) {
return theme('form_element', $element, $element['#value'] . $element['#children']);
}
?> 