Jelix 1.8.11

WidgetInterface

Interface for HTML widgets plugins.

Tags

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.
outputControlRawValue()  : mixed
displays the raw value of the form field only.
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
Tags
Return values
mixed

getId()

return the id of the HTML element.

public getId() : mixed
Tags
Return values
mixed

getName()

return the name of the HTML element.

public getName() : mixed
Tags
Return values
mixed

getValue()

return the value of the HTML element.

public getValue() : mixed
Tags
Return values
mixed

outputControl()

displays the form field itself.

public outputControl() : mixed
Tags
Return values
mixed

outputControlRawValue()

displays the raw value of the form field only.

public outputControlRawValue() : mixed
Tags
Return values
mixed

outputControlValue()

displays the value of the form field only.

public outputControlValue() : mixed
Tags
Return values
mixed

outputHelp()

displays the help of the form field.

public outputHelp() : mixed
Tags
Return values
mixed

outputLabel()

displays the form field label.

public outputLabel([mixed $format = '' ][, mixed $editMode = true ]) : mixed
Parameters
$format : mixed = ''
$editMode : mixed = true
Tags
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>
Tags
Return values
mixed

Search results