| 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 | 26µs | 29µs | Class::C3::Componentised::BEGIN@1.1567 |
| 1 | 1 | 1 | 10µs | 82µs | Koha::Schema::Result::AuthTagStructure::BEGIN@16 |
| 1 | 1 | 1 | 9µs | 18µs | Koha::Schema::Result::AuthTagStructure::BEGIN@13 |
| 1 | 1 | 1 | 9µs | 16µs | Koha::Schema::Result::AuthTagStructure::BEGIN@14 |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | 2 | 33µs | # spent 29µs (26+4) within Class::C3::Componentised::BEGIN@1.1567 which was called:
# once (26µs+4µs) by Class::C3::Componentised::ensure_class_loaded at line 1 # spent 29µs making 1 call to Class::C3::Componentised::BEGIN@1.1567
# spent 4µ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 | 28µs | # spent 18µs (9+9) within Koha::Schema::Result::AuthTagStructure::BEGIN@13 which was called:
# once (9µs+9µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent 18µs making 1 call to Koha::Schema::Result::AuthTagStructure::BEGIN@13
# spent 9µs making 1 call to strict::import | ||
| 14 | 2 | 23µs | # spent 16µs (9+7) within Koha::Schema::Result::AuthTagStructure::BEGIN@14 which was called:
# once (9µs+7µs) by Class::C3::Componentised::ensure_class_loaded at line 14 # spent 16µs making 1 call to Koha::Schema::Result::AuthTagStructure::BEGIN@14
# spent 7µs making 1 call to warnings::import | ||
| 15 | |||||
| 16 | 2 | 155µs | # spent 82µs (10+72) within Koha::Schema::Result::AuthTagStructure::BEGIN@16 which was called:
# once (10µs+72µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent 82µs making 1 call to Koha::Schema::Result::AuthTagStructure::BEGIN@16
# spent 72µs making 1 call to base::import | ||
| 17 | |||||
| 18 | =head1 TABLE: C<auth_tag_structure> | ||||
| 19 | |||||
| 20 | =cut | ||||
| 21 | |||||
| 22 | 1 | 320µs | __PACKAGE__->table("auth_tag_structure"); # spent 320µ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 | 531µs | __PACKAGE__->add_columns( # spent 531µ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 | 67µs | __PACKAGE__->set_primary_key("authtypecode", "tagfield"); # spent 67µ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 | 790µs | __PACKAGE__->belongs_to( # spent 790µ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; |