| Filename | /home/vagrant/kohaclone/Koha/Schema/Result/MessageTransportType.pm |
| Statements | Executed 0 statements in 0s |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 47µs | 52µs | Class::C3::Componentised::BEGIN@1.2839 |
| 1 | 1 | 1 | 14µs | 28µs | Koha::Schema::Result::MessageTransportType::BEGIN@13 |
| 1 | 1 | 1 | 11µs | 21µs | Koha::Schema::Result::MessageTransportType::BEGIN@14 |
| 1 | 1 | 1 | 10µs | 98µs | Koha::Schema::Result::MessageTransportType::BEGIN@16 |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | 2 | 56µs | # spent 52µs (47+5) within Class::C3::Componentised::BEGIN@1.2839 which was called:
# once (47µs+5µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 52µs making 1 call to Class::C3::Componentised::BEGIN@1.2839
# spent 5µs making 1 call to utf8::import | ||
| 2 | package Koha::Schema::Result::MessageTransportType; | ||||
| 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::MessageTransportType | ||||
| 10 | |||||
| 11 | =cut | ||||
| 12 | |||||
| 13 | 2 | 42µs | # spent 28µs (14+14) within Koha::Schema::Result::MessageTransportType::BEGIN@13 which was called:
# once (14µs+14µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 28µs making 1 call to Koha::Schema::Result::MessageTransportType::BEGIN@13
# spent 14µs making 1 call to strict::import | ||
| 14 | 2 | 32µs | # spent 21µs (11+11) within Koha::Schema::Result::MessageTransportType::BEGIN@14 which was called:
# once (11µs+11µs) by Class::C3::Componentised::ensure_class_loaded at line 14 # spent 21µs making 1 call to Koha::Schema::Result::MessageTransportType::BEGIN@14
# spent 11µs making 1 call to warnings::import | ||
| 15 | |||||
| 16 | 2 | 185µs | # spent 98µs (10+87) within Koha::Schema::Result::MessageTransportType::BEGIN@16 which was called:
# once (10µs+87µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 98µs making 1 call to Koha::Schema::Result::MessageTransportType::BEGIN@16
# spent 87µs making 1 call to base::import | ||
| 17 | |||||
| 18 | =head1 TABLE: C<message_transport_types> | ||||
| 19 | |||||
| 20 | =cut | ||||
| 21 | |||||
| 22 | 1 | 372µs | __PACKAGE__->table("message_transport_types"); # spent 372µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table | ||
| 23 | |||||
| 24 | =head1 ACCESSORS | ||||
| 25 | |||||
| 26 | =head2 message_transport_type | ||||
| 27 | |||||
| 28 | data_type: 'varchar' | ||||
| 29 | is_nullable: 0 | ||||
| 30 | size: 20 | ||||
| 31 | |||||
| 32 | =cut | ||||
| 33 | |||||
| 34 | 1 | 148µs | __PACKAGE__->add_columns( # spent 148µs making 1 call to DBIx::Class::ResultSourceProxy::add_columns | ||
| 35 | "message_transport_type", | ||||
| 36 | { data_type => "varchar", is_nullable => 0, size => 20 }, | ||||
| 37 | ); | ||||
| 38 | |||||
| 39 | =head1 PRIMARY KEY | ||||
| 40 | |||||
| 41 | =over 4 | ||||
| 42 | |||||
| 43 | =item * L</message_transport_type> | ||||
| 44 | |||||
| 45 | =back | ||||
| 46 | |||||
| 47 | =cut | ||||
| 48 | |||||
| 49 | 1 | 77µs | __PACKAGE__->set_primary_key("message_transport_type"); # spent 77µs making 1 call to DBIx::Class::ResultSourceProxy::set_primary_key | ||
| 50 | |||||
| 51 | =head1 RELATIONS | ||||
| 52 | |||||
| 53 | =head2 borrower_message_transport_preferences | ||||
| 54 | |||||
| 55 | Type: has_many | ||||
| 56 | |||||
| 57 | Related object: L<Koha::Schema::Result::BorrowerMessageTransportPreference> | ||||
| 58 | |||||
| 59 | =cut | ||||
| 60 | |||||
| 61 | 1 | 365µs | __PACKAGE__->has_many( # spent 365µs making 1 call to DBIx::Class::Relationship::HasMany::has_many | ||
| 62 | "borrower_message_transport_preferences", | ||||
| 63 | "Koha::Schema::Result::BorrowerMessageTransportPreference", | ||||
| 64 | { | ||||
| 65 | "foreign.message_transport_type" => "self.message_transport_type", | ||||
| 66 | }, | ||||
| 67 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
| 68 | ); | ||||
| 69 | |||||
| 70 | =head2 letters | ||||
| 71 | |||||
| 72 | Type: has_many | ||||
| 73 | |||||
| 74 | Related object: L<Koha::Schema::Result::Letter> | ||||
| 75 | |||||
| 76 | =cut | ||||
| 77 | |||||
| 78 | 1 | 228µs | __PACKAGE__->has_many( # spent 228µs making 1 call to DBIx::Class::Relationship::HasMany::has_many | ||
| 79 | "letters", | ||||
| 80 | "Koha::Schema::Result::Letter", | ||||
| 81 | { | ||||
| 82 | "foreign.message_transport_type" => "self.message_transport_type", | ||||
| 83 | }, | ||||
| 84 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
| 85 | ); | ||||
| 86 | |||||
| 87 | =head2 message_queues | ||||
| 88 | |||||
| 89 | Type: has_many | ||||
| 90 | |||||
| 91 | Related object: L<Koha::Schema::Result::MessageQueue> | ||||
| 92 | |||||
| 93 | =cut | ||||
| 94 | |||||
| 95 | 1 | 221µs | __PACKAGE__->has_many( # spent 221µs making 1 call to DBIx::Class::Relationship::HasMany::has_many | ||
| 96 | "message_queues", | ||||
| 97 | "Koha::Schema::Result::MessageQueue", | ||||
| 98 | { | ||||
| 99 | "foreign.message_transport_type" => "self.message_transport_type", | ||||
| 100 | }, | ||||
| 101 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
| 102 | ); | ||||
| 103 | |||||
| 104 | =head2 message_transports | ||||
| 105 | |||||
| 106 | Type: has_many | ||||
| 107 | |||||
| 108 | Related object: L<Koha::Schema::Result::MessageTransport> | ||||
| 109 | |||||
| 110 | =cut | ||||
| 111 | |||||
| 112 | 1 | 219µs | __PACKAGE__->has_many( # spent 219µs making 1 call to DBIx::Class::Relationship::HasMany::has_many | ||
| 113 | "message_transports", | ||||
| 114 | "Koha::Schema::Result::MessageTransport", | ||||
| 115 | { | ||||
| 116 | "foreign.message_transport_type" => "self.message_transport_type", | ||||
| 117 | }, | ||||
| 118 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
| 119 | ); | ||||
| 120 | |||||
| 121 | =head2 overduerules_transport_types | ||||
| 122 | |||||
| 123 | Type: has_many | ||||
| 124 | |||||
| 125 | Related object: L<Koha::Schema::Result::OverduerulesTransportType> | ||||
| 126 | |||||
| 127 | =cut | ||||
| 128 | |||||
| 129 | 1 | 219µs | __PACKAGE__->has_many( # spent 219µs making 1 call to DBIx::Class::Relationship::HasMany::has_many | ||
| 130 | "overduerules_transport_types", | ||||
| 131 | "Koha::Schema::Result::OverduerulesTransportType", | ||||
| 132 | { | ||||
| 133 | "foreign.message_transport_type" => "self.message_transport_type", | ||||
| 134 | }, | ||||
| 135 | { cascade_copy => 0, cascade_delete => 0 }, | ||||
| 136 | ); | ||||
| 137 | |||||
| 138 | =head2 borrower_message_preferences | ||||
| 139 | |||||
| 140 | Type: many_to_many | ||||
| 141 | |||||
| 142 | Composing rels: L</borrower_message_transport_preferences> -> borrower_message_preference | ||||
| 143 | |||||
| 144 | =cut | ||||
| 145 | |||||
| 146 | 1 | 147µs | __PACKAGE__->many_to_many( # spent 147µs making 1 call to DBIx::Class::Relationship::ManyToMany::many_to_many | ||
| 147 | "borrower_message_preferences", | ||||
| 148 | "borrower_message_transport_preferences", | ||||
| 149 | "borrower_message_preference", | ||||
| 150 | ); | ||||
| 151 | |||||
| 152 | |||||
| 153 | # Created by DBIx::Class::Schema::Loader v0.07025 @ 2014-05-02 18:04:32 | ||||
| 154 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:YpzL/dxDWq//5vqXfvHoVQ | ||||
| 155 | |||||
| 156 | |||||
| 157 | # You can replace this text with custom content, and it will be preserved on regeneration | ||||
| 158 | 1; |