| Filename | /home/vagrant/kohaclone/Koha/Schema/Result/BorrowerMessageTransportPreference.pm |
| Statements | Executed 0 statements in 0s |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 19µs | 29µs | Koha::Schema::Result::BorrowerMessageTransportPreference::BEGIN@13 |
| 1 | 1 | 1 | 11µs | 90µs | Koha::Schema::Result::BorrowerMessageTransportPreference::BEGIN@16 |
| 1 | 1 | 1 | 10µs | 16µs | Koha::Schema::Result::BorrowerMessageTransportPreference::BEGIN@14 |
| 1 | 1 | 1 | 7µs | 9µs | Class::C3::Componentised::BEGIN@1.2151 |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | 2 | 10µs | # spent 9µs (7+2) within Class::C3::Componentised::BEGIN@1.2151 which was called:
# once (7µs+2µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 9µs making 1 call to Class::C3::Componentised::BEGIN@1.2151
# spent 2µs making 1 call to utf8::import | ||
| 2 | package Koha::Schema::Result::BorrowerMessageTransportPreference; | ||||
| 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::BorrowerMessageTransportPreference | ||||
| 10 | |||||
| 11 | =cut | ||||
| 12 | |||||
| 13 | 2 | 38µs | # spent 29µs (19+9) within Koha::Schema::Result::BorrowerMessageTransportPreference::BEGIN@13 which was called:
# once (19µs+9µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 29µs making 1 call to Koha::Schema::Result::BorrowerMessageTransportPreference::BEGIN@13
# spent 9µs making 1 call to strict::import | ||
| 14 | 2 | 23µs | # spent 16µs (10+7) within Koha::Schema::Result::BorrowerMessageTransportPreference::BEGIN@14 which was called:
# once (10µs+7µs) by Class::C3::Componentised::ensure_class_loaded at line 14 # spent 16µs making 1 call to Koha::Schema::Result::BorrowerMessageTransportPreference::BEGIN@14
# spent 7µs making 1 call to warnings::import | ||
| 15 | |||||
| 16 | 2 | 169µs | # spent 90µs (11+79) within Koha::Schema::Result::BorrowerMessageTransportPreference::BEGIN@16 which was called:
# once (11µs+79µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 90µs making 1 call to Koha::Schema::Result::BorrowerMessageTransportPreference::BEGIN@16
# spent 79µs making 1 call to base::import | ||
| 17 | |||||
| 18 | =head1 TABLE: C<borrower_message_transport_preferences> | ||||
| 19 | |||||
| 20 | =cut | ||||
| 21 | |||||
| 22 | 1 | 336µs | __PACKAGE__->table("borrower_message_transport_preferences"); # spent 336µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table | ||
| 23 | |||||
| 24 | =head1 ACCESSORS | ||||
| 25 | |||||
| 26 | =head2 borrower_message_preference_id | ||||
| 27 | |||||
| 28 | data_type: 'integer' | ||||
| 29 | default_value: 0 | ||||
| 30 | is_foreign_key: 1 | ||||
| 31 | is_nullable: 0 | ||||
| 32 | |||||
| 33 | =head2 message_transport_type | ||||
| 34 | |||||
| 35 | data_type: 'varchar' | ||||
| 36 | default_value: 0 | ||||
| 37 | is_foreign_key: 1 | ||||
| 38 | is_nullable: 0 | ||||
| 39 | size: 20 | ||||
| 40 | |||||
| 41 | =cut | ||||
| 42 | |||||
| 43 | 1 | 212µs | __PACKAGE__->add_columns( # spent 212µs making 1 call to DBIx::Class::ResultSourceProxy::add_columns | ||
| 44 | "borrower_message_preference_id", | ||||
| 45 | { | ||||
| 46 | data_type => "integer", | ||||
| 47 | default_value => 0, | ||||
| 48 | is_foreign_key => 1, | ||||
| 49 | is_nullable => 0, | ||||
| 50 | }, | ||||
| 51 | "message_transport_type", | ||||
| 52 | { | ||||
| 53 | data_type => "varchar", | ||||
| 54 | default_value => 0, | ||||
| 55 | is_foreign_key => 1, | ||||
| 56 | is_nullable => 0, | ||||
| 57 | size => 20, | ||||
| 58 | }, | ||||
| 59 | ); | ||||
| 60 | |||||
| 61 | =head1 PRIMARY KEY | ||||
| 62 | |||||
| 63 | =over 4 | ||||
| 64 | |||||
| 65 | =item * L</borrower_message_preference_id> | ||||
| 66 | |||||
| 67 | =item * L</message_transport_type> | ||||
| 68 | |||||
| 69 | =back | ||||
| 70 | |||||
| 71 | =cut | ||||
| 72 | |||||
| 73 | 1 | 73µs | __PACKAGE__->set_primary_key("borrower_message_preference_id", "message_transport_type"); # spent 73µs making 1 call to DBIx::Class::ResultSourceProxy::set_primary_key | ||
| 74 | |||||
| 75 | =head1 RELATIONS | ||||
| 76 | |||||
| 77 | =head2 borrower_message_preference | ||||
| 78 | |||||
| 79 | Type: belongs_to | ||||
| 80 | |||||
| 81 | Related object: L<Koha::Schema::Result::BorrowerMessagePreference> | ||||
| 82 | |||||
| 83 | =cut | ||||
| 84 | |||||
| 85 | 1 | 311µs | __PACKAGE__->belongs_to( # spent 311µs making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to | ||
| 86 | "borrower_message_preference", | ||||
| 87 | "Koha::Schema::Result::BorrowerMessagePreference", | ||||
| 88 | { | ||||
| 89 | borrower_message_preference_id => "borrower_message_preference_id", | ||||
| 90 | }, | ||||
| 91 | { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, | ||||
| 92 | ); | ||||
| 93 | |||||
| 94 | =head2 message_transport_type | ||||
| 95 | |||||
| 96 | Type: belongs_to | ||||
| 97 | |||||
| 98 | Related object: L<Koha::Schema::Result::MessageTransportType> | ||||
| 99 | |||||
| 100 | =cut | ||||
| 101 | |||||
| 102 | 1 | 293µs | __PACKAGE__->belongs_to( # spent 293µs making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to | ||
| 103 | "message_transport_type", | ||||
| 104 | "Koha::Schema::Result::MessageTransportType", | ||||
| 105 | { message_transport_type => "message_transport_type" }, | ||||
| 106 | { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, | ||||
| 107 | ); | ||||
| 108 | |||||
| 109 | |||||
| 110 | # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21 | ||||
| 111 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:yHKWBur//GdtTL5IdjcgIg | ||||
| 112 | |||||
| 113 | |||||
| 114 | # You can replace this text with custom content, and it will be preserved on regeneration | ||||
| 115 | 1; |