Свойство | Тип | Описание | |
---|---|---|---|
$checkboxes | Cache containing individual radio or checkbox elements in an array | ||
$radios | Cache containing individual radio or checkbox elements in an array |
Свойство | Тип | Описание | |
---|---|---|---|
$_staticTypes | array | Form types that do not change value with user input |
Метод | Описание | |
---|---|---|
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 |
Метод | Описание | |
---|---|---|
_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 | |
Результат | string |
public getCheckboxes ( array $args ) : str | ||
$args | array | |
Результат | str |
public getFormClose ( ) : string | ||
Результат | string |
public getFormOpen ( array $args = [] ) : string | ||
$args | array | |
Результат | string |
protected array $_staticTypes | ||
Результат | array |
public $checkboxes |