Property | Type | Description | |
---|---|---|---|
$checkboxes | Cache containing individual radio or checkbox elements in an array | ||
$radios | Cache containing individual radio or checkbox elements in an array |
Property | Type | Description | |
---|---|---|---|
$_staticTypes | array | Form types that do not change value with user input |
Method | Description | |
---|---|---|
getCheckboxes ( array $args ) : str | Returns a set of checkbox form elements | |
getErrorMessageContainer ( string $id, string $errorMessage = '' ) : string | Returns a standardized container to wrap an error message | |
getFormClose ( ) : string | Closes a form if one is open | |
getFormOpen ( array $args = [] ) : string | Begins a form Includes a safety mechanism to prevent re-opening an already-open form | |
getInput ( array $args ) : string | Used for text, textarea, hidden, password, file, button, image and submit | |
getRadios ( array $args ) : str | Returns a set of radio form elements | |
getSelect ( array $args ) : str | Returns a form select element |
Method | Description | |
---|---|---|
_getLabel ( array $args, str $formElement ) : str | Adds label tags to a form element | |
_getProperties ( array $args, array $propertyNames = [] ) : array | Sets the standard properties available to all input elements in addition to user-defined properties Standard properties are: name, value, class, style, id | |
_indexDynamicArray ( string $name ) : string | Converts dynamically-assigned array indecies to use an explicitely defined index |
protected _indexDynamicArray ( string $name ) : string | ||
$name | string | |
return | string |
public getCheckboxes ( array $args ) : str | ||
$args | array | |
return | str |
public getFormClose ( ) : string | ||
return | string |
public getFormOpen ( array $args = [] ) : string | ||
$args | array | |
return | string |
protected array $_staticTypes | ||
return | array |
public $checkboxes |