| Filename | /home/vagrant/kohaclone/Koha/Schema/Result/AuthSubfieldStructure.pm |
| Statements | Executed 0 statements in 0s |
| Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 27µs | 30µs | Class::C3::Componentised::BEGIN@1.2069 |
| 1 | 1 | 1 | 12µs | 86µs | Koha::Schema::Result::AuthSubfieldStructure::BEGIN@16 |
| 1 | 1 | 1 | 10µs | 21µs | Koha::Schema::Result::AuthSubfieldStructure::BEGIN@13 |
| 1 | 1 | 1 | 10µs | 19µs | Koha::Schema::Result::AuthSubfieldStructure::BEGIN@14 |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | 2 | 34µs | # spent 30µs (27+4) within Class::C3::Componentised::BEGIN@1.2069 which was called:
# once (27µs+4µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 30µs making 1 call to Class::C3::Componentised::BEGIN@1.2069
# spent 4µs making 1 call to utf8::import | ||
| 2 | package Koha::Schema::Result::AuthSubfieldStructure; | ||||
| 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::AuthSubfieldStructure | ||||
| 10 | |||||
| 11 | =cut | ||||
| 12 | |||||
| 13 | 2 | 32µs | # spent 21µs (10+11) within Koha::Schema::Result::AuthSubfieldStructure::BEGIN@13 which was called:
# once (10µs+11µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 21µs making 1 call to Koha::Schema::Result::AuthSubfieldStructure::BEGIN@13
# spent 11µs making 1 call to strict::import | ||
| 14 | 2 | 28µs | # spent 19µs (10+9) within Koha::Schema::Result::AuthSubfieldStructure::BEGIN@14 which was called:
# once (10µs+9µs) by Class::C3::Componentised::ensure_class_loaded at line 14 # spent 19µs making 1 call to Koha::Schema::Result::AuthSubfieldStructure::BEGIN@14
# spent 9µs making 1 call to warnings::import | ||
| 15 | |||||
| 16 | 2 | 161µs | # spent 86µs (12+74) within Koha::Schema::Result::AuthSubfieldStructure::BEGIN@16 which was called:
# once (12µs+74µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 86µs making 1 call to Koha::Schema::Result::AuthSubfieldStructure::BEGIN@16
# spent 74µs making 1 call to base::import | ||
| 17 | |||||
| 18 | =head1 TABLE: C<auth_subfield_structure> | ||||
| 19 | |||||
| 20 | =cut | ||||
| 21 | |||||
| 22 | 1 | 361µs | __PACKAGE__->table("auth_subfield_structure"); # spent 361µ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 tagsubfield | ||||
| 42 | |||||
| 43 | data_type: 'varchar' | ||||
| 44 | default_value: (empty string) | ||||
| 45 | is_nullable: 0 | ||||
| 46 | size: 1 | ||||
| 47 | |||||
| 48 | =head2 liblibrarian | ||||
| 49 | |||||
| 50 | data_type: 'varchar' | ||||
| 51 | default_value: (empty string) | ||||
| 52 | is_nullable: 0 | ||||
| 53 | size: 255 | ||||
| 54 | |||||
| 55 | =head2 libopac | ||||
| 56 | |||||
| 57 | data_type: 'varchar' | ||||
| 58 | default_value: (empty string) | ||||
| 59 | is_nullable: 0 | ||||
| 60 | size: 255 | ||||
| 61 | |||||
| 62 | =head2 repeatable | ||||
| 63 | |||||
| 64 | data_type: 'tinyint' | ||||
| 65 | default_value: 0 | ||||
| 66 | is_nullable: 0 | ||||
| 67 | |||||
| 68 | =head2 mandatory | ||||
| 69 | |||||
| 70 | data_type: 'tinyint' | ||||
| 71 | default_value: 0 | ||||
| 72 | is_nullable: 0 | ||||
| 73 | |||||
| 74 | =head2 tab | ||||
| 75 | |||||
| 76 | data_type: 'tinyint' | ||||
| 77 | is_nullable: 1 | ||||
| 78 | |||||
| 79 | =head2 authorised_value | ||||
| 80 | |||||
| 81 | data_type: 'varchar' | ||||
| 82 | is_nullable: 1 | ||||
| 83 | size: 10 | ||||
| 84 | |||||
| 85 | =head2 value_builder | ||||
| 86 | |||||
| 87 | data_type: 'varchar' | ||||
| 88 | is_nullable: 1 | ||||
| 89 | size: 80 | ||||
| 90 | |||||
| 91 | =head2 seealso | ||||
| 92 | |||||
| 93 | data_type: 'varchar' | ||||
| 94 | is_nullable: 1 | ||||
| 95 | size: 255 | ||||
| 96 | |||||
| 97 | =head2 isurl | ||||
| 98 | |||||
| 99 | data_type: 'tinyint' | ||||
| 100 | is_nullable: 1 | ||||
| 101 | |||||
| 102 | =head2 hidden | ||||
| 103 | |||||
| 104 | data_type: 'tinyint' | ||||
| 105 | default_value: 0 | ||||
| 106 | is_nullable: 0 | ||||
| 107 | |||||
| 108 | =head2 linkid | ||||
| 109 | |||||
| 110 | data_type: 'tinyint' | ||||
| 111 | default_value: 0 | ||||
| 112 | is_nullable: 0 | ||||
| 113 | |||||
| 114 | =head2 kohafield | ||||
| 115 | |||||
| 116 | data_type: 'varchar' | ||||
| 117 | default_value: (empty string) | ||||
| 118 | is_nullable: 1 | ||||
| 119 | size: 45 | ||||
| 120 | |||||
| 121 | =head2 frameworkcode | ||||
| 122 | |||||
| 123 | data_type: 'varchar' | ||||
| 124 | default_value: (empty string) | ||||
| 125 | is_nullable: 0 | ||||
| 126 | size: 10 | ||||
| 127 | |||||
| 128 | =head2 defaultvalue | ||||
| 129 | |||||
| 130 | data_type: 'text' | ||||
| 131 | is_nullable: 1 | ||||
| 132 | |||||
| 133 | =cut | ||||
| 134 | |||||
| 135 | 1 | 1.30ms | __PACKAGE__->add_columns( # spent 1.30ms making 1 call to DBIx::Class::ResultSourceProxy::add_columns | ||
| 136 | "authtypecode", | ||||
| 137 | { | ||||
| 138 | data_type => "varchar", | ||||
| 139 | default_value => "", | ||||
| 140 | is_foreign_key => 1, | ||||
| 141 | is_nullable => 0, | ||||
| 142 | size => 10, | ||||
| 143 | }, | ||||
| 144 | "tagfield", | ||||
| 145 | { data_type => "varchar", default_value => "", is_nullable => 0, size => 3 }, | ||||
| 146 | "tagsubfield", | ||||
| 147 | { data_type => "varchar", default_value => "", is_nullable => 0, size => 1 }, | ||||
| 148 | "liblibrarian", | ||||
| 149 | { data_type => "varchar", default_value => "", is_nullable => 0, size => 255 }, | ||||
| 150 | "libopac", | ||||
| 151 | { data_type => "varchar", default_value => "", is_nullable => 0, size => 255 }, | ||||
| 152 | "repeatable", | ||||
| 153 | { data_type => "tinyint", default_value => 0, is_nullable => 0 }, | ||||
| 154 | "mandatory", | ||||
| 155 | { data_type => "tinyint", default_value => 0, is_nullable => 0 }, | ||||
| 156 | "tab", | ||||
| 157 | { data_type => "tinyint", is_nullable => 1 }, | ||||
| 158 | "authorised_value", | ||||
| 159 | { data_type => "varchar", is_nullable => 1, size => 10 }, | ||||
| 160 | "value_builder", | ||||
| 161 | { data_type => "varchar", is_nullable => 1, size => 80 }, | ||||
| 162 | "seealso", | ||||
| 163 | { data_type => "varchar", is_nullable => 1, size => 255 }, | ||||
| 164 | "isurl", | ||||
| 165 | { data_type => "tinyint", is_nullable => 1 }, | ||||
| 166 | "hidden", | ||||
| 167 | { data_type => "tinyint", default_value => 0, is_nullable => 0 }, | ||||
| 168 | "linkid", | ||||
| 169 | { data_type => "tinyint", default_value => 0, is_nullable => 0 }, | ||||
| 170 | "kohafield", | ||||
| 171 | { data_type => "varchar", default_value => "", is_nullable => 1, size => 45 }, | ||||
| 172 | "frameworkcode", | ||||
| 173 | { data_type => "varchar", default_value => "", is_nullable => 0, size => 10 }, | ||||
| 174 | "defaultvalue", | ||||
| 175 | { data_type => "text", is_nullable => 1 }, | ||||
| 176 | ); | ||||
| 177 | |||||
| 178 | =head1 PRIMARY KEY | ||||
| 179 | |||||
| 180 | =over 4 | ||||
| 181 | |||||
| 182 | =item * L</authtypecode> | ||||
| 183 | |||||
| 184 | =item * L</tagfield> | ||||
| 185 | |||||
| 186 | =item * L</tagsubfield> | ||||
| 187 | |||||
| 188 | =back | ||||
| 189 | |||||
| 190 | =cut | ||||
| 191 | |||||
| 192 | 1 | 80µs | __PACKAGE__->set_primary_key("authtypecode", "tagfield", "tagsubfield"); # spent 80µs making 1 call to DBIx::Class::ResultSourceProxy::set_primary_key | ||
| 193 | |||||
| 194 | =head1 RELATIONS | ||||
| 195 | |||||
| 196 | =head2 authtypecode | ||||
| 197 | |||||
| 198 | Type: belongs_to | ||||
| 199 | |||||
| 200 | Related object: L<Koha::Schema::Result::AuthType> | ||||
| 201 | |||||
| 202 | =cut | ||||
| 203 | |||||
| 204 | 1 | 392µs | __PACKAGE__->belongs_to( # spent 392µs making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to | ||
| 205 | "authtypecode", | ||||
| 206 | "Koha::Schema::Result::AuthType", | ||||
| 207 | { authtypecode => "authtypecode" }, | ||||
| 208 | { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, | ||||
| 209 | ); | ||||
| 210 | |||||
| 211 | |||||
| 212 | # Created by DBIx::Class::Schema::Loader v0.07039 @ 2015-05-18 11:22:30 | ||||
| 213 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Ymm26DwMwBskOjIj1qhWFA | ||||
| 214 | |||||
| 215 | |||||
| 216 | # You can replace this text with custom content, and it will be preserved on regeneration | ||||
| 217 | 1; |