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 | 35µs | 39µs | BEGIN@1.2478 | Class::C3::Componentised::
1 | 1 | 1 | 10µs | 19µs | BEGIN@13 | Koha::Schema::Result::MessageTransportType::
1 | 1 | 1 | 10µs | 76µs | BEGIN@16 | Koha::Schema::Result::MessageTransportType::
1 | 1 | 1 | 9µs | 15µs | BEGIN@14 | Koha::Schema::Result::MessageTransportType::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | 2 | 42µs | # spent 39µs (35+3) within Class::C3::Componentised::BEGIN@1.2478 which was called:
# once (35µs+3µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 39µs making 1 call to Class::C3::Componentised::BEGIN@1.2478
# spent 3µ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 | 27µs | # spent 19µs (10+8) within Koha::Schema::Result::MessageTransportType::BEGIN@13 which was called:
# once (10µs+8µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 19µs making 1 call to Koha::Schema::Result::MessageTransportType::BEGIN@13
# spent 8µs making 1 call to strict::import | ||
14 | 2 | 21µs | # spent 15µs (9+6) within Koha::Schema::Result::MessageTransportType::BEGIN@14 which was called:
# once (9µs+6µs) by Class::C3::Componentised::ensure_class_loaded at line 14 # spent 15µs making 1 call to Koha::Schema::Result::MessageTransportType::BEGIN@14
# spent 6µs making 1 call to warnings::import | ||
15 | |||||
16 | 2 | 143µs | # spent 76µs (10+66) within Koha::Schema::Result::MessageTransportType::BEGIN@16 which was called:
# once (10µs+66µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 76µs making 1 call to Koha::Schema::Result::MessageTransportType::BEGIN@16
# spent 66µs making 1 call to base::import | ||
17 | |||||
18 | =head1 TABLE: C<message_transport_types> | ||||
19 | |||||
20 | =cut | ||||
21 | |||||
22 | 1 | 328µs | __PACKAGE__->table("message_transport_types"); # spent 328µ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 | 131µs | __PACKAGE__->add_columns( # spent 131µ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 | 70µs | __PACKAGE__->set_primary_key("message_transport_type"); # spent 70µ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 | 329µs | __PACKAGE__->has_many( # spent 329µ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 | 232µs | __PACKAGE__->has_many( # spent 232µ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 | 268µs | __PACKAGE__->has_many( # spent 268µ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 | 212µs | __PACKAGE__->has_many( # spent 212µ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 | 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 | 138µs | __PACKAGE__->many_to_many( # spent 138µ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; |