| Filename | /home/vagrant/kohaclone/Koha/Schema/Result/SubscriptionNumberpattern.pm |
| Statements | Executed 13 statements in 395µs |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 33µs | 36µs | Class::C3::Componentised::BEGIN@1.1980 |
| 1 | 1 | 1 | 13µs | 23µs | Koha::Schema::Result::SubscriptionNumberpattern::BEGIN@13 |
| 1 | 1 | 1 | 9µs | 18µs | Koha::Schema::Result::SubscriptionNumberpattern::BEGIN@14 |
| 1 | 1 | 1 | 6µs | 15µs | Koha::Schema::Result::SubscriptionNumberpattern::BEGIN@16 |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | 2 | 89µs | 2 | 40µs | # spent 36µs (33+4) within Class::C3::Componentised::BEGIN@1.1980 which was called:
# once (33µs+4µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 36µs making 1 call to Class::C3::Componentised::BEGIN@1.1980
# spent 4µs making 1 call to utf8::import |
| 2 | package Koha::Schema::Result::SubscriptionNumberpattern; | ||||
| 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::SubscriptionNumberpattern | ||||
| 10 | |||||
| 11 | =cut | ||||
| 12 | |||||
| 13 | 2 | 42µs | 2 | 33µs | # spent 23µs (13+10) within Koha::Schema::Result::SubscriptionNumberpattern::BEGIN@13 which was called:
# once (13µs+10µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 23µs making 1 call to Koha::Schema::Result::SubscriptionNumberpattern::BEGIN@13
# spent 10µs making 1 call to strict::import |
| 14 | 2 | 41µs | 2 | 28µs | # spent 18µs (9+9) within Koha::Schema::Result::SubscriptionNumberpattern::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::SubscriptionNumberpattern::BEGIN@14
# spent 9µs making 1 call to warnings::import |
| 15 | |||||
| 16 | 2 | 110µs | 2 | 23µs | # spent 15µs (6+8) within Koha::Schema::Result::SubscriptionNumberpattern::BEGIN@16 which was called:
# once (6µs+8µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 15µs making 1 call to Koha::Schema::Result::SubscriptionNumberpattern::BEGIN@16
# spent 8µs making 1 call to base::import |
| 17 | |||||
| 18 | =head1 TABLE: C<subscription_numberpatterns> | ||||
| 19 | |||||
| 20 | =cut | ||||
| 21 | |||||
| 22 | 1 | 22µs | 1 | 338µs | __PACKAGE__->table("subscription_numberpatterns"); # spent 338µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table |
| 23 | |||||
| 24 | =head1 ACCESSORS | ||||
| 25 | |||||
| 26 | =head2 id | ||||
| 27 | |||||
| 28 | data_type: 'integer' | ||||
| 29 | is_auto_increment: 1 | ||||
| 30 | is_nullable: 0 | ||||
| 31 | |||||
| 32 | =head2 label | ||||
| 33 | |||||
| 34 | data_type: 'varchar' | ||||
| 35 | is_nullable: 0 | ||||
| 36 | size: 255 | ||||
| 37 | |||||
| 38 | =head2 displayorder | ||||
| 39 | |||||
| 40 | data_type: 'integer' | ||||
| 41 | is_nullable: 1 | ||||
| 42 | |||||
| 43 | =head2 description | ||||
| 44 | |||||
| 45 | data_type: 'text' | ||||
| 46 | is_nullable: 0 | ||||
| 47 | |||||
| 48 | =head2 numberingmethod | ||||
| 49 | |||||
| 50 | data_type: 'varchar' | ||||
| 51 | is_nullable: 0 | ||||
| 52 | size: 255 | ||||
| 53 | |||||
| 54 | =head2 label1 | ||||
| 55 | |||||
| 56 | data_type: 'varchar' | ||||
| 57 | is_nullable: 1 | ||||
| 58 | size: 255 | ||||
| 59 | |||||
| 60 | =head2 add1 | ||||
| 61 | |||||
| 62 | data_type: 'integer' | ||||
| 63 | is_nullable: 1 | ||||
| 64 | |||||
| 65 | =head2 every1 | ||||
| 66 | |||||
| 67 | data_type: 'integer' | ||||
| 68 | is_nullable: 1 | ||||
| 69 | |||||
| 70 | =head2 whenmorethan1 | ||||
| 71 | |||||
| 72 | data_type: 'integer' | ||||
| 73 | is_nullable: 1 | ||||
| 74 | |||||
| 75 | =head2 setto1 | ||||
| 76 | |||||
| 77 | data_type: 'integer' | ||||
| 78 | is_nullable: 1 | ||||
| 79 | |||||
| 80 | =head2 numbering1 | ||||
| 81 | |||||
| 82 | data_type: 'varchar' | ||||
| 83 | is_nullable: 1 | ||||
| 84 | size: 255 | ||||
| 85 | |||||
| 86 | =head2 label2 | ||||
| 87 | |||||
| 88 | data_type: 'varchar' | ||||
| 89 | is_nullable: 1 | ||||
| 90 | size: 255 | ||||
| 91 | |||||
| 92 | =head2 add2 | ||||
| 93 | |||||
| 94 | data_type: 'integer' | ||||
| 95 | is_nullable: 1 | ||||
| 96 | |||||
| 97 | =head2 every2 | ||||
| 98 | |||||
| 99 | data_type: 'integer' | ||||
| 100 | is_nullable: 1 | ||||
| 101 | |||||
| 102 | =head2 whenmorethan2 | ||||
| 103 | |||||
| 104 | data_type: 'integer' | ||||
| 105 | is_nullable: 1 | ||||
| 106 | |||||
| 107 | =head2 setto2 | ||||
| 108 | |||||
| 109 | data_type: 'integer' | ||||
| 110 | is_nullable: 1 | ||||
| 111 | |||||
| 112 | =head2 numbering2 | ||||
| 113 | |||||
| 114 | data_type: 'varchar' | ||||
| 115 | is_nullable: 1 | ||||
| 116 | size: 255 | ||||
| 117 | |||||
| 118 | =head2 label3 | ||||
| 119 | |||||
| 120 | data_type: 'varchar' | ||||
| 121 | is_nullable: 1 | ||||
| 122 | size: 255 | ||||
| 123 | |||||
| 124 | =head2 add3 | ||||
| 125 | |||||
| 126 | data_type: 'integer' | ||||
| 127 | is_nullable: 1 | ||||
| 128 | |||||
| 129 | =head2 every3 | ||||
| 130 | |||||
| 131 | data_type: 'integer' | ||||
| 132 | is_nullable: 1 | ||||
| 133 | |||||
| 134 | =head2 whenmorethan3 | ||||
| 135 | |||||
| 136 | data_type: 'integer' | ||||
| 137 | is_nullable: 1 | ||||
| 138 | |||||
| 139 | =head2 setto3 | ||||
| 140 | |||||
| 141 | data_type: 'integer' | ||||
| 142 | is_nullable: 1 | ||||
| 143 | |||||
| 144 | =head2 numbering3 | ||||
| 145 | |||||
| 146 | data_type: 'varchar' | ||||
| 147 | is_nullable: 1 | ||||
| 148 | size: 255 | ||||
| 149 | |||||
| 150 | =cut | ||||
| 151 | |||||
| 152 | 1 | 36µs | 1 | 17.3ms | __PACKAGE__->add_columns( # spent 17.3ms making 1 call to DBIx::Class::ResultSourceProxy::add_columns |
| 153 | "id", | ||||
| 154 | { data_type => "integer", is_auto_increment => 1, is_nullable => 0 }, | ||||
| 155 | "label", | ||||
| 156 | { data_type => "varchar", is_nullable => 0, size => 255 }, | ||||
| 157 | "displayorder", | ||||
| 158 | { data_type => "integer", is_nullable => 1 }, | ||||
| 159 | "description", | ||||
| 160 | { data_type => "text", is_nullable => 0 }, | ||||
| 161 | "numberingmethod", | ||||
| 162 | { data_type => "varchar", is_nullable => 0, size => 255 }, | ||||
| 163 | "label1", | ||||
| 164 | { data_type => "varchar", is_nullable => 1, size => 255 }, | ||||
| 165 | "add1", | ||||
| 166 | { data_type => "integer", is_nullable => 1 }, | ||||
| 167 | "every1", | ||||
| 168 | { data_type => "integer", is_nullable => 1 }, | ||||
| 169 | "whenmorethan1", | ||||
| 170 | { data_type => "integer", is_nullable => 1 }, | ||||
| 171 | "setto1", | ||||
| 172 | { data_type => "integer", is_nullable => 1 }, | ||||
| 173 | "numbering1", | ||||
| 174 | { data_type => "varchar", is_nullable => 1, size => 255 }, | ||||
| 175 | "label2", | ||||
| 176 | { data_type => "varchar", is_nullable => 1, size => 255 }, | ||||
| 177 | "add2", | ||||
| 178 | { data_type => "integer", is_nullable => 1 }, | ||||
| 179 | "every2", | ||||
| 180 | { data_type => "integer", is_nullable => 1 }, | ||||
| 181 | "whenmorethan2", | ||||
| 182 | { data_type => "integer", is_nullable => 1 }, | ||||
| 183 | "setto2", | ||||
| 184 | { data_type => "integer", is_nullable => 1 }, | ||||
| 185 | "numbering2", | ||||
| 186 | { data_type => "varchar", is_nullable => 1, size => 255 }, | ||||
| 187 | "label3", | ||||
| 188 | { data_type => "varchar", is_nullable => 1, size => 255 }, | ||||
| 189 | "add3", | ||||
| 190 | { data_type => "integer", is_nullable => 1 }, | ||||
| 191 | "every3", | ||||
| 192 | { data_type => "integer", is_nullable => 1 }, | ||||
| 193 | "whenmorethan3", | ||||
| 194 | { data_type => "integer", is_nullable => 1 }, | ||||
| 195 | "setto3", | ||||
| 196 | { data_type => "integer", is_nullable => 1 }, | ||||
| 197 | "numbering3", | ||||
| 198 | { data_type => "varchar", is_nullable => 1, size => 255 }, | ||||
| 199 | ); | ||||
| 200 | |||||
| 201 | =head1 PRIMARY KEY | ||||
| 202 | |||||
| 203 | =over 4 | ||||
| 204 | |||||
| 205 | =item * L</id> | ||||
| 206 | |||||
| 207 | =back | ||||
| 208 | |||||
| 209 | =cut | ||||
| 210 | |||||
| 211 | 1 | 22µs | 1 | 102µs | __PACKAGE__->set_primary_key("id"); # spent 102µs making 1 call to DBIx::Class::ResultSourceProxy::set_primary_key |
| 212 | |||||
| 213 | =head1 RELATIONS | ||||
| 214 | |||||
| 215 | =head2 subscriptions | ||||
| 216 | |||||
| 217 | Type: has_many | ||||
| 218 | |||||
| 219 | Related object: L<Koha::Schema::Result::Subscription> | ||||
| 220 | |||||
| 221 | =cut | ||||
| 222 | |||||
| 223 | 1 | 10µs | 1 | 378µs | __PACKAGE__->has_many( # spent 378µs making 1 call to DBIx::Class::Relationship::HasMany::has_many |
| 224 | "subscriptions", | ||||
| 225 | "Koha::Schema::Result::Subscription", | ||||
| 226 | { "foreign.numberpattern" => "self.id" }, | ||||
| 227 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
| 228 | ); | ||||
| 229 | |||||
| 230 | |||||
| 231 | # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-30 02:42:01 | ||||
| 232 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:MtVt8WNuJfkeJ2FVoghG5A | ||||
| 233 | |||||
| 234 | |||||
| 235 | # You can replace this text with custom code or comments, and it will be preserved on regeneration | ||||
| 236 | 1 | 22µs | 1; |