jFormsCompiler_jf_1_0

generates form class from an xml file describing the form

package

jelix

subpackage

forms

Methods

__construct

__construct( $sourceFile) 

Arguments

$sourceFile

_compile

_compile( $xml,  &$source) 

Arguments

$xml

$source

_generatePHPControl

_generatePHPControl( &$source,  $controltype,  $control) 

Arguments

$source

$controltype

$control

attrDefaultvalue

attrDefaultvalue( &$source,  &$attributes) 

Arguments

$source

$attributes

attrReadOnly

attrReadOnly( &$source,  &$attributes) 

Arguments

$source

$attributes

attrRequired

attrRequired( &$source,  &$attributes) 

Arguments

$source

$attributes

attrSize

attrSize( &$source,  &$attributes) 

Arguments

$source

$attributes

attrType

attrType( &$source,  &$attributes) 

Arguments

$source

$attributes

compile

compile( $doc,  &$source) 

Arguments

$doc

$source

generateCheckbox

generateCheckbox( &$source,  $control,  &$attributes) 

Arguments

$source

$control

$attributes

generateCheckboxes

generateCheckboxes( &$source,  $control,  &$attributes) 

Arguments

$source

$control

$attributes

generateInput

generateInput( &$source,  $control,  &$attributes) 

Arguments

$source

$control

$attributes

generateListbox

generateListbox( &$source,  $control,  &$attributes) 

Arguments

$source

$control

$attributes

generateMenulist

generateMenulist( &$source,  $control,  &$attributes) 

Arguments

$source

$control

$attributes

generateOutput

generateOutput( &$source,  $control,  &$attributes) 

Arguments

$source

$control

$attributes

generatePHPControl

generatePHPControl( $controltype,  $control) 

Arguments

$controltype

$control

generateRadiobuttons

generateRadiobuttons( &$source,  $control,  &$attributes) 

Arguments

$source

$control

$attributes

generateReset

generateReset( &$source,  $control,  &$attributes) 

Arguments

$source

$control

$attributes

generateSecret

generateSecret( &$source,  $control,  &$attributes) 

Arguments

$source

$control

$attributes

generateSubmit

generateSubmit( &$source,  $control,  &$attributes) 

Arguments

$source

$control

$attributes

generateTextarea

generateTextarea( &$source,  $control,  &$attributes) 

Arguments

$source

$control

$attributes

generateUpload

generateUpload( &$source,  $control,  &$attributes) 

Arguments

$source

$control

$attributes

readDatasource

readDatasource( &$source,  $control,  $controltype,  &$attributes,  $hasSelectedValues = false) 

Arguments

$source

$control

$controltype

$attributes

$hasSelectedValues

readEmptyValueLabel

readEmptyValueLabel( &$source,  $control) 

Arguments

$source

$control

readHelpHintAlert

readHelpHintAlert( &$source,  $control) 

Arguments

$source

$control

readLabel

readLabel( &$source,  $control,  $controltype) 

Arguments

$source

$control

$controltype

readSelectedValue

readSelectedValue( &$source,  $control,  $controltype,  &$attributes) 

Arguments

$source

$control

$controltype

$attributes

Constants

NS

NS

Properties

sourceFile

sourceFile : 

Type(s)

allowedType

allowedType : 

Type(s)