Filename | /home/vagrant/kohaclone/Koha/Schema/Result/CreatorTemplate.pm |
Statements | Executed 12 statements in 706µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 37µs | 42µs | BEGIN@1.1294 | Class::C3::Componentised::
1 | 1 | 1 | 11µs | 32µs | BEGIN@13 | Koha::Schema::Result::CreatorTemplate::
1 | 1 | 1 | 10µs | 89µs | BEGIN@16 | Koha::Schema::Result::CreatorTemplate::
1 | 1 | 1 | 9µs | 18µs | BEGIN@14 | Koha::Schema::Result::CreatorTemplate::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | 2 | 97µs | 2 | 47µs | # spent 42µs (37+5) within Class::C3::Componentised::BEGIN@1.1294 which was called:
# once (37µs+5µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 42µs making 1 call to Class::C3::Componentised::BEGIN@1.1294
# spent 5µ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 | 52µs | 2 | 52µs | # spent 32µs (11+20) within Koha::Schema::Result::CreatorTemplate::BEGIN@13 which was called:
# once (11µs+20µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 32µs making 1 call to Koha::Schema::Result::CreatorTemplate::BEGIN@13
# spent 20µs making 1 call to strict::import |
14 | 2 | 41µs | 2 | 27µs | # spent 18µs (9+9) within Koha::Schema::Result::CreatorTemplate::BEGIN@14 which was called:
# once (9µs+9µs) by Class::C3::Componentised::ensure_class_loaded at line 14 # spent 18µs making 1 call to Koha::Schema::Result::CreatorTemplate::BEGIN@14
# spent 9µs making 1 call to warnings::import |
15 | |||||
16 | 2 | 393µs | 2 | 168µs | # spent 89µs (10+79) within Koha::Schema::Result::CreatorTemplate::BEGIN@16 which was called:
# once (10µs+79µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 89µs making 1 call to Koha::Schema::Result::CreatorTemplate::BEGIN@16
# spent 79µs making 1 call to base::import |
17 | |||||
18 | =head1 TABLE: C<creator_templates> | ||||
19 | |||||
20 | =cut | ||||
21 | |||||
22 | 1 | 39µs | 1 | 500µs | __PACKAGE__->table("creator_templates"); # spent 500µ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 | 45µs | 1 | 8.58ms | __PACKAGE__->add_columns( # spent 8.58ms 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 | 19µs | 1 | 90µs | __PACKAGE__->set_primary_key("template_id"); # spent 90µ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 | 20µs | 1; |