class CFormElement


Located at : UKNOWVA_ROOT/components/com_community/libraries/formelement.php

Properties

$label
$html
$position

Methods

static 
renderElements(Array $formElements, string $position)

Renders the provided elements into their respective HTML formats.

Details

at line 25
static renderElements(Array $formElements, string $position)

Renders the provided elements into their respective HTML formats.

Parameters

Array $formElements formElements An array of CFormElement objects.
string $position position The position of the field 'before' will be loaded before the rest of the form and 'after' will be loaded after the rest of the form loaded.

returns string html Contents of generated CFormElements.