13 'Inline' =>
'Formctrl',
16 public function setup($config) {
18 'Required: Heading | List | Block | fieldset',
'Common', array(
19 'accept' =>
'ContentTypes',
20 'accept-charset' =>
'Charsets',
22 'method' =>
'Enum#get,post',
24 'enctype' =>
'Enum#application/x-www-form-urlencoded,multipart/form-data',
26 $form->excludes = array(
'form' =>
true);
28 $input = $this->
addElement(
'input',
'Formctrl',
'Empty',
'Common', array(
29 'accept' =>
'ContentTypes',
30 'accesskey' =>
'Character',
32 'checked' =>
'Bool#checked',
33 'disabled' =>
'Bool#disabled',
34 'maxlength' =>
'Number',
36 'readonly' =>
'Bool#readonly',
38 'src' =>
'URI#embedded',
39 'tabindex' =>
'Number',
40 'type' =>
'Enum#text,password,checkbox,button,radio,submit,reset,file,hidden,image',
45 $this->
addElement(
'select',
'Formctrl',
'Required: optgroup | option',
'Common', array(
46 'disabled' =>
'Bool#disabled',
47 'multiple' =>
'Bool#multiple',
50 'tabindex' =>
'Number',
53 $this->
addElement(
'option',
false,
'Optional: #PCDATA',
'Common', array(
54 'disabled' =>
'Bool#disabled',
56 'selected' =>
'Bool#selected',
63 $textarea = $this->
addElement(
'textarea',
'Formctrl',
'Optional: #PCDATA',
'Common', array(
64 'accesskey' =>
'Character',
66 'disabled' =>
'Bool#disabled',
68 'readonly' =>
'Bool#readonly',
70 'tabindex' =>
'Number',
74 $button = $this->
addElement(
'button',
'Formctrl',
'Optional: #PCDATA | Heading | List | Block | Inline',
'Common', array(
75 'accesskey' =>
'Character',
76 'disabled' =>
'Bool#disabled',
78 'tabindex' =>
'Number',
79 'type' =>
'Enum#button,submit,reset',
86 'input',
'select',
'textarea',
'label',
'button',
96 $this->
addElement(
'fieldset',
'Form',
'Custom: (#WS?,legend,(Flow|#PCDATA)*)',
'Common');
98 $label = $this->
addElement(
'label',
'Formctrl',
'Optional: #PCDATA | Inline',
'Common', array(
99 'accesskey' =>
'Character',
102 $label->excludes = array(
'label' =>
true);
104 $this->
addElement(
'legend',
false,
'Optional: #PCDATA | Inline',
'Common', array(
105 'accesskey' =>
'Character',
108 $this->
addElement(
'optgroup',
false,
'Required: option',
'Common', array(
109 'disabled' =>
'Bool#disabled',