| Filename | /home/vagrant/kohaclone/Koha/Schema/Result/SubscriptionNumberpattern.pm | 
| Statements | Executed 0 statements in 0s | 
| Calls | P | F | Exclusive Time | Inclusive Time | Subroutine | 
|---|---|---|---|---|---|
| 1 | 1 | 1 | 37µs | 42µs | Class::C3::Componentised::BEGIN@1.2371 | 
| 1 | 1 | 1 | 10µs | 95µs | Koha::Schema::Result::SubscriptionNumberpattern::BEGIN@16 | 
| 1 | 1 | 1 | 10µs | 22µs | Koha::Schema::Result::SubscriptionNumberpattern::BEGIN@13 | 
| 1 | 1 | 1 | 9µs | 19µs | Koha::Schema::Result::SubscriptionNumberpattern::BEGIN@14 | 
| Line | State ments | Time on line | Calls | Time in subs | Code | 
|---|---|---|---|---|---|
| 1 | 2 | 46µs | # spent 42µs (37+5) within Class::C3::Componentised::BEGIN@1.2371 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.2371
# spent     5µ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 | 34µs | # spent 22µs (10+12) within Koha::Schema::Result::SubscriptionNumberpattern::BEGIN@13 which was called:
#    once (10µs+12µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent    22µs making 1 call to Koha::Schema::Result::SubscriptionNumberpattern::BEGIN@13
# spent    12µs making 1 call to strict::import | ||
| 14 | 2 | 29µs | # spent 19µs (9+10) within Koha::Schema::Result::SubscriptionNumberpattern::BEGIN@14 which was called:
#    once (9µs+10µs) by Class::C3::Componentised::ensure_class_loaded at line 14 # spent    19µs making 1 call to Koha::Schema::Result::SubscriptionNumberpattern::BEGIN@14
# spent    10µs making 1 call to warnings::import | ||
| 15 | |||||
| 16 | 2 | 180µs | # spent 95µs (10+85) within Koha::Schema::Result::SubscriptionNumberpattern::BEGIN@16 which was called:
#    once (10µs+85µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent    95µs making 1 call to Koha::Schema::Result::SubscriptionNumberpattern::BEGIN@16
# spent    85µs making 1 call to base::import | ||
| 17 | |||||
| 18 | =head1 TABLE: C<subscription_numberpatterns> | ||||
| 19 | |||||
| 20 | =cut | ||||
| 21 | |||||
| 22 | 1 | 369µs | __PACKAGE__->table("subscription_numberpatterns"); # spent   369µ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 | 45.2ms | __PACKAGE__->add_columns( # spent  45.2ms 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 | 101µs | __PACKAGE__->set_primary_key("id"); # spent   101µ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 | 368µs | __PACKAGE__->has_many( # spent   368µ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; |