line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Rose::HTML::Form::Field::Password; |
2
|
|
|
|
|
|
|
|
3
|
2
|
|
|
2
|
|
107029
|
use strict; |
|
2
|
|
|
|
|
16
|
|
|
2
|
|
|
|
|
81
|
|
4
|
|
|
|
|
|
|
|
5
|
2
|
|
|
2
|
|
13
|
use base 'Rose::HTML::Form::Field::Text'; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
666
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
our $VERSION = '0.606'; |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
__PACKAGE__->add_required_html_attrs( |
10
|
|
|
|
|
|
|
{ |
11
|
|
|
|
|
|
|
type => 'password', |
12
|
|
|
|
|
|
|
name => '', |
13
|
|
|
|
|
|
|
size => 15, |
14
|
|
|
|
|
|
|
value => '', |
15
|
|
|
|
|
|
|
}); |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
1; |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
__END__ |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
=head1 NAME |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
Rose::HTML::Form::Field::Password - Object representation of a password field in an HTML form. |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
=head1 SYNOPSIS |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
$field = |
28
|
|
|
|
|
|
|
Rose::HTML::Form::Field::Password->new( |
29
|
|
|
|
|
|
|
label => 'Your Password', |
30
|
|
|
|
|
|
|
name => 'password', |
31
|
|
|
|
|
|
|
size => 16, |
32
|
|
|
|
|
|
|
maxlength => 64); |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
$pw = $field->internal_value; |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
print $field->html; |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
... |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=head1 DESCRIPTION |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
L<Rose::HTML::Form::Field::Password> is an object representation of a password field in an HTML form. |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
This class inherits from, and follows the conventions of, L<Rose::HTML::Form::Field>. Inherited methods that are not overridden will not be documented a second time here. See the L<Rose::HTML::Form::Field> documentation for more information. |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=head1 HTML ATTRIBUTES |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
Valid attributes: |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
accept |
51
|
|
|
|
|
|
|
accesskey |
52
|
|
|
|
|
|
|
checked |
53
|
|
|
|
|
|
|
class |
54
|
|
|
|
|
|
|
dir |
55
|
|
|
|
|
|
|
disabled |
56
|
|
|
|
|
|
|
id |
57
|
|
|
|
|
|
|
lang |
58
|
|
|
|
|
|
|
maxlength |
59
|
|
|
|
|
|
|
name |
60
|
|
|
|
|
|
|
onblur |
61
|
|
|
|
|
|
|
onchange |
62
|
|
|
|
|
|
|
onclick |
63
|
|
|
|
|
|
|
ondblclick |
64
|
|
|
|
|
|
|
onfocus |
65
|
|
|
|
|
|
|
onkeydown |
66
|
|
|
|
|
|
|
onkeypress |
67
|
|
|
|
|
|
|
onkeyup |
68
|
|
|
|
|
|
|
onmousedown |
69
|
|
|
|
|
|
|
onmousemove |
70
|
|
|
|
|
|
|
onmouseout |
71
|
|
|
|
|
|
|
onmouseover |
72
|
|
|
|
|
|
|
onmouseup |
73
|
|
|
|
|
|
|
onselect |
74
|
|
|
|
|
|
|
readonly |
75
|
|
|
|
|
|
|
size |
76
|
|
|
|
|
|
|
style |
77
|
|
|
|
|
|
|
tabindex |
78
|
|
|
|
|
|
|
title |
79
|
|
|
|
|
|
|
type |
80
|
|
|
|
|
|
|
value |
81
|
|
|
|
|
|
|
xml:lang |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
Required attributes (default values in parentheses): |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
name |
86
|
|
|
|
|
|
|
size (15) |
87
|
|
|
|
|
|
|
type (password) |
88
|
|
|
|
|
|
|
value |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
Boolean attributes: |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
checked |
93
|
|
|
|
|
|
|
disabled |
94
|
|
|
|
|
|
|
readonly |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
=head1 CONSTRUCTOR |
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
=over 4 |
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
=item B<new PARAMS> |
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
Constructs a new L<Rose::HTML::Form::Field::Password> object based on PARAMS, where PARAMS are name/value pairs. Any object method is a valid parameter name. |
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
=back |
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
=head1 AUTHOR |
107
|
|
|
|
|
|
|
|
108
|
|
|
|
|
|
|
John C. Siracusa (siracusa@gmail.com) |
109
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
=head1 LICENSE |
111
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
Copyright (c) 2010 by John C. Siracusa. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. |