Filename | /home/vagrant/kohaclone/Koha/Schema/Result/CreatorTemplate.pm |
Statements | Executed 12 statements in 552µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 26µs | 29µs | BEGIN@1.1595 | Class::C3::Componentised::
1 | 1 | 1 | 9µs | 17µs | BEGIN@13 | Koha::Schema::Result::CreatorTemplate::
1 | 1 | 1 | 9µs | 71µs | BEGIN@16 | Koha::Schema::Result::CreatorTemplate::
1 | 1 | 1 | 8µs | 15µs | BEGIN@14 | Koha::Schema::Result::CreatorTemplate::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | 2 | 69µs | 2 | 32µs | # spent 29µs (26+3) within Class::C3::Componentised::BEGIN@1.1595 which was called:
# once (26µs+3µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 29µs making 1 call to Class::C3::Componentised::BEGIN@1.1595
# spent 3µs making 1 call to utf8::import |
2 | package Koha::Schema::Result::CreatorTemplate; | ||||
3 | |||||
4 | # Created by DBIx::Class::Schema::Loader | ||||
5 | # DO NOT MODIFY THE FIRST PART OF THIS FILE | ||||
6 | |||||
7 | =head1 NAME | ||||
8 | |||||
9 | Koha::Schema::Result::CreatorTemplate | ||||
10 | |||||
11 | =cut | ||||
12 | |||||
13 | 2 | 37µs | 2 | 26µs | # spent 17µs (9+8) within Koha::Schema::Result::CreatorTemplate::BEGIN@13 which was called:
# once (9µs+8µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 17µs making 1 call to Koha::Schema::Result::CreatorTemplate::BEGIN@13
# spent 8µs making 1 call to strict::import |
14 | 2 | 37µs | 2 | 22µs | # spent 15µs (8+7) within Koha::Schema::Result::CreatorTemplate::BEGIN@14 which was called:
# once (8µs+7µs) by Class::C3::Componentised::ensure_class_loaded at line 14 # spent 15µs making 1 call to Koha::Schema::Result::CreatorTemplate::BEGIN@14
# spent 7µs making 1 call to warnings::import |
15 | |||||
16 | 2 | 317µs | 2 | 133µs | # spent 71µs (9+62) within Koha::Schema::Result::CreatorTemplate::BEGIN@16 which was called:
# once (9µs+62µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 71µs making 1 call to Koha::Schema::Result::CreatorTemplate::BEGIN@16
# spent 62µs making 1 call to base::import |
17 | |||||
18 | =head1 TABLE: C<creator_templates> | ||||
19 | |||||
20 | =cut | ||||
21 | |||||
22 | 1 | 18µs | 1 | 312µs | __PACKAGE__->table("creator_templates"); # spent 312µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table |
23 | |||||
24 | =head1 ACCESSORS | ||||
25 | |||||
26 | =head2 template_id | ||||
27 | |||||
28 | data_type: 'integer' | ||||
29 | is_auto_increment: 1 | ||||
30 | is_nullable: 0 | ||||
31 | |||||
32 | =head2 profile_id | ||||
33 | |||||
34 | data_type: 'integer' | ||||
35 | is_nullable: 1 | ||||
36 | |||||
37 | =head2 template_code | ||||
38 | |||||
39 | data_type: 'char' | ||||
40 | default_value: 'DEFAULT TEMPLATE' | ||||
41 | is_nullable: 0 | ||||
42 | size: 100 | ||||
43 | |||||
44 | =head2 template_desc | ||||
45 | |||||
46 | data_type: 'char' | ||||
47 | default_value: 'Default description' | ||||
48 | is_nullable: 0 | ||||
49 | size: 100 | ||||
50 | |||||
51 | =head2 page_width | ||||
52 | |||||
53 | data_type: 'float' | ||||
54 | default_value: 0 | ||||
55 | is_nullable: 0 | ||||
56 | |||||
57 | =head2 page_height | ||||
58 | |||||
59 | data_type: 'float' | ||||
60 | default_value: 0 | ||||
61 | is_nullable: 0 | ||||
62 | |||||
63 | =head2 label_width | ||||
64 | |||||
65 | data_type: 'float' | ||||
66 | default_value: 0 | ||||
67 | is_nullable: 0 | ||||
68 | |||||
69 | =head2 label_height | ||||
70 | |||||
71 | data_type: 'float' | ||||
72 | default_value: 0 | ||||
73 | is_nullable: 0 | ||||
74 | |||||
75 | =head2 top_text_margin | ||||
76 | |||||
77 | data_type: 'float' | ||||
78 | default_value: 0 | ||||
79 | is_nullable: 0 | ||||
80 | |||||
81 | =head2 left_text_margin | ||||
82 | |||||
83 | data_type: 'float' | ||||
84 | default_value: 0 | ||||
85 | is_nullable: 0 | ||||
86 | |||||
87 | =head2 top_margin | ||||
88 | |||||
89 | data_type: 'float' | ||||
90 | default_value: 0 | ||||
91 | is_nullable: 0 | ||||
92 | |||||
93 | =head2 left_margin | ||||
94 | |||||
95 | data_type: 'float' | ||||
96 | default_value: 0 | ||||
97 | is_nullable: 0 | ||||
98 | |||||
99 | =head2 cols | ||||
100 | |||||
101 | data_type: 'integer' | ||||
102 | default_value: 0 | ||||
103 | is_nullable: 0 | ||||
104 | |||||
105 | =head2 rows | ||||
106 | |||||
107 | data_type: 'integer' | ||||
108 | default_value: 0 | ||||
109 | is_nullable: 0 | ||||
110 | |||||
111 | =head2 col_gap | ||||
112 | |||||
113 | data_type: 'float' | ||||
114 | default_value: 0 | ||||
115 | is_nullable: 0 | ||||
116 | |||||
117 | =head2 row_gap | ||||
118 | |||||
119 | data_type: 'float' | ||||
120 | default_value: 0 | ||||
121 | is_nullable: 0 | ||||
122 | |||||
123 | =head2 units | ||||
124 | |||||
125 | data_type: 'char' | ||||
126 | default_value: 'POINT' | ||||
127 | is_nullable: 0 | ||||
128 | size: 20 | ||||
129 | |||||
130 | =head2 creator | ||||
131 | |||||
132 | data_type: 'char' | ||||
133 | default_value: 'Labels' | ||||
134 | is_nullable: 0 | ||||
135 | size: 15 | ||||
136 | |||||
137 | =cut | ||||
138 | |||||
139 | 1 | 39µs | 1 | 8.82ms | __PACKAGE__->add_columns( # spent 8.82ms making 1 call to DBIx::Class::ResultSourceProxy::add_columns |
140 | "template_id", | ||||
141 | { data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, | ||||
142 | "profile_id", | ||||
143 | { data_type => "integer", is_nullable => 1 }, | ||||
144 | "template_code", | ||||
145 | { | ||||
146 | data_type => "char", | ||||
147 | default_value => "DEFAULT TEMPLATE", | ||||
148 | is_nullable => 0, | ||||
149 | size => 100, | ||||
150 | }, | ||||
151 | "template_desc", | ||||
152 | { | ||||
153 | data_type => "char", | ||||
154 | default_value => "Default description", | ||||
155 | is_nullable => 0, | ||||
156 | size => 100, | ||||
157 | }, | ||||
158 | "page_width", | ||||
159 | { data_type => "float", default_value => 0, is_nullable => 0 }, | ||||
160 | "page_height", | ||||
161 | { data_type => "float", default_value => 0, is_nullable => 0 }, | ||||
162 | "label_width", | ||||
163 | { data_type => "float", default_value => 0, is_nullable => 0 }, | ||||
164 | "label_height", | ||||
165 | { data_type => "float", default_value => 0, is_nullable => 0 }, | ||||
166 | "top_text_margin", | ||||
167 | { data_type => "float", default_value => 0, is_nullable => 0 }, | ||||
168 | "left_text_margin", | ||||
169 | { data_type => "float", default_value => 0, is_nullable => 0 }, | ||||
170 | "top_margin", | ||||
171 | { data_type => "float", default_value => 0, is_nullable => 0 }, | ||||
172 | "left_margin", | ||||
173 | { data_type => "float", default_value => 0, is_nullable => 0 }, | ||||
174 | "cols", | ||||
175 | { data_type => "integer", default_value => 0, is_nullable => 0 }, | ||||
176 | "rows", | ||||
177 | { data_type => "integer", default_value => 0, is_nullable => 0 }, | ||||
178 | "col_gap", | ||||
179 | { data_type => "float", default_value => 0, is_nullable => 0 }, | ||||
180 | "row_gap", | ||||
181 | { data_type => "float", default_value => 0, is_nullable => 0 }, | ||||
182 | "units", | ||||
183 | { data_type => "char", default_value => "POINT", is_nullable => 0, size => 20 }, | ||||
184 | "creator", | ||||
185 | { | ||||
186 | data_type => "char", | ||||
187 | default_value => "Labels", | ||||
188 | is_nullable => 0, | ||||
189 | size => 15, | ||||
190 | }, | ||||
191 | ); | ||||
192 | |||||
193 | =head1 PRIMARY KEY | ||||
194 | |||||
195 | =over 4 | ||||
196 | |||||
197 | =item * L</template_id> | ||||
198 | |||||
199 | =back | ||||
200 | |||||
201 | =cut | ||||
202 | |||||
203 | 1 | 18µs | 1 | 95µs | __PACKAGE__->set_primary_key("template_id"); # spent 95µs making 1 call to DBIx::Class::ResultSourceProxy::set_primary_key |
204 | |||||
205 | |||||
206 | # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21 | ||||
207 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:2NGDs68pqskZaoiyURPIGg | ||||
208 | |||||
209 | |||||
210 | # You can replace this text with custom content, and it will be preserved on regeneration | ||||
211 | 1 | 17µs | 1; |