Jelix 1.7.18

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

$builder  : HtmlBuilder
$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

$builder

protected HtmlBuilder $builder
Tags
deprecated

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(HtmlBuilder $builder) : mixed
Parameters
$builder : HtmlBuilder
Return values
mixed

outputHeader()

public outputHeader(HtmlBuilder $builder) : mixed
Parameters
$builder : HtmlBuilder
Return values
mixed

Search results