Jelix 1.8.14-pre

RootWidget
in package
implements ParentWidgetInterface

Tags

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
Tags
Return values
mixed

addJs()

Add javascript content into the generated form.

public addJs(mixed $js) : mixed
Parameters
$js : mixed
Tags
Return values
mixed

controlJsChild()

indicate if the parent widget generate itself some of js child.

public controlJsChild() : bool
Tags
Return values
bool

outputFooter()

public outputFooter(HtmlBuilder $builder) : mixed
Parameters
$builder : HtmlBuilder
Tags
Return values
mixed

outputHeader()

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

Search results