| Filename | /home/vagrant/kohaclone/Koha/Schema/Result/BorrowerAttributeType.pm |
| Statements | Executed 0 statements in 0s |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 27µs | 32µs | Class::C3::Componentised::BEGIN@1.2479 |
| 1 | 1 | 1 | 10µs | 21µs | Koha::Schema::Result::BorrowerAttributeType::BEGIN@13 |
| 1 | 1 | 1 | 10µs | 84µs | Koha::Schema::Result::BorrowerAttributeType::BEGIN@16 |
| 1 | 1 | 1 | 9µs | 17µs | Koha::Schema::Result::BorrowerAttributeType::BEGIN@14 |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | 2 | 36µs | # spent 32µs (27+4) within Class::C3::Componentised::BEGIN@1.2479 which was called:
# once (27µs+4µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 32µs making 1 call to Class::C3::Componentised::BEGIN@1.2479
# spent 4µs making 1 call to utf8::import | ||
| 2 | package Koha::Schema::Result::BorrowerAttributeType; | ||||
| 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::BorrowerAttributeType | ||||
| 10 | |||||
| 11 | =cut | ||||
| 12 | |||||
| 13 | 2 | 32µs | # spent 21µs (10+11) within Koha::Schema::Result::BorrowerAttributeType::BEGIN@13 which was called:
# once (10µs+11µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 21µs making 1 call to Koha::Schema::Result::BorrowerAttributeType::BEGIN@13
# spent 11µs making 1 call to strict::import | ||
| 14 | 2 | 24µs | # spent 17µs (9+7) within Koha::Schema::Result::BorrowerAttributeType::BEGIN@14 which was called:
# once (9µs+7µs) by Class::C3::Componentised::ensure_class_loaded at line 14 # spent 17µs making 1 call to Koha::Schema::Result::BorrowerAttributeType::BEGIN@14
# spent 8µs making 1 call to warnings::import | ||
| 15 | |||||
| 16 | 2 | 158µs | # spent 84µs (10+74) within Koha::Schema::Result::BorrowerAttributeType::BEGIN@16 which was called:
# once (10µs+74µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 84µs making 1 call to Koha::Schema::Result::BorrowerAttributeType::BEGIN@16
# spent 74µs making 1 call to base::import | ||
| 17 | |||||
| 18 | =head1 TABLE: C<borrower_attribute_types> | ||||
| 19 | |||||
| 20 | =cut | ||||
| 21 | |||||
| 22 | 1 | 315µs | __PACKAGE__->table("borrower_attribute_types"); # spent 315µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table | ||
| 23 | |||||
| 24 | =head1 ACCESSORS | ||||
| 25 | |||||
| 26 | =head2 code | ||||
| 27 | |||||
| 28 | data_type: 'varchar' | ||||
| 29 | is_nullable: 0 | ||||
| 30 | size: 10 | ||||
| 31 | |||||
| 32 | =head2 description | ||||
| 33 | |||||
| 34 | data_type: 'varchar' | ||||
| 35 | is_nullable: 0 | ||||
| 36 | size: 255 | ||||
| 37 | |||||
| 38 | =head2 repeatable | ||||
| 39 | |||||
| 40 | data_type: 'tinyint' | ||||
| 41 | default_value: 0 | ||||
| 42 | is_nullable: 0 | ||||
| 43 | |||||
| 44 | =head2 unique_id | ||||
| 45 | |||||
| 46 | data_type: 'tinyint' | ||||
| 47 | default_value: 0 | ||||
| 48 | is_nullable: 0 | ||||
| 49 | |||||
| 50 | =head2 opac_display | ||||
| 51 | |||||
| 52 | data_type: 'tinyint' | ||||
| 53 | default_value: 0 | ||||
| 54 | is_nullable: 0 | ||||
| 55 | |||||
| 56 | =head2 password_allowed | ||||
| 57 | |||||
| 58 | data_type: 'tinyint' | ||||
| 59 | default_value: 0 | ||||
| 60 | is_nullable: 0 | ||||
| 61 | |||||
| 62 | =head2 staff_searchable | ||||
| 63 | |||||
| 64 | data_type: 'tinyint' | ||||
| 65 | default_value: 0 | ||||
| 66 | is_nullable: 0 | ||||
| 67 | |||||
| 68 | =head2 authorised_value_category | ||||
| 69 | |||||
| 70 | data_type: 'varchar' | ||||
| 71 | is_nullable: 1 | ||||
| 72 | size: 32 | ||||
| 73 | |||||
| 74 | =head2 display_checkout | ||||
| 75 | |||||
| 76 | data_type: 'tinyint' | ||||
| 77 | default_value: 0 | ||||
| 78 | is_nullable: 0 | ||||
| 79 | |||||
| 80 | =head2 category_code | ||||
| 81 | |||||
| 82 | data_type: 'varchar' | ||||
| 83 | is_nullable: 1 | ||||
| 84 | size: 10 | ||||
| 85 | |||||
| 86 | =head2 class | ||||
| 87 | |||||
| 88 | data_type: 'varchar' | ||||
| 89 | default_value: (empty string) | ||||
| 90 | is_nullable: 0 | ||||
| 91 | size: 255 | ||||
| 92 | |||||
| 93 | =cut | ||||
| 94 | |||||
| 95 | 1 | 5.53ms | __PACKAGE__->add_columns( # spent 5.53ms making 1 call to DBIx::Class::ResultSourceProxy::add_columns | ||
| 96 | "code", | ||||
| 97 | { data_type => "varchar", is_nullable => 0, size => 10 }, | ||||
| 98 | "description", | ||||
| 99 | { data_type => "varchar", is_nullable => 0, size => 255 }, | ||||
| 100 | "repeatable", | ||||
| 101 | { data_type => "tinyint", default_value => 0, is_nullable => 0 }, | ||||
| 102 | "unique_id", | ||||
| 103 | { data_type => "tinyint", default_value => 0, is_nullable => 0 }, | ||||
| 104 | "opac_display", | ||||
| 105 | { data_type => "tinyint", default_value => 0, is_nullable => 0 }, | ||||
| 106 | "password_allowed", | ||||
| 107 | { data_type => "tinyint", default_value => 0, is_nullable => 0 }, | ||||
| 108 | "staff_searchable", | ||||
| 109 | { data_type => "tinyint", default_value => 0, is_nullable => 0 }, | ||||
| 110 | "authorised_value_category", | ||||
| 111 | { data_type => "varchar", is_nullable => 1, size => 32 }, | ||||
| 112 | "display_checkout", | ||||
| 113 | { data_type => "tinyint", default_value => 0, is_nullable => 0 }, | ||||
| 114 | "category_code", | ||||
| 115 | { data_type => "varchar", is_nullable => 1, size => 10 }, | ||||
| 116 | "class", | ||||
| 117 | { data_type => "varchar", default_value => "", is_nullable => 0, size => 255 }, | ||||
| 118 | ); | ||||
| 119 | |||||
| 120 | =head1 PRIMARY KEY | ||||
| 121 | |||||
| 122 | =over 4 | ||||
| 123 | |||||
| 124 | =item * L</code> | ||||
| 125 | |||||
| 126 | =back | ||||
| 127 | |||||
| 128 | =cut | ||||
| 129 | |||||
| 130 | 1 | 86µs | __PACKAGE__->set_primary_key("code"); # spent 86µs making 1 call to DBIx::Class::ResultSourceProxy::set_primary_key | ||
| 131 | |||||
| 132 | =head1 RELATIONS | ||||
| 133 | |||||
| 134 | =head2 borrower_attribute_types_branches | ||||
| 135 | |||||
| 136 | Type: has_many | ||||
| 137 | |||||
| 138 | Related object: L<Koha::Schema::Result::BorrowerAttributeTypesBranch> | ||||
| 139 | |||||
| 140 | =cut | ||||
| 141 | |||||
| 142 | 1 | 336µs | __PACKAGE__->has_many( # spent 336µs making 1 call to DBIx::Class::Relationship::HasMany::has_many | ||
| 143 | "borrower_attribute_types_branches", | ||||
| 144 | "Koha::Schema::Result::BorrowerAttributeTypesBranch", | ||||
| 145 | { "foreign.bat_code" => "self.code" }, | ||||
| 146 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
| 147 | ); | ||||
| 148 | |||||
| 149 | =head2 borrower_attributes | ||||
| 150 | |||||
| 151 | Type: has_many | ||||
| 152 | |||||
| 153 | Related object: L<Koha::Schema::Result::BorrowerAttribute> | ||||
| 154 | |||||
| 155 | =cut | ||||
| 156 | |||||
| 157 | 1 | 229µs | __PACKAGE__->has_many( # spent 229µs making 1 call to DBIx::Class::Relationship::HasMany::has_many | ||
| 158 | "borrower_attributes", | ||||
| 159 | "Koha::Schema::Result::BorrowerAttribute", | ||||
| 160 | { "foreign.code" => "self.code" }, | ||||
| 161 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
| 162 | ); | ||||
| 163 | |||||
| 164 | |||||
| 165 | # Created by DBIx::Class::Schema::Loader v0.07039 @ 2015-01-13 13:14:54 | ||||
| 166 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:9fLFZ/u89xmeCollneyUIg | ||||
| 167 | |||||
| 168 | |||||
| 169 | # You can replace this text with custom content, and it will be preserved on regeneration | ||||
| 170 | 1; |