| Filename | /home/vagrant/kohaclone/Koha/Schema/Result/MessageTransportType.pm |
| Statements | Executed 18 statements in 618µs |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 52µs | 56µs | Class::C3::Componentised::BEGIN@1.2455 |
| 1 | 1 | 1 | 12µs | 23µs | Koha::Schema::Result::MessageTransportType::BEGIN@13 |
| 1 | 1 | 1 | 11µs | 107µs | Koha::Schema::Result::MessageTransportType::BEGIN@16 |
| 1 | 1 | 1 | 10µs | 18µs | Koha::Schema::Result::MessageTransportType::BEGIN@14 |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | 2 | 124µs | 2 | 60µs | # spent 56µs (52+4) within Class::C3::Componentised::BEGIN@1.2455 which was called:
# once (52µs+4µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 56µs making 1 call to Class::C3::Componentised::BEGIN@1.2455
# spent 4µ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 | 45µs | 2 | 34µs | # spent 23µs (12+11) within Koha::Schema::Result::MessageTransportType::BEGIN@13 which was called:
# once (12µs+11µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 23µs making 1 call to Koha::Schema::Result::MessageTransportType::BEGIN@13
# spent 11µs making 1 call to strict::import |
| 14 | 2 | 41µs | 2 | 27µs | # spent 18µs (10+9) within Koha::Schema::Result::MessageTransportType::BEGIN@14 which was called:
# once (10µs+9µs) by Class::C3::Componentised::ensure_class_loaded at line 14 # spent 18µs making 1 call to Koha::Schema::Result::MessageTransportType::BEGIN@14
# spent 9µs making 1 call to warnings::import |
| 15 | |||||
| 16 | 2 | 318µs | 2 | 203µs | # spent 107µs (11+96) within Koha::Schema::Result::MessageTransportType::BEGIN@16 which was called:
# once (11µs+96µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 107µs making 1 call to Koha::Schema::Result::MessageTransportType::BEGIN@16
# spent 96µs making 1 call to base::import |
| 17 | |||||
| 18 | =head1 TABLE: C<message_transport_types> | ||||
| 19 | |||||
| 20 | =cut | ||||
| 21 | |||||
| 22 | 1 | 19µs | 1 | 332µs | __PACKAGE__->table("message_transport_types"); # spent 332µ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 | 17µs | 1 | 124µs | __PACKAGE__->add_columns( # spent 124µ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 | 16µs | 1 | 65µs | __PACKAGE__->set_primary_key("message_transport_type"); # spent 65µ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 | 8µs | 1 | 334µs | __PACKAGE__->has_many( # spent 334µ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 | 3µs | 1 | 225µs | __PACKAGE__->has_many( # spent 225µ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 | 3µs | 1 | 212µs | __PACKAGE__->has_many( # spent 212µ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 | 3µs | 1 | 218µs | __PACKAGE__->has_many( # spent 218µ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 | 3µs | 1 | 218µs | __PACKAGE__->has_many( # spent 218µ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 | 8µs | 1 | 136µs | __PACKAGE__->many_to_many( # spent 136µ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 | 9µs | 1; |