RootWidget
in package
implements
ParentWidgetInterface
Interfaces, Classes and Traits
- ParentWidgetInterface
- Interface for widgets that can have children widget: main builder, choice etc.
Table of Contents
- $finalJs : mixed
- $js : mixed
- addFinalJs() : mixed
- Add javascript content into the generated form to be insert at the end of the whole JS generated script.
- addJs() : mixed
- Add javascript content into the generated form
- controlJsChild() : bool
- indicate if the parent widget generate itself some of js child
- outputFooter() : mixed
- outputHeader() : mixed
Properties
$finalJs
protected
mixed
$finalJs
= ''
$js
protected
mixed
$js
= ''
Methods
addFinalJs()
Add javascript content into the generated form to be insert at the end of the whole JS generated script.
public
addFinalJs(mixed $js) : mixed
Parameters
- $js : mixed
Return values
mixed —addJs()
Add javascript content into the generated form
public
addJs(mixed $js) : mixed
Parameters
- $js : mixed
Return values
mixed —controlJsChild()
indicate if the parent widget generate itself some of js child
public
controlJsChild() : bool
Return values
bool —outputFooter()
public
outputFooter() : mixed
Return values
mixed —outputHeader()
public
outputHeader(HtmlBuilder $builder) : mixed
Parameters
- $builder : HtmlBuilder