Filename | /home/vagrant/kohaclone/Koha/Schema/Result/MessageTransportType.pm |
Statements | Executed 18 statements in 598µs |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 38µs | 43µs | BEGIN@1.2772 | Class::C3::Componentised::
1 | 1 | 1 | 12µs | 24µs | BEGIN@13 | Koha::Schema::Result::MessageTransportType::
1 | 1 | 1 | 11µs | 21µs | BEGIN@14 | Koha::Schema::Result::MessageTransportType::
1 | 1 | 1 | 10µs | 90µs | BEGIN@16 | Koha::Schema::Result::MessageTransportType::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | 2 | 87µs | 2 | 47µs | # spent 43µs (38+5) within Class::C3::Componentised::BEGIN@1.2772 which was called:
# once (38µs+5µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 43µs making 1 call to Class::C3::Componentised::BEGIN@1.2772
# 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 | 36µs | # spent 24µs (12+12) within Koha::Schema::Result::MessageTransportType::BEGIN@13 which was called:
# once (12µs+12µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 24µs making 1 call to Koha::Schema::Result::MessageTransportType::BEGIN@13
# spent 12µs making 1 call to strict::import |
14 | 2 | 44µs | 2 | 31µs | # spent 21µs (11+10) within Koha::Schema::Result::MessageTransportType::BEGIN@14 which was called:
# once (11µs+10µ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 10µs making 1 call to warnings::import |
15 | |||||
16 | 2 | 315µs | 2 | 170µs | # spent 90µs (10+80) within Koha::Schema::Result::MessageTransportType::BEGIN@16 which was called:
# once (10µs+80µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 90µs making 1 call to Koha::Schema::Result::MessageTransportType::BEGIN@16
# spent 80µs making 1 call to base::import |
17 | |||||
18 | =head1 TABLE: C<message_transport_types> | ||||
19 | |||||
20 | =cut | ||||
21 | |||||
22 | 1 | 25µs | 1 | 360µs | __PACKAGE__->table("message_transport_types"); # spent 360µ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 | 137µs | __PACKAGE__->add_columns( # spent 137µ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 | 22µs | 1 | 101µs | __PACKAGE__->set_primary_key("message_transport_type"); # spent 101µ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 | 9µs | 1 | 363µs | __PACKAGE__->has_many( # spent 363µ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 | 4µs | 1 | 248µs | __PACKAGE__->has_many( # spent 248µ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 | 4µs | 1 | 242µs | __PACKAGE__->has_many( # spent 242µ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 | 244µs | __PACKAGE__->has_many( # spent 244µ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 | 222µs | __PACKAGE__->has_many( # spent 222µ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 | 10µs | 1 | 149µs | __PACKAGE__->many_to_many( # spent 149µ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 | 12µs | 1; |