Elgg
Version 2.3
|
Go to the source code of this file.
Variables | |
$vars ['class'] | |
Renders a set of fields wrapped in a <fieldset> tag. More... | |
$align = elgg_extract('align', $vars, 'vertical') | |
$vars ['class'][] = "elgg-fieldset-$align" | |
$justify = elgg_extract('justify', $vars, '') | |
if($justify) | $legend = elgg_extract('legend', $vars) |
$fields = (array) elgg_extract('fields', $vars, []) | |
$fieldset = '' | |
if($legend) | foreach ($fields as $field) |
$align = elgg_extract('align', $vars, 'vertical') |
Definition at line 22 of file fieldset.php.
$fields = (array) elgg_extract('fields', $vars, []) |
Definition at line 35 of file fieldset.php.
$fieldset = '' |
Definition at line 38 of file fieldset.php.
$justify = elgg_extract('justify', $vars, '') |
Definition at line 26 of file fieldset.php.
if ($justify) $legend = elgg_extract('legend', $vars) |
Definition at line 32 of file fieldset.php.
$vars['class'] |
Renders a set of fields wrapped in a <fieldset> tag.
$vars['class'] Additional CSS classes $vars['align'] Field alignment (vertical|horizontal) If set to horizontal, fields will be rendered with inline display $vars['justify'] Text justification (left|right|center) $vars['legend'] Optional fieldset legend $vars['fields'] An array of field options Field options should be suitable for use in elgg_view_field()
Definition at line 17 of file fieldset.php.
Definition at line 24 of file fieldset.php.
Definition at line 44 of file fieldset.php.