WidgetInterface

Extends

Interface for HTML widgets plugins

package

jelix

Methods

__construct

__construct( $args) 

Arguments

$args

return the id of the HTML element

getId() 

return the name of the HTML element

getName() 

return the value of the HTML element

getValue() 

displays the form field itself

outputControl() 

displays the value of the form field only

outputControlValue() 

displays the help of the form field

outputHelp() 

displays the form field label.

outputLabel( $format = '',  $editMode = true) 

Arguments

$format

$editMode

add the CSS and javascript link

outputMetaContent(\jResponseHtml $resp) 

Arguments

$resp

\jResponseHtml

The response used

set attributes to add on the HTML element

setAttributes(array $attributes) 

Arguments

$attributes

array