Filename | /home/vagrant/kohaclone/Koha/Schema/Result/AuthTagStructure.pm |
Statements | Executed 0 statements in 0s |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
1 | 1 | 1 | 48µs | 54µs | BEGIN@1.2648 | Class::C3::Componentised::
1 | 1 | 1 | 12µs | 27µs | BEGIN@13 | Koha::Schema::Result::AuthTagStructure::
1 | 1 | 1 | 12µs | 104µs | BEGIN@16 | Koha::Schema::Result::AuthTagStructure::
1 | 1 | 1 | 11µs | 22µs | BEGIN@14 | Koha::Schema::Result::AuthTagStructure::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | 2 | 59µs | # spent 54µs (48+5) within Class::C3::Componentised::BEGIN@1.2648 which was called:
# once (48µs+5µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 54µs making 1 call to Class::C3::Componentised::BEGIN@1.2648
# spent 5µs making 1 call to utf8::import | ||
2 | package Koha::Schema::Result::AuthTagStructure; | ||||
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::AuthTagStructure | ||||
10 | |||||
11 | =cut | ||||
12 | |||||
13 | 2 | 41µs | # spent 27µs (12+14) within Koha::Schema::Result::AuthTagStructure::BEGIN@13 which was called:
# once (12µs+14µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 27µs making 1 call to Koha::Schema::Result::AuthTagStructure::BEGIN@13
# spent 14µs making 1 call to strict::import | ||
14 | 2 | 33µs | # spent 22µs (11+11) within Koha::Schema::Result::AuthTagStructure::BEGIN@14 which was called:
# once (11µs+11µs) by Class::C3::Componentised::ensure_class_loaded at line 14 # spent 22µs making 1 call to Koha::Schema::Result::AuthTagStructure::BEGIN@14
# spent 11µs making 1 call to warnings::import | ||
15 | |||||
16 | 2 | 196µs | # spent 104µs (12+92) within Koha::Schema::Result::AuthTagStructure::BEGIN@16 which was called:
# once (12µs+92µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 104µs making 1 call to Koha::Schema::Result::AuthTagStructure::BEGIN@16
# spent 92µs making 1 call to base::import | ||
17 | |||||
18 | =head1 TABLE: C<auth_tag_structure> | ||||
19 | |||||
20 | =cut | ||||
21 | |||||
22 | 1 | 360µs | __PACKAGE__->table("auth_tag_structure"); # spent 360µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table | ||
23 | |||||
24 | =head1 ACCESSORS | ||||
25 | |||||
26 | =head2 authtypecode | ||||
27 | |||||
28 | data_type: 'varchar' | ||||
29 | default_value: (empty string) | ||||
30 | is_foreign_key: 1 | ||||
31 | is_nullable: 0 | ||||
32 | size: 10 | ||||
33 | |||||
34 | =head2 tagfield | ||||
35 | |||||
36 | data_type: 'varchar' | ||||
37 | default_value: (empty string) | ||||
38 | is_nullable: 0 | ||||
39 | size: 3 | ||||
40 | |||||
41 | =head2 liblibrarian | ||||
42 | |||||
43 | data_type: 'varchar' | ||||
44 | default_value: (empty string) | ||||
45 | is_nullable: 0 | ||||
46 | size: 255 | ||||
47 | |||||
48 | =head2 libopac | ||||
49 | |||||
50 | data_type: 'varchar' | ||||
51 | default_value: (empty string) | ||||
52 | is_nullable: 0 | ||||
53 | size: 255 | ||||
54 | |||||
55 | =head2 repeatable | ||||
56 | |||||
57 | data_type: 'tinyint' | ||||
58 | default_value: 0 | ||||
59 | is_nullable: 0 | ||||
60 | |||||
61 | =head2 mandatory | ||||
62 | |||||
63 | data_type: 'tinyint' | ||||
64 | default_value: 0 | ||||
65 | is_nullable: 0 | ||||
66 | |||||
67 | =head2 authorised_value | ||||
68 | |||||
69 | data_type: 'varchar' | ||||
70 | is_nullable: 1 | ||||
71 | size: 10 | ||||
72 | |||||
73 | =cut | ||||
74 | |||||
75 | 1 | 597µs | __PACKAGE__->add_columns( # spent 597µs making 1 call to DBIx::Class::ResultSourceProxy::add_columns | ||
76 | "authtypecode", | ||||
77 | { | ||||
78 | data_type => "varchar", | ||||
79 | default_value => "", | ||||
80 | is_foreign_key => 1, | ||||
81 | is_nullable => 0, | ||||
82 | size => 10, | ||||
83 | }, | ||||
84 | "tagfield", | ||||
85 | { data_type => "varchar", default_value => "", is_nullable => 0, size => 3 }, | ||||
86 | "liblibrarian", | ||||
87 | { data_type => "varchar", default_value => "", is_nullable => 0, size => 255 }, | ||||
88 | "libopac", | ||||
89 | { data_type => "varchar", default_value => "", is_nullable => 0, size => 255 }, | ||||
90 | "repeatable", | ||||
91 | { data_type => "tinyint", default_value => 0, is_nullable => 0 }, | ||||
92 | "mandatory", | ||||
93 | { data_type => "tinyint", default_value => 0, is_nullable => 0 }, | ||||
94 | "authorised_value", | ||||
95 | { data_type => "varchar", is_nullable => 1, size => 10 }, | ||||
96 | ); | ||||
97 | |||||
98 | =head1 PRIMARY KEY | ||||
99 | |||||
100 | =over 4 | ||||
101 | |||||
102 | =item * L</authtypecode> | ||||
103 | |||||
104 | =item * L</tagfield> | ||||
105 | |||||
106 | =back | ||||
107 | |||||
108 | =cut | ||||
109 | |||||
110 | 1 | 86µs | __PACKAGE__->set_primary_key("authtypecode", "tagfield"); # spent 86µs making 1 call to DBIx::Class::ResultSourceProxy::set_primary_key | ||
111 | |||||
112 | =head1 RELATIONS | ||||
113 | |||||
114 | =head2 authtypecode | ||||
115 | |||||
116 | Type: belongs_to | ||||
117 | |||||
118 | Related object: L<Koha::Schema::Result::AuthType> | ||||
119 | |||||
120 | =cut | ||||
121 | |||||
122 | 1 | 400µs | __PACKAGE__->belongs_to( # spent 400µs making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to | ||
123 | "authtypecode", | ||||
124 | "Koha::Schema::Result::AuthType", | ||||
125 | { authtypecode => "authtypecode" }, | ||||
126 | { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, | ||||
127 | ); | ||||
128 | |||||
129 | |||||
130 | # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21 | ||||
131 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:4ulaQnDuxrwYgCKJ/Qygaw | ||||
132 | |||||
133 | |||||
134 | # You can replace this text with custom content, and it will be preserved on regeneration | ||||
135 | 1; |