| Filename | /home/vagrant/kohaclone/Koha/Schema/Result/ItemsSearchField.pm | 
| Statements | Executed 0 statements in 0s | 
| Calls | P | F | Exclusive Time | Inclusive Time | Subroutine | 
|---|---|---|---|---|---|
| 1 | 1 | 1 | 26µs | 30µs | Class::C3::Componentised::BEGIN@1.1754 | 
| 1 | 1 | 1 | 11µs | 90µs | Koha::Schema::Result::ItemsSearchField::BEGIN@16 | 
| 1 | 1 | 1 | 10µs | 20µs | Koha::Schema::Result::ItemsSearchField::BEGIN@13 | 
| 1 | 1 | 1 | 9µs | 18µs | Koha::Schema::Result::ItemsSearchField::BEGIN@14 | 
| Line | State ments | Time on line | Calls | Time in subs | Code | 
|---|---|---|---|---|---|
| 1 | 2 | 33µs | # spent 30µs (26+4) within Class::C3::Componentised::BEGIN@1.1754 which was called:
#    once (26µ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.1754
# spent     4µs making 1 call to utf8::import | ||
| 2 | package Koha::Schema::Result::ItemsSearchField; | ||||
| 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::ItemsSearchField | ||||
| 10 | |||||
| 11 | =cut | ||||
| 12 | |||||
| 13 | 2 | 31µs | # spent 20µs (10+10) within Koha::Schema::Result::ItemsSearchField::BEGIN@13 which was called:
#    once (10µs+10µs) by Class::C3::Componentised::ensure_class_loaded at line 13 # spent    20µs making 1 call to Koha::Schema::Result::ItemsSearchField::BEGIN@13
# spent    10µs making 1 call to strict::import | ||
| 14 | 2 | 26µs | # spent 18µs (9+8) within Koha::Schema::Result::ItemsSearchField::BEGIN@14 which was called:
#    once (9µs+8µs) by Class::C3::Componentised::ensure_class_loaded at line 14 # spent    18µs making 1 call to Koha::Schema::Result::ItemsSearchField::BEGIN@14
# spent     8µs making 1 call to warnings::import | ||
| 15 | |||||
| 16 | 2 | 170µs | # spent 90µs (11+80) within Koha::Schema::Result::ItemsSearchField::BEGIN@16 which was called:
#    once (11µs+80µs) by Class::C3::Componentised::ensure_class_loaded at line 16 # spent    90µs making 1 call to Koha::Schema::Result::ItemsSearchField::BEGIN@16
# spent    80µs making 1 call to base::import | ||
| 17 | |||||
| 18 | =head1 TABLE: C<items_search_fields> | ||||
| 19 | |||||
| 20 | =cut | ||||
| 21 | |||||
| 22 | 1 | 354µs | __PACKAGE__->table("items_search_fields"); # spent   354µs making 1 call to DBIx::Class::ResultSourceProxy::Table::table | ||
| 23 | |||||
| 24 | =head1 ACCESSORS | ||||
| 25 | |||||
| 26 | =head2 name | ||||
| 27 | |||||
| 28 | data_type: 'varchar' | ||||
| 29 | is_nullable: 0 | ||||
| 30 | size: 255 | ||||
| 31 | |||||
| 32 | =head2 label | ||||
| 33 | |||||
| 34 | data_type: 'varchar' | ||||
| 35 | is_nullable: 0 | ||||
| 36 | size: 255 | ||||
| 37 | |||||
| 38 | =head2 tagfield | ||||
| 39 | |||||
| 40 | data_type: 'char' | ||||
| 41 | is_nullable: 0 | ||||
| 42 | size: 3 | ||||
| 43 | |||||
| 44 | =head2 tagsubfield | ||||
| 45 | |||||
| 46 | data_type: 'char' | ||||
| 47 | is_nullable: 1 | ||||
| 48 | size: 1 | ||||
| 49 | |||||
| 50 | =head2 authorised_values_category | ||||
| 51 | |||||
| 52 | data_type: 'varchar' | ||||
| 53 | is_foreign_key: 1 | ||||
| 54 | is_nullable: 1 | ||||
| 55 | size: 32 | ||||
| 56 | |||||
| 57 | =cut | ||||
| 58 | |||||
| 59 | 1 | 1.49ms | __PACKAGE__->add_columns( # spent  1.49ms making 1 call to DBIx::Class::ResultSourceProxy::add_columns | ||
| 60 | "name", | ||||
| 61 | { data_type => "varchar", is_nullable => 0, size => 255 }, | ||||
| 62 | "label", | ||||
| 63 | { data_type => "varchar", is_nullable => 0, size => 255 }, | ||||
| 64 | "tagfield", | ||||
| 65 | { data_type => "char", is_nullable => 0, size => 3 }, | ||||
| 66 | "tagsubfield", | ||||
| 67 | { data_type => "char", is_nullable => 1, size => 1 }, | ||||
| 68 | "authorised_values_category", | ||||
| 69 | { data_type => "varchar", is_foreign_key => 1, is_nullable => 1, size => 32 }, | ||||
| 70 | ); | ||||
| 71 | |||||
| 72 | =head1 PRIMARY KEY | ||||
| 73 | |||||
| 74 | =over 4 | ||||
| 75 | |||||
| 76 | =item * L</name> | ||||
| 77 | |||||
| 78 | =back | ||||
| 79 | |||||
| 80 | =cut | ||||
| 81 | |||||
| 82 | 1 | 76µs | __PACKAGE__->set_primary_key("name"); # spent    76µs making 1 call to DBIx::Class::ResultSourceProxy::set_primary_key | ||
| 83 | |||||
| 84 | =head1 RELATIONS | ||||
| 85 | |||||
| 86 | =head2 authorised_values_category | ||||
| 87 | |||||
| 88 | Type: belongs_to | ||||
| 89 | |||||
| 90 | Related object: L<Koha::Schema::Result::AuthorisedValue> | ||||
| 91 | |||||
| 92 | =cut | ||||
| 93 | |||||
| 94 | 1 | 844µs | __PACKAGE__->belongs_to( # spent   844µs making 1 call to DBIx::Class::Relationship::BelongsTo::belongs_to | ||
| 95 | "authorised_values_category", | ||||
| 96 | "Koha::Schema::Result::AuthorisedValue", | ||||
| 97 | { category => "authorised_values_category" }, | ||||
| 98 | { | ||||
| 99 | is_deferrable => 1, | ||||
| 100 | join_type => "LEFT", | ||||
| 101 | on_delete => "SET NULL", | ||||
| 102 | on_update => "CASCADE", | ||||
| 103 | }, | ||||
| 104 | ); | ||||
| 105 | |||||
| 106 | |||||
| 107 | # Created by DBIx::Class::Schema::Loader v0.07039 @ 2015-02-05 15:20:11 | ||||
| 108 | # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:oHoTxnECC/702vwFO4vdqw | ||||
| 109 | |||||
| 110 | |||||
| 111 | # You can replace this text with custom code or comments, and it will be preserved on regeneration | ||||
| 112 | 1; |