jFormsCompiler_jf_1_1

Extends \jFormsCompiler_jf_1_0

generates form class from an xml file describing the form

package

jelix

subpackage

forms

Methods

__construct

__construct( $sourceFile) 
inherited

Arguments

$sourceFile

_compile

_compile( $xml,  &$source) 
inherited

Arguments

$xml

$source

_generatePHPControl

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

Arguments

$source

$controltype

$control

_generateTextareaHtmlEditor

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

Arguments

$source

$control

$attributes

attrDefaultvalue

attrDefaultvalue( &$source,  &$attributes) 
inherited

Arguments

$source

$attributes

attrReadOnly

attrReadOnly( &$source,  &$attributes) 
inherited

Arguments

$source

$attributes

attrRequired

attrRequired( &$source,  &$attributes) 
inherited

Arguments

$source

$attributes

attrSize

attrSize( &$source,  &$attributes) 
inherited

Arguments

$source

$attributes

attrType

attrType( &$source,  &$attributes) 
inherited

Arguments

$source

$attributes

compile

compile( $doc,  &$source) 
inherited

Arguments

$doc

$source

generateButton

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

Arguments

$source

$control

$attributes

generateCaptcha

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

Arguments

$source

$control

$attributes

generateCheckbox

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

Arguments

$source

$control

$attributes

generateCheckboxes

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

Arguments

$source

$control

$attributes

generateChoice

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

Arguments

$source

$control

$attributes

generateDate

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

Arguments

$source

$control

$attributes

generateDatetime

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

Arguments

$source

$control

$attributes

generateGroup

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

Arguments

$source

$control

$attributes

generateHidden

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

Arguments

$source

$control

$attributes

generateHtmleditor

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

Arguments

$source

$control

$attributes

generateInput

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

Arguments

$source

$control

$attributes

generateListbox

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

Arguments

$source

$control

$attributes

generateMenulist

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

Arguments

$source

$control

$attributes

generateOutput

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

Arguments

$source

$control

$attributes

generatePHPControl

generatePHPControl( $controltype,  $control) 
inherited

Arguments

$controltype

$control

generateRadiobuttons

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

Arguments

$source

$control

$attributes

generateReset

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

Arguments

$source

$control

$attributes

generateSecret

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

Arguments

$source

$control

$attributes

generateSubmit

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

Arguments

$source

$control

$attributes

generateTextarea

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

Arguments

$source

$control

$attributes

generateUpload

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

Arguments

$source

$control

$attributes

generateWikieditor

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

Arguments

$source

$control

$attributes

readChildControls

readChildControls(array &$source, string $controltype, \SimpleXMLElement $xml, array $ignore, string $itemname = '') : integer
Throws
\jException

Arguments

$source

array

$controltype

string

$xml

\SimpleXMLElement

$ignore

array

$itemname

string

Response

integer

readDatasource

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

Arguments

$source

$control

$controltype

$attributes

$hasSelectedValues

readEmptyValueLabel

readEmptyValueLabel( &$source,  $control) 
inherited

Arguments

$source

$control

readHelpHintAlert

readHelpHintAlert( &$source,  $control) 
inherited

Arguments

$source

$control

readItem

readItem( $item,  $hasSelectedValues,  $controltype,  &$selectedvalues) 

Arguments

$item

$hasSelectedValues

$controltype

$selectedvalues

readLabel

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

Arguments

$source

$control

$controltype

readOnCheckValue

readOnCheckValue( &$source,  $control) 

Arguments

$source

$control

readSelectedValue

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

Arguments

$source

$control

$controltype

$attributes

Constants

NS

NS
inherited

Properties

allowedType

allowedType : 
inherited

Type(s)

sourceFile

sourceFile : 
inherited

Type(s)