jFormsCompiler_jf_1_0
in package
generates form class from an xml file describing the form.
Tags
Table of Contents
- NS = 'http://jelix.org/ns/forms/1.0'
- $allowedType : mixed
- $controlClasses : mixed
- $sourceFile : mixed
- __construct() : mixed
- compile() : mixed
- _compile() : mixed
- _generatePHPControl() : mixed
- attrDefaultvalue() : mixed
- attrReadOnly() : mixed
- attrRequired() : mixed
- attrSize() : mixed
- attrType() : mixed
- generateCheckbox() : mixed
- generateCheckboxes() : mixed
- generateInput() : mixed
- generateListbox() : mixed
- generateMenulist() : mixed
- generateOutput() : mixed
- generatePHPControl() : mixed
- generateRadiobuttons() : mixed
- generateReset() : mixed
- generateSecret() : mixed
- generateSubmit() : mixed
- generateTextarea() : mixed
- generateUpload() : mixed
- readDatasource() : mixed
- readEmptyValueLabel() : mixed
- readHelpHintAlert() : mixed
- readLabel() : mixed
- readSelectedValue() : mixed
Constants
NS
public
mixed
NS
= 'http://jelix.org/ns/forms/1.0'
Tags
Properties
$allowedType
protected
mixed
$allowedType
= array('string', 'boolean', 'decimal', 'integer', 'hexadecimal', 'datetime', 'date', 'time', 'localedatetime', 'localedate', 'localetime', 'url', 'email', 'ipv4', 'ipv6')
Tags
$controlClasses
protected
static mixed
$controlClasses
= array('htmleditor' => 'jFormsControlHtmlEditor', 'wikieditor' => 'jFormsControlWikiEditor', 'secretconfirm' => 'jFormsControlSecretConfirm', 'image' => 'jFormsControlImageUpload')
Tags
$sourceFile
protected
mixed
$sourceFile
Tags
Methods
__construct()
public
__construct(mixed $sourceFile) : mixed
Parameters
- $sourceFile : mixed
Tags
Return values
mixed —compile()
public
compile(mixed $doc, mixed &$source) : mixed
Parameters
- $doc : mixed
- $source : mixed
Tags
Return values
mixed —_compile()
protected
_compile(mixed $xml, mixed &$source) : mixed
Parameters
- $xml : mixed
- $source : mixed
Tags
Return values
mixed —_generatePHPControl()
protected
_generatePHPControl(mixed &$source, mixed $controltype, mixed $control) : mixed
Parameters
- $source : mixed
- $controltype : mixed
- $control : mixed
Tags
Return values
mixed —attrDefaultvalue()
protected
attrDefaultvalue(mixed &$source, mixed &$attributes) : mixed
Parameters
- $source : mixed
- $attributes : mixed
Tags
Return values
mixed —attrReadOnly()
protected
attrReadOnly(mixed &$source, mixed &$attributes) : mixed
Parameters
- $source : mixed
- $attributes : mixed
Tags
Return values
mixed —attrRequired()
protected
attrRequired(mixed &$source, mixed &$attributes) : mixed
Parameters
- $source : mixed
- $attributes : mixed
Tags
Return values
mixed —attrSize()
protected
attrSize(mixed &$source, mixed &$attributes) : mixed
Parameters
- $source : mixed
- $attributes : mixed
Tags
Return values
mixed —attrType()
protected
attrType(mixed &$source, mixed &$attributes) : mixed
Parameters
- $source : mixed
- $attributes : mixed
Tags
Return values
mixed —generateCheckbox()
protected
generateCheckbox(mixed &$source, mixed $control, mixed &$attributes) : mixed
Parameters
- $source : mixed
- $control : mixed
- $attributes : mixed
Tags
Return values
mixed —generateCheckboxes()
protected
generateCheckboxes(mixed &$source, mixed $control, mixed &$attributes) : mixed
Parameters
- $source : mixed
- $control : mixed
- $attributes : mixed
Tags
Return values
mixed —generateInput()
protected
generateInput(mixed &$source, mixed $control, mixed &$attributes) : mixed
Parameters
- $source : mixed
- $control : mixed
- $attributes : mixed
Tags
Return values
mixed —generateListbox()
protected
generateListbox(mixed &$source, mixed $control, mixed &$attributes) : mixed
Parameters
- $source : mixed
- $control : mixed
- $attributes : mixed
Tags
Return values
mixed —generateMenulist()
protected
generateMenulist(mixed &$source, mixed $control, mixed &$attributes) : mixed
Parameters
- $source : mixed
- $control : mixed
- $attributes : mixed
Tags
Return values
mixed —generateOutput()
protected
generateOutput(mixed &$source, mixed $control, mixed &$attributes) : mixed
Parameters
- $source : mixed
- $control : mixed
- $attributes : mixed
Tags
Return values
mixed —generatePHPControl()
protected
generatePHPControl(mixed $controltype, mixed $control) : mixed
Parameters
- $controltype : mixed
- $control : mixed
Tags
Return values
mixed —generateRadiobuttons()
protected
generateRadiobuttons(mixed &$source, mixed $control, mixed &$attributes) : mixed
Parameters
- $source : mixed
- $control : mixed
- $attributes : mixed
Tags
Return values
mixed —generateReset()
protected
generateReset(mixed &$source, mixed $control, mixed &$attributes) : mixed
Parameters
- $source : mixed
- $control : mixed
- $attributes : mixed
Tags
Return values
mixed —generateSecret()
protected
generateSecret(mixed &$source, mixed $control, mixed &$attributes) : mixed
Parameters
- $source : mixed
- $control : mixed
- $attributes : mixed
Tags
Return values
mixed —generateSubmit()
protected
generateSubmit(mixed &$source, mixed $control, mixed &$attributes) : mixed
Parameters
- $source : mixed
- $control : mixed
- $attributes : mixed
Tags
Return values
mixed —generateTextarea()
protected
generateTextarea(mixed &$source, mixed $control, mixed &$attributes) : mixed
Parameters
- $source : mixed
- $control : mixed
- $attributes : mixed
Tags
Return values
mixed —generateUpload()
protected
generateUpload(mixed &$source, mixed $control, mixed &$attributes) : mixed
Parameters
- $source : mixed
- $control : mixed
- $attributes : mixed
Tags
Return values
mixed —readDatasource()
protected
readDatasource(mixed &$source, mixed $control, mixed $controltype, mixed &$attributes[, mixed $hasSelectedValues = false ]) : mixed
Parameters
- $source : mixed
- $control : mixed
- $controltype : mixed
- $attributes : mixed
- $hasSelectedValues : mixed = false
Tags
Return values
mixed —readEmptyValueLabel()
protected
readEmptyValueLabel(mixed &$source, mixed $control) : mixed
Parameters
- $source : mixed
- $control : mixed
Tags
Return values
mixed —readHelpHintAlert()
protected
readHelpHintAlert(mixed &$source, mixed $control) : mixed
Parameters
- $source : mixed
- $control : mixed
Tags
Return values
mixed —readLabel()
protected
readLabel(mixed &$source, mixed $control, mixed $controltype) : mixed
Parameters
- $source : mixed
- $control : mixed
- $controltype : mixed
Tags
Return values
mixed —readSelectedValue()
protected
readSelectedValue(mixed &$source, mixed $control, mixed $controltype, mixed &$attributes) : mixed
Parameters
- $source : mixed
- $control : mixed
- $controltype : mixed
- $attributes : mixed