HTML::Prototype::Helper::Tag(3pm)

HTML::Prototype::Helper::Tag3pm

Defines a tag object needed by html::prototype

Usage

        use HTML::Prototype::Helper;

Overview

Defines a tag object needed by HTML::Prototype

Remarks

Until version 1.43, the internal function $self-_tag> used $tag-as_XML> as its return value. By now, it will use $tag-as_HTML( $entities )> to invokee HTML::Entities::encode_entities. This behaviour can be overridden by setting $HTML::Prototype::Helper::Tag::USE_ASXML_FOR_TAG to 1.

Methods

HTML::Prototype::Helper::Tag->new( $object_name, $method_name, $template_object, $local_binding, $object )
$tag->object_name( [$object_name] )
$tag->method_name( [$method_name] )
$tag->template_object( [$template_object] )
$tag->local_binding( [$local_binding] )
$tag->object( [$object] )
$tag->value( )
$tag->value_before_type_cast( )
$tag->to_input_field_tag( $field_type, \%options )
$tag->to_content_tag( $tag_name, $value, \%options )

Releases

10 releases since Debian 4.0 (Etch); the text changed 5 times.

  1. 4.0–5.0
  2. 6.0–7
  3. 8
  4. 9–10
  5. 11
  6. 12–13

Author

Sascha Kiefer, "[email protected]"

Built around Prototype by Sam Stephenson. Much code is ported from Ruby on Rails javascript helpers.

License

This library is free software. You can redistribute it and/or modify it under the same terms as perl itself.

From libhtml-prototype-perl 1.48-6 in Debian 13 (Trixie). Parsed by carta from the page's man source.