line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package HTML::FormFu::Element::Reset; |
2
|
|
|
|
|
|
|
|
3
|
3
|
|
|
3
|
|
900
|
use strict; |
|
3
|
|
|
|
|
4
|
|
|
3
|
|
|
|
|
126
|
|
4
|
|
|
|
|
|
|
our $VERSION = '2.05'; # VERSION |
5
|
|
|
|
|
|
|
|
6
|
3
|
|
|
3
|
|
13
|
use Moose; |
|
3
|
|
|
|
|
2
|
|
|
3
|
|
|
|
|
18
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
extends 'HTML::FormFu::Element::Button'; |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
after BUILD => sub { |
11
|
|
|
|
|
|
|
my $self = shift; |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
$self->field_type('reset'); |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
return; |
16
|
|
|
|
|
|
|
}; |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
1; |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
__END__ |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=head1 NAME |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
HTML::FormFu::Element::Reset - Reset button form field |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head1 VERSION |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
version 2.05 |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=head1 SYNOPSIS |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
$e = $form->element( Reset => 'foo' ); |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=head1 DESCRIPTION |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
Reset button form field. |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=head1 METHODS |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=head1 SEE ALSO |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
Is a sub-class of, and inherits methods from |
45
|
|
|
|
|
|
|
L<HTML::FormFu::Element::Button>, |
46
|
|
|
|
|
|
|
L<HTML::FormFu::Role::Element::Input>, |
47
|
|
|
|
|
|
|
L<HTML::FormFu::Role::Element::Field>, |
48
|
|
|
|
|
|
|
L<HTML::FormFu::Element> |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
L<HTML::FormFu> |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=head1 AUTHOR |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
Carl Franks, C<cfranks@cpan.org> |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
=head1 LICENSE |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
This library is free software, you can redistribute it and/or modify it under |
59
|
|
|
|
|
|
|
the same terms as Perl itself. |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
=cut |