Свойство | Type | Description | |
---|---|---|---|
$checkboxes | Cache containing individual radio or checkbox elements in an array | ||
$radios | Cache containing individual radio or checkbox elements in an array |
Свойство | Type | Description | |
---|---|---|---|
$_staticTypes | array | Form types that do not change value with user input |
Méthode | 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 |
Méthode | 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 | |
Résultat | string |
public getCheckboxes ( array $args ) : str | ||
$args | array | |
Résultat | str |
public getFormClose ( ) : string | ||
Résultat | string |
public getFormOpen ( array $args = [] ) : string | ||
$args | array | |
Résultat | string |
protected array $_staticTypes | ||
Résultat | array |
public $checkboxes |