Filename | /home/vagrant/kohaclone/Koha/Schema/Result/MessageTransport.pm |
Statements | Executed 0 statements in 0s |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 46µs | 50µs | BEGIN@1.2715 | Class::C3::Componentised::
1 | 1 | 1 | 11µs | 25µs | BEGIN@13 | Koha::Schema::Result::MessageTransport::
1 | 1 | 1 | 10µs | 96µs | BEGIN@16 | Koha::Schema::Result::MessageTransport::
1 | 1 | 1 | 9µs | 20µs | BEGIN@14 | Koha::Schema::Result::MessageTransport::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | 2 | 55µs | # spent 50µs (46+5) within Class::C3::Componentised::BEGIN@1.2715 which was called:
# once (46µs+5µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 50µs making 1 call to Class::C3::Componentised::BEGIN@1.2715
# spent 5µs making 1 call to utf8::import | ||
2 | package Koha::Schema::Result::MessageTransport; | ||||
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::MessageTransport | ||||
10 | |||||
11 | =cut | ||||
12 | |||||
13 | 2 | 39µs | # spent 25µs (11+14) within Koha::Schema::Result::MessageTransport::BEGIN@13 which was called:
# once (11µs+14µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 25µs making 1 call to Koha::Schema::Result::MessageTransport::BEGIN@13
# spent 14µs making 1 call to strict::import | ||
14 | 2 | 30µs | # spent 20µs (9+10) within Koha::Schema::Result::MessageTransport::BEGIN@14 which was called:
# once (9µs+10µs) by Class::C3::Componentised::ensure_class_loaded at line 14 # spent 20µs making 1 call to Koha::Schema::Result::MessageTransport::BEGIN@14
# spent 10µs making 1 call to warnings::import | ||
15 | |||||
16 | 2 | 181µs | # spent 96µs (10+85) within Koha::Schema::Result::MessageTransport::BEGIN@16 which was called:
# once (10µs+85µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 96µs making 1 call to Koha::Schema::Result::MessageTransport::BEGIN@16
# spent 85µs making 1 call to base::import | ||
17 | |||||
18 | =head1 TABLE: C<message_transports> | ||||
19 | |||||
20 | =cut | ||||
21 | |||||
22 | 1 | 360µs | __PACKAGE__->table("message_transports"); # spent 360µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table | ||
23 | |||||
24 | =head1 ACCESSORS | ||||
25 | |||||
26 | =head2 message_attribute_id | ||||
27 | |||||
28 | data_type: 'integer' | ||||
29 | is_foreign_key: 1 | ||||
30 | is_nullable: 0 | ||||
31 | |||||
32 | =head2 message_transport_type | ||||
33 | |||||
34 | data_type: 'varchar' | ||||
35 | is_foreign_key: 1 | ||||
36 | is_nullable: 0 | ||||
37 | size: 20 | ||||
38 | |||||
39 | =head2 is_digest | ||||
40 | |||||
41 | data_type: 'tinyint' | ||||
42 | default_value: 0 | ||||
43 | is_nullable: 0 | ||||
44 | |||||
45 | =head2 letter_module | ||||
46 | |||||
47 | data_type: 'varchar' | ||||
48 | default_value: (empty string) | ||||
49 | is_foreign_key: 1 | ||||
50 | is_nullable: 0 | ||||
51 | size: 20 | ||||
52 | |||||
53 | =head2 letter_code | ||||
54 | |||||
55 | data_type: 'varchar' | ||||
56 | default_value: (empty string) | ||||
57 | is_foreign_key: 1 | ||||
58 | is_nullable: 0 | ||||
59 | size: 20 | ||||
60 | |||||
61 | =head2 branchcode | ||||
62 | |||||
63 | data_type: 'varchar' | ||||
64 | default_value: (empty string) | ||||
65 | is_foreign_key: 1 | ||||
66 | is_nullable: 0 | ||||
67 | size: 10 | ||||
68 | |||||
69 | =cut | ||||
70 | |||||
71 | 1 | 14.0ms | __PACKAGE__->add_columns( # spent 14.0ms making 1 call to DBIx::Class::ResultSourceProxy::add_columns | ||
72 | "message_attribute_id", | ||||
73 | { data_type => "integer", is_foreign_key => 1, is_nullable => 0 }, | ||||
74 | "message_transport_type", | ||||
75 | { data_type => "varchar", is_foreign_key => 1, is_nullable => 0, size => 20 }, | ||||
76 | "is_digest", | ||||
77 | { data_type => "tinyint", default_value => 0, is_nullable => 0 }, | ||||
78 | "letter_module", | ||||
79 | { | ||||
80 | data_type => "varchar", | ||||
81 | default_value => "", | ||||
82 | is_foreign_key => 1, | ||||
83 | is_nullable => 0, | ||||
84 | size => 20, | ||||
85 | }, | ||||
86 | "letter_code", | ||||
87 | { | ||||
88 | data_type => "varchar", | ||||
89 | default_value => "", | ||||
90 | is_foreign_key => 1, | ||||
91 | is_nullable => 0, | ||||
92 | size => 20, | ||||
93 | }, | ||||
94 | "branchcode", | ||||
95 | { | ||||
96 | data_type => "varchar", | ||||
97 | default_value => "", | ||||
98 | is_foreign_key => 1, | ||||
99 | is_nullable => 0, | ||||
100 | size => 10, | ||||
101 | }, | ||||
102 | ); | ||||
103 | |||||
104 | =head1 PRIMARY KEY | ||||
105 | |||||
106 | =over 4 | ||||
107 | |||||
108 | =item * L</message_attribute_id> | ||||
109 | |||||
110 | =item * L</message_transport_type> | ||||
111 | |||||
112 | =item * L</is_digest> | ||||
113 | |||||
114 | =back | ||||
115 | |||||
116 | =cut | ||||
117 | |||||
118 | 1 | 123µs | __PACKAGE__->set_primary_key("message_attribute_id", "message_transport_type", "is_digest"); # spent 123µs making 1 call to DBIx::Class::ResultSourceProxy::set_primary_key | ||
119 | |||||
120 | =head1 RELATIONS | ||||
121 | |||||
122 | =head2 letter | ||||
123 | |||||
124 | Type: belongs_to | ||||
125 | |||||
126 | Related object: L<Koha::Schema::Result::Letter> | ||||
127 | |||||
128 | =cut | ||||
129 | |||||
130 | 1 | 470µs | __PACKAGE__->belongs_to( # spent 470µs making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to | ||
131 | "letter", | ||||
132 | "Koha::Schema::Result::Letter", | ||||
133 | { | ||||
134 | branchcode => "branchcode", | ||||
135 | code => "letter_code", | ||||
136 | module => "letter_module", | ||||
137 | }, | ||||
138 | { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, | ||||
139 | ); | ||||
140 | |||||
141 | =head2 message_attribute | ||||
142 | |||||
143 | Type: belongs_to | ||||
144 | |||||
145 | Related object: L<Koha::Schema::Result::MessageAttribute> | ||||
146 | |||||
147 | =cut | ||||
148 | |||||
149 | 1 | 270µs | __PACKAGE__->belongs_to( # spent 270µs making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to | ||
150 | "message_attribute", | ||||
151 | "Koha::Schema::Result::MessageAttribute", | ||||
152 | { message_attribute_id => "message_attribute_id" }, | ||||
153 | { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, | ||||
154 | ); | ||||
155 | |||||
156 | =head2 message_transport_type | ||||
157 | |||||
158 | Type: belongs_to | ||||
159 | |||||
160 | Related object: L<Koha::Schema::Result::MessageTransportType> | ||||
161 | |||||
162 | =cut | ||||
163 | |||||
164 | 1 | 300µs | __PACKAGE__->belongs_to( # spent 300µs making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to | ||
165 | "message_transport_type", | ||||
166 | "Koha::Schema::Result::MessageTransportType", | ||||
167 | { message_transport_type => "message_transport_type" }, | ||||
168 | { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, | ||||
169 | ); | ||||
170 | |||||
171 | |||||
172 | # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21 | ||||
173 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:P4Bsq0A7/imUhRBRnD5HrQ | ||||
174 | |||||
175 | |||||
176 | # You can replace this text with custom content, and it will be preserved on regeneration | ||||
177 | 1; |