| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
# NEVER EDIT this file. It was generated and will be overwritten without |
|
2
|
|
|
|
|
|
|
# notice upon regeneration of this application. You have been warned. |
|
3
|
|
|
|
|
|
|
package Gantry::Control::Model::GEN::auth_groups; |
|
4
|
3
|
|
|
3
|
|
18
|
use strict; use warnings; |
|
|
3
|
|
|
3
|
|
43
|
|
|
|
3
|
|
|
|
|
95
|
|
|
|
3
|
|
|
|
|
13
|
|
|
|
3
|
|
|
|
|
5
|
|
|
|
3
|
|
|
|
|
75
|
|
|
5
|
|
|
|
|
|
|
|
|
6
|
3
|
|
|
3
|
|
29
|
use base 'Gantry::Utils::Model::Auth'; |
|
|
3
|
|
|
|
|
5
|
|
|
|
3
|
|
|
|
|
237
|
|
|
7
|
|
|
|
|
|
|
|
|
8
|
3
|
|
|
3
|
|
17
|
use Carp; |
|
|
3
|
|
|
|
|
5
|
|
|
|
3
|
|
|
|
|
2568
|
|
|
9
|
|
|
|
|
|
|
|
|
10
|
0
|
|
|
0
|
1
|
|
sub get_table_name { return 'auth_groups'; } |
|
11
|
|
|
|
|
|
|
|
|
12
|
0
|
|
|
0
|
1
|
|
sub get_primary_col { return 'id'; } |
|
13
|
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
sub get_essential_cols { |
|
15
|
0
|
|
|
0
|
1
|
|
return 'id, name, description, ident'; |
|
16
|
|
|
|
|
|
|
} |
|
17
|
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
sub get_primary_key { |
|
19
|
0
|
|
|
0
|
1
|
|
goto &id; |
|
20
|
|
|
|
|
|
|
} |
|
21
|
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
sub id { |
|
23
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
|
24
|
0
|
|
|
|
|
|
my $value = shift; |
|
25
|
|
|
|
|
|
|
|
|
26
|
0
|
0
|
|
|
|
|
if ( defined $value ) { |
|
27
|
0
|
|
|
|
|
|
return $self->set_id( $value ); |
|
28
|
|
|
|
|
|
|
} |
|
29
|
|
|
|
|
|
|
|
|
30
|
0
|
|
|
|
|
|
return $self->get_id(); |
|
31
|
|
|
|
|
|
|
} |
|
32
|
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
sub set_id { |
|
34
|
0
|
|
|
0
|
1
|
|
croak 'Can\'t change primary key of row'; |
|
35
|
|
|
|
|
|
|
} |
|
36
|
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
sub get_id { |
|
38
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
|
39
|
0
|
|
|
|
|
|
return $self->{id}; |
|
40
|
|
|
|
|
|
|
} |
|
41
|
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
sub quote_id { |
|
43
|
0
|
|
|
0
|
1
|
|
return $_[1]; |
|
44
|
|
|
|
|
|
|
} |
|
45
|
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
sub description { |
|
47
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
|
48
|
0
|
|
|
|
|
|
my $value = shift; |
|
49
|
|
|
|
|
|
|
|
|
50
|
0
|
0
|
|
|
|
|
if ( defined $value ) { return $self->set_description( $value ); } |
|
|
0
|
|
|
|
|
|
|
|
51
|
0
|
|
|
|
|
|
else { return $self->get_description(); } |
|
52
|
|
|
|
|
|
|
} |
|
53
|
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
sub set_description { |
|
55
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
|
56
|
0
|
|
|
|
|
|
my $value = shift; |
|
57
|
|
|
|
|
|
|
|
|
58
|
0
|
|
|
|
|
|
$self->{description} = $value; |
|
59
|
0
|
|
|
|
|
|
$self->{__DIRTY__}{description}++; |
|
60
|
|
|
|
|
|
|
|
|
61
|
0
|
|
|
|
|
|
return $value; |
|
62
|
|
|
|
|
|
|
} |
|
63
|
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
sub get_description { |
|
65
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
|
66
|
|
|
|
|
|
|
|
|
67
|
0
|
|
|
|
|
|
return $self->{description}; |
|
68
|
|
|
|
|
|
|
} |
|
69
|
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
sub quote_description { |
|
71
|
0
|
0
|
|
0
|
1
|
|
return ( defined $_[1] ) ? "'$_[1]'" : 'NULL'; |
|
72
|
|
|
|
|
|
|
} |
|
73
|
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
sub ident { |
|
75
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
|
76
|
0
|
|
|
|
|
|
my $value = shift; |
|
77
|
|
|
|
|
|
|
|
|
78
|
0
|
0
|
|
|
|
|
if ( defined $value ) { return $self->set_ident( $value ); } |
|
|
0
|
|
|
|
|
|
|
|
79
|
0
|
|
|
|
|
|
else { return $self->get_ident(); } |
|
80
|
|
|
|
|
|
|
} |
|
81
|
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
sub set_ident { |
|
83
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
|
84
|
0
|
|
|
|
|
|
my $value = shift; |
|
85
|
|
|
|
|
|
|
|
|
86
|
0
|
|
|
|
|
|
$self->{ident} = $value; |
|
87
|
0
|
|
|
|
|
|
$self->{__DIRTY__}{ident}++; |
|
88
|
|
|
|
|
|
|
|
|
89
|
0
|
|
|
|
|
|
return $value; |
|
90
|
|
|
|
|
|
|
} |
|
91
|
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
sub get_ident { |
|
93
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
|
94
|
|
|
|
|
|
|
|
|
95
|
0
|
|
|
|
|
|
return $self->{ident}; |
|
96
|
|
|
|
|
|
|
} |
|
97
|
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
sub quote_ident { |
|
99
|
0
|
0
|
|
0
|
1
|
|
return ( defined $_[1] ) ? "'$_[1]'" : 'NULL'; |
|
100
|
|
|
|
|
|
|
} |
|
101
|
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
sub name { |
|
103
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
|
104
|
0
|
|
|
|
|
|
my $value = shift; |
|
105
|
|
|
|
|
|
|
|
|
106
|
0
|
0
|
|
|
|
|
if ( defined $value ) { return $self->set_name( $value ); } |
|
|
0
|
|
|
|
|
|
|
|
107
|
0
|
|
|
|
|
|
else { return $self->get_name(); } |
|
108
|
|
|
|
|
|
|
} |
|
109
|
|
|
|
|
|
|
|
|
110
|
|
|
|
|
|
|
sub set_name { |
|
111
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
|
112
|
0
|
|
|
|
|
|
my $value = shift; |
|
113
|
|
|
|
|
|
|
|
|
114
|
0
|
|
|
|
|
|
$self->{name} = $value; |
|
115
|
0
|
|
|
|
|
|
$self->{__DIRTY__}{name}++; |
|
116
|
|
|
|
|
|
|
|
|
117
|
0
|
|
|
|
|
|
return $value; |
|
118
|
|
|
|
|
|
|
} |
|
119
|
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
sub get_name { |
|
121
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
|
122
|
|
|
|
|
|
|
|
|
123
|
0
|
|
|
|
|
|
return $self->{name}; |
|
124
|
|
|
|
|
|
|
} |
|
125
|
|
|
|
|
|
|
|
|
126
|
|
|
|
|
|
|
sub quote_name { |
|
127
|
0
|
0
|
|
0
|
1
|
|
return ( defined $_[1] ) ? "'$_[1]'" : 'NULL'; |
|
128
|
|
|
|
|
|
|
} |
|
129
|
|
|
|
|
|
|
|
|
130
|
|
|
|
|
|
|
sub get_foreign_display_fields { |
|
131
|
0
|
|
|
0
|
1
|
|
return [ qw( ) ]; |
|
132
|
|
|
|
|
|
|
} |
|
133
|
|
|
|
|
|
|
|
|
134
|
|
|
|
|
|
|
sub get_foreign_tables { |
|
135
|
0
|
|
|
0
|
1
|
|
return qw( |
|
136
|
|
|
|
|
|
|
); |
|
137
|
|
|
|
|
|
|
} |
|
138
|
|
|
|
|
|
|
|
|
139
|
|
|
|
|
|
|
sub foreign_display { |
|
140
|
0
|
|
|
0
|
1
|
|
my $self = shift; |
|
141
|
|
|
|
|
|
|
|
|
142
|
|
|
|
|
|
|
} |
|
143
|
|
|
|
|
|
|
|
|
144
|
|
|
|
|
|
|
1; |
|
145
|
|
|
|
|
|
|
|
|
146
|
|
|
|
|
|
|
=head1 NAME |
|
147
|
|
|
|
|
|
|
|
|
148
|
|
|
|
|
|
|
Gantry::Control::Model::GEN::auth_groups - model for auth_groups table |
|
149
|
|
|
|
|
|
|
|
|
150
|
|
|
|
|
|
|
=head1 METHODS |
|
151
|
|
|
|
|
|
|
|
|
152
|
|
|
|
|
|
|
=over 4 |
|
153
|
|
|
|
|
|
|
|
|
154
|
|
|
|
|
|
|
=item description |
|
155
|
|
|
|
|
|
|
|
|
156
|
|
|
|
|
|
|
=item foreign_display |
|
157
|
|
|
|
|
|
|
|
|
158
|
|
|
|
|
|
|
=item get_description |
|
159
|
|
|
|
|
|
|
|
|
160
|
|
|
|
|
|
|
=item get_essential_cols |
|
161
|
|
|
|
|
|
|
|
|
162
|
|
|
|
|
|
|
=item get_foreign_display_fields |
|
163
|
|
|
|
|
|
|
|
|
164
|
|
|
|
|
|
|
=item get_foreign_tables |
|
165
|
|
|
|
|
|
|
|
|
166
|
|
|
|
|
|
|
=item get_id |
|
167
|
|
|
|
|
|
|
|
|
168
|
|
|
|
|
|
|
=item get_ident |
|
169
|
|
|
|
|
|
|
|
|
170
|
|
|
|
|
|
|
=item get_name |
|
171
|
|
|
|
|
|
|
|
|
172
|
|
|
|
|
|
|
=item get_primary_col |
|
173
|
|
|
|
|
|
|
|
|
174
|
|
|
|
|
|
|
=item get_primary_key |
|
175
|
|
|
|
|
|
|
|
|
176
|
|
|
|
|
|
|
=item get_sequence_name |
|
177
|
|
|
|
|
|
|
|
|
178
|
|
|
|
|
|
|
=item get_table_name |
|
179
|
|
|
|
|
|
|
|
|
180
|
|
|
|
|
|
|
=item id |
|
181
|
|
|
|
|
|
|
|
|
182
|
|
|
|
|
|
|
=item ident |
|
183
|
|
|
|
|
|
|
|
|
184
|
|
|
|
|
|
|
=item name |
|
185
|
|
|
|
|
|
|
|
|
186
|
|
|
|
|
|
|
=item quote_description |
|
187
|
|
|
|
|
|
|
|
|
188
|
|
|
|
|
|
|
=item quote_id |
|
189
|
|
|
|
|
|
|
|
|
190
|
|
|
|
|
|
|
=item quote_ident |
|
191
|
|
|
|
|
|
|
|
|
192
|
|
|
|
|
|
|
=item quote_name |
|
193
|
|
|
|
|
|
|
|
|
194
|
|
|
|
|
|
|
=item set_description |
|
195
|
|
|
|
|
|
|
|
|
196
|
|
|
|
|
|
|
=item set_id |
|
197
|
|
|
|
|
|
|
|
|
198
|
|
|
|
|
|
|
=item set_ident |
|
199
|
|
|
|
|
|
|
|
|
200
|
|
|
|
|
|
|
=item set_name |
|
201
|
|
|
|
|
|
|
|
|
202
|
|
|
|
|
|
|
=back |
|
203
|
|
|
|
|
|
|
|
|
204
|
|
|
|
|
|
|
=head1 AUTHOR |
|
205
|
|
|
|
|
|
|
|
|
206
|
|
|
|
|
|
|
Generated by Bigtop, please don't edit. |
|
207
|
|
|
|
|
|
|
|
|
208
|
|
|
|
|
|
|
=cut |