.\" Automatically generated by Pod::Man 4.07 (Pod::Simple 3.32) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .if !\nF .nr F 0 .if \nF>0 \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} .\} .\" ======================================================================== .\" .IX Title "HTML::FormFu::Element::Block 3pm" .TH HTML::FormFu::Element::Block 3pm "2016-10-29" "perl v5.24.1" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" HTML::FormFu::Element::Block \- Block element .SH "VERSION" .IX Header "VERSION" version 2.05 .SH "SYNOPSIS" .IX Header "SYNOPSIS" .Vb 6 \& \-\-\- \& elements: \& \- type: Block \& elements: \& \- type: Text \& name: foo \& \& \- type: Block \& tag: span \& content: Whatever .Ve .SH "DESCRIPTION" .IX Header "DESCRIPTION" Block element which may contain other elements. .SH "METHODS" .IX Header "METHODS" .SS "tag" .IX Subsection "tag" Specifies which tag name should be used to render the block. .PP Default Value: 'div' .SS "content" .IX Subsection "content" If \*(L"content\*(R" is set, it is used as the block's contents, and any attached elements are ignored. .SS "content_xml" .IX Subsection "content_xml" Arguments: \f(CW$string\fR .PP If you don't want the content to be XML-escaped, use the \*(L"content_xml\*(R" method instead of \*(L"content\*(R". .SS "content_loc" .IX Subsection "content_loc" Arguments: \f(CW$localization_key\fR .PP To set the content to a localized string, set \*(L"content_loc\*(R" to a key in your L10N file instead of using \*(L"content\*(R". .SS "elements" .IX Subsection "elements" See \*(L"elements\*(R" in HTML::FormFu for details. .SS "element" .IX Subsection "element" See \*(L"element\*(R" in HTML::FormFu for details. .SS "deflators" .IX Subsection "deflators" See \*(L"deflators\*(R" in HTML::FormFu for details. .SS "deflator" .IX Subsection "deflator" See \*(L"deflator\*(R" in HTML::FormFu for details. .SS "filters" .IX Subsection "filters" See \*(L"filters\*(R" in HTML::FormFu for details. .SS "filter" .IX Subsection "filter" See \*(L"filter\*(R" in HTML::FormFu for details. .SS "constraints" .IX Subsection "constraints" See \*(L"constraints\*(R" in HTML::FormFu for details. .SS "constraint" .IX Subsection "constraint" See \*(L"constraint\*(R" in HTML::FormFu for details. .SS "inflators" .IX Subsection "inflators" See \*(L"inflators\*(R" in HTML::FormFu for details. .SS "inflator" .IX Subsection "inflator" See \*(L"inflator\*(R" in HTML::FormFu for details. .SS "validators" .IX Subsection "validators" See \*(L"validators\*(R" in HTML::FormFu for details. .SS "validator" .IX Subsection "validator" See \*(L"validator\*(R" in HTML::FormFu for details. .SS "transformers" .IX Subsection "transformers" See \*(L"transformers\*(R" in HTML::FormFu for details. .SS "transformer" .IX Subsection "transformer" See \*(L"transformer\*(R" in HTML::FormFu for details. .SS "auto_datalist_id" .IX Subsection "auto_datalist_id" See \*(L"auto_datalist_id\*(R" in HTML::FormFu for details. .SH "CSS CLASSES" .IX Header "CSS CLASSES" .SS "auto_id" .IX Subsection "auto_id" See \*(L"auto_id\*(R" in HTML::FormFu for details. .SS "auto_block_id" .IX Subsection "auto_block_id" Arguments: [$string] .PP If set, the Block will be given an auto-generated id attribute, if it doesn't have one already. .PP The following character substitution will be performed: \f(CW%f\fR will be replaced by \f(CW$form\fR\->id, \f(CW%r\fR will be replaced by \&\f(CW$block\fR\->repeatable_count. .PP Default Value: not defined .PP Unlike most other auto_* methods, this is not an 'inherited accessor'. .SS "auto_label" .IX Subsection "auto_label" See \*(L"auto_label\*(R" in HTML::FormFu for details. .SS "auto_error_class" .IX Subsection "auto_error_class" See \*(L"auto_error_class\*(R" in HTML::FormFu for details. .SS "auto_error_message" .IX Subsection "auto_error_message" See \*(L"auto_error_message\*(R" in HTML::FormFu for details. .SS "auto_constraint_class" .IX Subsection "auto_constraint_class" See \*(L"auto_constraint_class\*(R" in HTML::FormFu for details. .SS "auto_inflator_class" .IX Subsection "auto_inflator_class" See \*(L"auto_inflator_class\*(R" in HTML::FormFu for details. .SS "auto_validator_class" .IX Subsection "auto_validator_class" See \*(L"auto_validator_class\*(R" in HTML::FormFu for details. .SS "auto_transformer_class" .IX Subsection "auto_transformer_class" See \*(L"auto_transformer_class\*(R" in HTML::FormFu for details. .SS "default_args" .IX Subsection "default_args" See \*(L"default_args\*(R" in HTML::FormFu for details. .SH "RENDERING" .IX Header "RENDERING" .SS "start" .IX Subsection "start" .SS "end" .IX Subsection "end" .SH "INTROSPECTION" .IX Header "INTROSPECTION" .SS "get_elements" .IX Subsection "get_elements" See \*(L"get_elements\*(R" in HTML::FormFu for details. .SS "get_element" .IX Subsection "get_element" See \*(L"get_element\*(R" in HTML::FormFu for details. .SS "get_all_elements" .IX Subsection "get_all_elements" See \*(L"get_all_elements\*(R" in HTML::FormFu for details. .SS "get_fields" .IX Subsection "get_fields" See \*(L"get_fields\*(R" in HTML::FormFu for details. .SS "get_field" .IX Subsection "get_field" See \*(L"get_field\*(R" in HTML::FormFu for details. .SS "get_deflators" .IX Subsection "get_deflators" See \*(L"get_deflators\*(R" in HTML::FormFu for details. .SS "get_deflator" .IX Subsection "get_deflator" See \*(L"get_deflator\*(R" in HTML::FormFu for details. .SS "get_filters" .IX Subsection "get_filters" See \*(L"get_filters\*(R" in HTML::FormFu for details. .SS "get_filter" .IX Subsection "get_filter" See \*(L"get_filter\*(R" in HTML::FormFu for details. .SS "get_constraints" .IX Subsection "get_constraints" See \*(L"get_constraints\*(R" in HTML::FormFu for details. .SS "get_constraint" .IX Subsection "get_constraint" See \*(L"get_constraint\*(R" in HTML::FormFu for details. .SS "get_inflators" .IX Subsection "get_inflators" See \*(L"get_inflators\*(R" in HTML::FormFu for details. .SS "get_inflator" .IX Subsection "get_inflator" See \*(L"get_inflator\*(R" in HTML::FormFu for details. .SS "get_validators" .IX Subsection "get_validators" See \*(L"get_validators\*(R" in HTML::FormFu for details. .SS "get_validator" .IX Subsection "get_validator" See \*(L"get_validator\*(R" in HTML::FormFu for details. .SS "get_transformers" .IX Subsection "get_transformers" See \*(L"get_transformers\*(R" in HTML::FormFu for details. .SS "get_transformer" .IX Subsection "get_transformer" See \*(L"get_transformer\*(R" in HTML::FormFu for details. .SS "get_errors" .IX Subsection "get_errors" See \*(L"get_errors\*(R" in HTML::FormFu for details. .SS "clear_errors" .IX Subsection "clear_errors" See \*(L"clear_errors\*(R" in HTML::FormFu for details. .SH "SEE ALSO" .IX Header "SEE ALSO" Base-class for HTML::FormFu::Element::Fieldset. .PP Is a sub-class of, and inherits methods from HTML::FormFu::Element .PP HTML::FormFu .SH "REMOVED METHODS" .IX Header "REMOVED METHODS" .SS "element_defaults" .IX Subsection "element_defaults" Has been removed; use \*(L"default_args\*(R" instead. .SH "AUTHOR" .IX Header "AUTHOR" Carl Franks, \f(CW\*(C`cfranks@cpan.org\*(C'\fR .SH "LICENSE" .IX Header "LICENSE" This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.