generates form class from an xml file describing the form
| package |
jelix |
|---|---|
| subpackage |
forms |
__construct( $sourceFile)
_compile( $xml, &$source)
_generatePHPControl( &$source, $controltype, $control)
_generateTextareaHtmlEditor( &$source, $control, &$attributes)
attrDefaultvalue( &$source, &$attributes)
attrReadOnly( &$source, &$attributes)
attrRequired( &$source, &$attributes)
attrSize( &$source, &$attributes)
attrType( &$source, &$attributes)
compile( $doc, &$source)
generateButton( &$source, $control, &$attributes)
generateCaptcha( &$source, $control, &$attributes)
generateCheckbox( &$source, $control, &$attributes)
generateCheckboxes( &$source, $control, &$attributes)
generateChoice( &$source, $control, &$attributes)
generateDate( &$source, $control, &$attributes)
generateDatetime( &$source, $control, &$attributes)
generateGroup( &$source, $control, &$attributes)
generateHidden( &$source, $control, &$attributes)
generateHtmleditor( &$source, $control, &$attributes)
generateInput( &$source, $control, &$attributes)
generateListbox( &$source, $control, &$attributes)
generateMenulist( &$source, $control, &$attributes)
generateOutput( &$source, $control, &$attributes)
generatePHPControl( $controltype, $control)
generateReset( &$source, $control, &$attributes)
generateSecret( &$source, $control, &$attributes)
generateSubmit( &$source, $control, &$attributes)
generateTextarea( &$source, $control, &$attributes)
generateUpload( &$source, $control, &$attributes)
generateWikieditor( &$source, $control, &$attributes)
readChildControls(array &$source, string $controltype, \SimpleXMLElement $xml, array $ignore, string $itemname = '') : integer
| Throws |
|
|---|
array
string
\SimpleXMLElement
array
string
integer
readDatasource( &$source, $control, $controltype, &$attributes, $hasSelectedValues = false)
readEmptyValueLabel( &$source, $control)
readHelpHintAlert( &$source, $control)
readItem( $item, $hasSelectedValues, $controltype, &$selectedvalues)
readLabel( &$source, $control, $controltype)
readOnCheckValue( &$source, $control)
readSelectedValue( &$source, $control, $controltype, &$attributes)
NS
allowedType :
sourceFile :