Свойство | Тип | Описание | |
---|---|---|---|
$deleteButton | string | ||
$formFields | fields to be validated. | ||
$formId | form ID | ||
$insertButton | string | ||
$insertPosition | 'bottom' or 'top'; | ||
$limit | string | ||
$min | integer | ||
$model | the model used for the form | ||
$widgetBody | string | ||
$widgetContainer | string | ||
$widgetItem | string |
Метод | Описание | |
---|---|---|
init ( ) | Initializes the widget. | |
registerAssets ( View $view ) | Registers the needed assets. | |
registerHashVarWidget ( ) : boolean | Register the actual widget. | |
run ( ) |
Метод | Описание | |
---|---|---|
getHashVarName ( ) : string | Returns the hashed variable. | |
hashOptions ( ) | Generates a hashed variable to store the options. | |
initOptions ( ) | Initializes the widget options. | |
registerOptions ( View $view ) | Registers plugin options by storing it in a hashed javascript variable. |
Метод | Описание | |
---|---|---|
removeItems ( string $content ) | Clear HTML widgetBody. Required to work with zero or more items. |
protected getHashVarName ( ) : string | ||
Результат | string |
protected hashOptions ( ) |
public registerAssets ( View $view ) | ||
$view | View | The View object |
public registerHashVarWidget ( ) : boolean | ||
Результат | boolean |
protected registerOptions ( View $view ) | ||
$view | View | The View object |