Jelix 1.7.18

WidgetInterface
in

Interface for HTML widgets plugins.

Table of Contents

__construct()  : mixed
getId()  : mixed
return the id of the HTML element.
getName()  : mixed
return the name of the HTML element.
getValue()  : mixed
return the value of the HTML element.
outputControl()  : mixed
displays the form field itself.
outputControlValue()  : mixed
displays the value of the form field only.
outputHelp()  : mixed
displays the help of the form field.
outputLabel()  : mixed
displays the form field label.
outputMetaContent()  : mixed
add the CSS and javascript link.
setAttributes()  : mixed
set attributes to add on the HTML element.

Methods

__construct()

public __construct(mixed $args) : mixed
Parameters
$args : mixed
Return values
mixed

getId()

return the id of the HTML element.

public getId() : mixed
Return values
mixed

getName()

return the name of the HTML element.

public getName() : mixed
Return values
mixed

getValue()

return the value of the HTML element.

public getValue() : mixed
Return values
mixed

outputControl()

displays the form field itself.

public outputControl() : mixed
Return values
mixed

outputControlValue()

displays the value of the form field only.

public outputControlValue() : mixed
Return values
mixed

outputHelp()

displays the help of the form field.

public outputHelp() : mixed
Return values
mixed

outputLabel()

displays the form field label.

public outputLabel([mixed $format = '' ][, mixed $editMode = true ]) : mixed
Parameters
$format : mixed = ''
$editMode : mixed = true
Return values
mixed

setAttributes()

set attributes to add on the HTML element.

public setAttributes(array<string|int, mixed> $attributes) : mixed
Parameters
$attributes : array<string|int, mixed>
Return values
mixed

Search results