Свойство | Type | Description | |
---|---|---|---|
$_fbvStyles | Styles organized by parameter name | ||
$_form | Form associated with this object, if any. Will inform smarty which forms to label as required * |
Méthode | Description | |
---|---|---|
__construct ( $form = null ) | Constructor. | |
_addClientSideValidation ( $params ) | Assign the appropriate class name to the element for client-side validation | |
_getLayoutInfo ( $params ) : string | Cycle through layout parameters to add the appropriate classes to the element's parent container | |
_smartyFBVAutocompleteInput ( $params, &$smarty ) | Form Autocomplete text input. (actually two inputs, label and value) parameters: disabled (optional), name (optional - assigned value of 'id' by default) | |
_smartyFBVButton ( $params, &$smarty ) | Form button. | |
_smartyFBVCheckbox ( $params, &$smarty ) | Checkbox input control. | |
_smartyFBVCheckboxGroup ( $params, &$smarty ) | Form checkbox group control. | |
_smartyFBVColour ( $params, &$smarty ) | Form colour input. | |
_smartyFBVFileInput ( $params, &$smarty ) | File upload input. | |
_smartyFBVHiddenInput ( $params, &$smarty ) | Hidden input element. | |
_smartyFBVInterestsInput ( $params, &$smarty ) | Reviewing interests input. | |
_smartyFBVKeywordInput ( $params, &$smarty ) | Keyword input. | |
_smartyFBVRadioButton ( $params, &$smarty ) | Radio input control. | |
_smartyFBVRangeSlider ( $params, &$smarty ) | Range slider input. | |
_smartyFBVSelect ( $params, &$smarty ) | Form select control. | |
_smartyFBVSubLabel ( $params, &$smarty ) | Custom Smarty function for labelling/highlighting of form fields. | |
_smartyFBVTextArea ( $params, &$smarty ) | Form text area. | |
_smartyFBVTextInput ( $params, &$smarty ) | Form text input. | |
getForm ( ) : Object | Get the form | |
getStyles ( ) : array | Get the form style constants | |
setForm ( $form ) | Set the form | |
smartyFBVElement ( $params, &$smarty, $content = null ) | Base form element. | |
smartyFBVFormArea ( $params, $content, &$smarty, &$repeat ) | A form area that contains form sections. | |
smartyFBVFormButtons ( $params, &$smarty ) | Submit and (optional) cancel button for a form. | |
smartyFBVFormSection ( $params, $content, &$smarty, &$repeat ) | A form section that contains controls in a variety of layout possibilities. | |
smartyFieldLabel ( $params, &$smarty ) | Custom Smarty function for labelling/highlighting of form fields. |
public __construct ( $form = null ) | ||
$form | object Form associated with this object |
public _addClientSideValidation ( $params ) | ||
$params | array return array |
public _getLayoutInfo ( $params ) : string | ||
$params | array | |
Résultat | string |
public _smartyFBVAutocompleteInput ( $params, &$smarty ) | ||
$params | array | |
$smarty | object |
public _smartyFBVButton ( $params, &$smarty ) | ||
$params | array | |
$smarty | object |
public _smartyFBVCheckbox ( $params, &$smarty ) | ||
$params | array | |
$smarty | object |
public _smartyFBVCheckboxGroup ( $params, &$smarty ) | ||
$params | array | |
$smarty | object |
public _smartyFBVColour ( $params, &$smarty ) | ||
$params | array | |
$smarty | object |
public _smartyFBVFileInput ( $params, &$smarty ) | ||
$params | array | |
$smarty | object |
public _smartyFBVHiddenInput ( $params, &$smarty ) | ||
$params | array | |
$smarty | object |
public _smartyFBVInterestsInput ( $params, &$smarty ) | ||
$params | array | |
$smarty | object |
public _smartyFBVKeywordInput ( $params, &$smarty ) | ||
$params | array | |
$smarty | object |
public _smartyFBVRadioButton ( $params, &$smarty ) | ||
$params | array | |
$smarty | object |
public _smartyFBVRangeSlider ( $params, &$smarty ) | ||
$params | array | |
$smarty | object |
public _smartyFBVSelect ( $params, &$smarty ) | ||
$params | array | |
$smarty | object |
public _smartyFBVSubLabel ( $params, &$smarty ) | ||
$params | array can contain 'name' (field name/ID), 'required' (required field), 'key' (localization key), 'label' (non-localized label string), 'suppressId' (boolean) | |
$smarty | Smarty |
public _smartyFBVTextArea ( $params, &$smarty ) | ||
$params | array | |
$smarty | object |
public _smartyFBVTextInput ( $params, &$smarty ) | ||
$params | array | |
$smarty | object |
public smartyFBVElement ( $params, &$smarty, $content = null ) | ||
$params | array | |
$smarty | object- |
public smartyFBVFormArea ( $params, $content, &$smarty, &$repeat ) | ||
$params | array | |
$content | string | |
$smarty | object | |
$repeat |
public smartyFBVFormButtons ( $params, &$smarty ) | ||
$params | array | |
$smarty | object |
public smartyFBVFormSection ( $params, $content, &$smarty, &$repeat ) | ||
$params | array | |
$content | string | |
$smarty | object | |
$repeat |
public smartyFieldLabel ( $params, &$smarty ) | ||
$params | array can contain 'name' (field name/ID), 'required' (required field), 'key' (localization key), 'label' (non-localized label string), 'suppressId' (boolean) | |
$smarty | Smarty |