![]() |
![]()
| ![]() |
![]()
NAMEHTML::FormFu::Element::Block - Block element VERSIONversion 2.07 SYNOPSIS--- elements: - type: Block elements: - type: Text name: foo - type: Block tag: span content: Whatever DESCRIPTIONBlock element which may contain other elements. METHODStagSpecifies which tag name should be used to render the block. Default Value: 'div' contentIf "content" is set, it is used as the block's contents, and any attached elements are ignored. content_xmlArguments: $string If you don't want the content to be XML-escaped, use the "content_xml" method instead of "content". content_locArguments: $localization_key To set the content to a localized string, set "content_loc" to a key in your L10N file instead of using "content". elementsSee "elements" in HTML::FormFu for details. elementSee "element" in HTML::FormFu for details. deflatorsSee "deflators" in HTML::FormFu for details. deflatorSee "deflator" in HTML::FormFu for details. filtersSee "filters" in HTML::FormFu for details. filterSee "filter" in HTML::FormFu for details. constraintsSee "constraints" in HTML::FormFu for details. constraintSee "constraint" in HTML::FormFu for details. inflatorsSee "inflators" in HTML::FormFu for details. inflatorSee "inflator" in HTML::FormFu for details. validatorsSee "validators" in HTML::FormFu for details. validatorSee "validator" in HTML::FormFu for details. transformersSee "transformers" in HTML::FormFu for details. transformerSee "transformer" in HTML::FormFu for details. auto_datalist_idSee "auto_datalist_id" in HTML::FormFu for details. CSS CLASSESauto_idSee "auto_id" in HTML::FormFu for details. auto_block_idArguments: [$string] If set, the Block will be given an auto-generated id attribute, if it doesn't have one already. The following character substitution will be performed: %f will be replaced by $form->id, %r will be replaced by $block->repeatable_count. Default Value: not defined Unlike most other auto_* methods, this is not an 'inherited accessor'. auto_labelSee "auto_label" in HTML::FormFu for details. auto_error_field_classSee "auto_error_field_class" in HTML::FormFu for details. auto_error_classSee "auto_error_class" in HTML::FormFu for details. auto_error_messageSee "auto_error_message" in HTML::FormFu for details. auto_constraint_classSee "auto_constraint_class" in HTML::FormFu for details. auto_inflator_classSee "auto_inflator_class" in HTML::FormFu for details. auto_validator_classSee "auto_validator_class" in HTML::FormFu for details. auto_transformer_classSee "auto_transformer_class" in HTML::FormFu for details. default_argsSee "default_args" in HTML::FormFu for details. RENDERINGstartendINTROSPECTIONget_elementsSee "get_elements" in HTML::FormFu for details. get_elementSee "get_element" in HTML::FormFu for details. get_all_elementsSee "get_all_elements" in HTML::FormFu for details. get_fieldsSee "get_fields" in HTML::FormFu for details. get_fieldSee "get_field" in HTML::FormFu for details. get_deflatorsSee "get_deflators" in HTML::FormFu for details. get_deflatorSee "get_deflator" in HTML::FormFu for details. get_filtersSee "get_filters" in HTML::FormFu for details. get_filterSee "get_filter" in HTML::FormFu for details. get_constraintsSee "get_constraints" in HTML::FormFu for details. get_constraintSee "get_constraint" in HTML::FormFu for details. get_inflatorsSee "get_inflators" in HTML::FormFu for details. get_inflatorSee "get_inflator" in HTML::FormFu for details. get_validatorsSee "get_validators" in HTML::FormFu for details. get_validatorSee "get_validator" in HTML::FormFu for details. get_transformersSee "get_transformers" in HTML::FormFu for details. get_transformerSee "get_transformer" in HTML::FormFu for details. get_errorsSee "get_errors" in HTML::FormFu for details. clear_errorsSee "clear_errors" in HTML::FormFu for details. SEE ALSOBase-class for HTML::FormFu::Element::Fieldset. Is a sub-class of, and inherits methods from HTML::FormFu::Element HTML::FormFu REMOVED METHODSelement_defaultsHas been removed; use "default_args" instead. AUTHORCarl Franks, "cfranks@cpan.org" LICENSEThis library is free software, you can redistribute it and/or modify it under the same terms as Perl itself. AUTHORCarl Franks <cpan@fireartist.com> COPYRIGHT AND LICENSEThis software is copyright (c) 2018 by Carl Franks. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
|