1HTML::FormFu::Element::UBsleorckC(o3n)tributed Perl DocuHmTeMnLt:a:tFioornmFu::Element::Block(3)
2
3
4

NAME

6       HTML::FormFu::Element::Block - Block element
7

SYNOPSIS

9           ---
10           elements:
11             - type: Block
12               elements:
13                 - type: Text
14                   name: foo
15
16             - type: Block
17               tag: span
18               content: Whatever
19

DESCRIPTION

21       Block element which may contain other elements.
22

METHODS

24   tag
25       Specifies which tag name should be used to render the block.
26
27       Default Value: 'div'
28
29   content
30       If "content" is set, it is used as the block's contents, and any
31       attached elements are ignored.
32
33   content_xml
34       Arguments: $string
35
36       If you don't want the content to be XML-escaped, use the "content_xml"
37       method instead of "content".
38
39   content_loc
40       Arguments: $localization_key
41
42       To set the content to a localized string, set "content_loc" to a key in
43       your L10N file instead of using "content".
44
45   elements
46       See "elements" in HTML::FormFu for details.
47
48   element
49       See "element" in HTML::FormFu for details.
50
51   deflators
52       See "deflators" in HTML::FormFu for details.
53
54   deflator
55       See "deflator" in HTML::FormFu for details.
56
57   filters
58       See "filters" in HTML::FormFu for details.
59
60   filter
61       See "filter" in HTML::FormFu for details.
62
63   constraints
64       See "constraints" in HTML::FormFu for details.
65
66   constraint
67       See "constraint" in HTML::FormFu for details.
68
69   inflators
70       See "inflators" in HTML::FormFu for details.
71
72   inflator
73       See "inflator" in HTML::FormFu for details.
74
75   validators
76       See "validators" in HTML::FormFu for details.
77
78   validator
79       See "validator" in HTML::FormFu for details.
80
81   transformers
82       See "transformers" in HTML::FormFu for details.
83
84   transformer
85       See "transformer" in HTML::FormFu for details.
86

CSS CLASSES

88   auto_id
89       See "auto_id" in HTML::FormFu for details.
90
91   auto_block_id
92       Arguments: [$string]
93
94       If set, the Block will be given an auto-generated id attribute, if it
95       doesn't have one already.
96
97       The following character substitution will be performed: %f will be
98       replaced by $form->id, %r will be replaced by $block->repeatable_count.
99
100       Default Value: not defined
101
102       Unlike most other auto_* methods, this is not an 'inherited accessor'.
103
104   auto_label
105       See "auto_label" in HTML::FormFu for details.
106
107   auto_error_class
108       See "auto_error_class" in HTML::FormFu for details.
109
110   auto_error_message
111       See "auto_error_message" in HTML::FormFu for details.
112
113   auto_constraint_class
114       See "auto_constraint_class" in HTML::FormFu for details.
115
116   auto_inflator_class
117       See "auto_inflator_class" in HTML::FormFu for details.
118
119   auto_validator_class
120       See "auto_validator_class" in HTML::FormFu for details.
121
122   auto_transformer_class
123       See "auto_transformer_class" in HTML::FormFu for details.
124

RENDERING

126   start
127   end

INTROSPECTION

129   get_elements
130       See "get_elements" in HTML::FormFu for details.
131
132   get_element
133       See "get_element" in HTML::FormFu for details.
134
135   get_all_elements
136       See "get_all_elements" in HTML::FormFu for details.
137
138   get_fields
139       See "get_fields" in HTML::FormFu for details.
140
141   get_field
142       See "get_field" in HTML::FormFu for details.
143
144   get_deflators
145       See "get_deflators" in HTML::FormFu for details.
146
147   get_deflator
148       See "get_deflator" in HTML::FormFu for details.
149
150   get_filters
151       See "get_filters" in HTML::FormFu for details.
152
153   get_filter
154       See "get_filter" in HTML::FormFu for details.
155
156   get_constraints
157       See "get_constraints" in HTML::FormFu for details.
158
159   get_constraint
160       See "get_constraint" in HTML::FormFu for details.
161
162   get_inflators
163       See "get_inflators" in HTML::FormFu for details.
164
165   get_inflator
166       See "get_inflator" in HTML::FormFu for details.
167
168   get_validators
169       See "get_validators" in HTML::FormFu for details.
170
171   get_validator
172       See "get_validator" in HTML::FormFu for details.
173
174   get_transformers
175       See "get_transformers" in HTML::FormFu for details.
176
177   get_transformer
178       See "get_transformer" in HTML::FormFu for details.
179
180   get_errors
181       See "get_errors" in HTML::FormFu for details.
182
183   clear_errors
184       See "clear_errors" in HTML::FormFu for details.
185

SEE ALSO

187       Base-class for HTML::FormFu::Element::Fieldset.
188
189       Is a sub-class of, and inherits methods from HTML::FormFu::Element
190
191       HTML::FormFu
192

AUTHOR

194       Carl Franks, "cfranks@cpan.org"
195

LICENSE

197       This library is free software, you can redistribute it and/or modify it
198       under the same terms as Perl itself.
199
200
201
202perl v5.12.1                      2010-05-23   HTML::FormFu::Element::Block(3)
Impressum