Class: base_formdesigner_xml

Quellcode Position: Program_Root/base_formdsg_xml.php

Class base_formdesigner_xml

Class Overview

formular designer

Implementiert in Program_Root/base_formdsg_xml.php [Zeile 26]

base_object
   |
   --base_formdesigner_xml
Author(s): Information Tags:

Properties

Methods

Direct Derivates
Abgeleitete Class Description
base_formdesigner Design formulars

Inherited Properties And Methods
Inherited Properties Inherited Methods

Abgeleitet von base_object

base_object::$msgs

Abgeleitet von base_object

base_object::addmsg()
Adds a message in the message object.
base_object::createPluginObject()
Create plugin object
base_object::debug()
Show the debug of the variable &$var
base_object::encodeQueryString()
Encode query string
base_object::escapeForFilename()
Escape chars in a string to use it in a filename
base_object::getAbsoluteURL()
Return absolute URL
base_object::getBaseLink()
Get base link
base_object::getBasePath()
get base path to current script
base_object::getLink()
Get link
base_object::getSessionValue()
base_object::getWebLink()
Get web link
base_object::getWebMediaLink()
Get web media link
base_object::includePluginFile()
Include plugin file
base_object::initializeParams()
Parameter initialisation
base_object::initializeSessionParam()
Initialisation of session-parameter
base_object::logMsg()
Log events
base_object::parseRequestURI()
Parse request URI to filter data out of it
base_object::setSessionValue()
base_object::stripslashes()
base_object::_gt()
Phrasetranslator - Fetch translation for all phrase
base_object::_gtf()
Phrasetranslator - Fetch translation of one phrase and insert variable
base_object::_gtfile()
Phrases - Locate files

Properties Summary
mixed   $fields  
mixed   $groups  
mixed   $types  

Method Summary
simple_xmlnode   createXMLTree()   Create a XML tree
string   fields2xml()   Fields to XML
void   xml2fields()   XML to fields

Properties
mixed   $fields [Zeile 28]

mixed   $groups [Zeile 27]

mixed   $types = array('input' => array('maxlength' => array('Max length', 'isNum', true, 'input', 3, '', 100)),
'checkbox' => array('value_on' => array('On', 'isNoHTML', true, 'input', 100, '', 'X'),
'value_off' => array('Off', 'isNoHTML', true, 'input', 100, '', 'O'),
'default' => array('Default', 'isNum', true, 'combo', array(1=>'Checked',0=>'Not checked'), '', 0),
'caption' => array('Caption', 'isNoHTML', false, 'input', 100, '', '')),
'checkboxes' => array('items' => array('Items', 'isNoHTML', true, 'textarea', 6, '', 'value=caption')),
'combobox' => array('items' => array('Items', 'isNoHTML', true, 'textarea', 6, '', 'value=caption')),
'file' => array('folder' => array('Folder', 'isNum', true, 'function', 'getMediaDirectoryCombo'),
'delcaption' => array('Caption: Delete button', 'isAlphaNumChar', true, 'input', 30, '', 'Delete')),
'image' => array('folder' => array('Folder', 'isNum', true, 'function', 'getMediaDirectoryCombo'),
'delcaption' => array('Caption: Delete button', 'isAlphaNumChar', true, 'input', 30, '', 'Delete'),
'width' => array('Width', 'isNum', true, 'input', 4, '', 240),
'height' => array('Height', 'isNum', true, 'input', 4, '', 180)),
'radio' => array('items' => array('Items', 'isNoHTML', true, 'textarea', 6, '', 'value=caption')),
'textarea' => array('rows' => array('Rows', 'isNum', true, 'input', 3, '', 5)),
'url' => array('maxlength' => array('Max length', 'isNum', true, 'input', 3, '', 200),
'linktext' => array('Link text', 'isAlphaNumChar', false, 'input', 40, '', ''),
'target' => array('Link target', 'isAlphaNumChar', false, 'combo',
array('_blank'=>'_blank','_parent'=>'_parent','_self'=>'_self','_top'=>'_top'),
'', '_self')),

)
[Zeile 30]

Methods
createXMLTree  [Zeile 186]

  simple_xmlnode createXMLTree( string $xmldata  )

Create a XML tree

Parameters:
string   $xmldata:  XML-string

API Tags:
Return:  $xmltree XML-tree

Neu definiert in folgenden Ableitungen:

fields2xml  [Zeile 144]

  string fields2xml( )

Fields to XML


API Tags:
Return:  XML
Access:  public

Neu definiert in folgenden Ableitungen:

xml2fields  [Zeile 78]

  void xml2fields( string $xml  )

XML to fields

Parameters:
string   $xml: 

API Tags:
Access:  public

Neu definiert in folgenden Ableitungen: