Filename | /usr/share/perl5/DBIx/Class/ResultSourceProxy/Table.pm |
Statements | Executed 0 statements in 0s |
Calls | P | F | Exclusive Time |
Inclusive Time |
Subroutine |
---|---|---|---|---|---|
174 | 174 | 174 | 14.0ms | 63.9ms | table | DBIx::Class::ResultSourceProxy::Table::
1 | 1 | 1 | 364µs | 76.6ms | BEGIN@8 | DBIx::Class::ResultSourceProxy::Table::
1 | 1 | 1 | 15µs | 22µs | BEGIN@3 | DBIx::Class::ResultSourceProxy::Table::
1 | 1 | 1 | 11µs | 45µs | BEGIN@9 | DBIx::Class::ResultSourceProxy::Table::
1 | 1 | 1 | 10µs | 9.87ms | BEGIN@6 | DBIx::Class::ResultSourceProxy::Table::
1 | 1 | 1 | 9µs | 103µs | BEGIN@10 | DBIx::Class::ResultSourceProxy::Table::
1 | 1 | 1 | 8µs | 12µs | BEGIN@4 | DBIx::Class::ResultSourceProxy::Table::
0 | 0 | 0 | 0s | 0s | _init_result_source_instance | DBIx::Class::ResultSourceProxy::Table::
Line | State ments |
Time on line |
Calls | Time in subs |
Code |
---|---|---|---|---|---|
1 | package DBIx::Class::ResultSourceProxy::Table; | ||||
2 | |||||
3 | 2 | 29µs | # spent 22µs (15+7) within DBIx::Class::ResultSourceProxy::Table::BEGIN@3 which was called:
# once (15µs+7µs) by Class::C3::Componentised::ensure_class_loaded at line 3 # spent 22µs making 1 call to DBIx::Class::ResultSourceProxy::Table::BEGIN@3
# spent 7µs making 1 call to strict::import | ||
4 | 2 | 16µs | # spent 12µs (8+4) within DBIx::Class::ResultSourceProxy::Table::BEGIN@4 which was called:
# once (8µs+4µs) by Class::C3::Componentised::ensure_class_loaded at line 4 # spent 12µs making 1 call to DBIx::Class::ResultSourceProxy::Table::BEGIN@4
# spent 4µs making 1 call to warnings::import | ||
5 | |||||
6 | 2 | 9.87ms | # spent 9.87ms (10µs+9.86) within DBIx::Class::ResultSourceProxy::Table::BEGIN@6 which was called:
# once (10µs+9.86ms) by Class::C3::Componentised::ensure_class_loaded at line 6 # spent 9.87ms making 1 call to DBIx::Class::ResultSourceProxy::Table::BEGIN@6
# spent 9.86ms making 1 call to base::import, recursion: max depth 1, sum of overlapping time 9.86ms | ||
7 | |||||
8 | 1 | 76.6ms | # spent 76.6ms (364µs+76.2) within DBIx::Class::ResultSourceProxy::Table::BEGIN@8 which was called:
# once (364µs+76.2ms) by Class::C3::Componentised::ensure_class_loaded at line 8 # spent 76.6ms making 1 call to DBIx::Class::ResultSourceProxy::Table::BEGIN@8 | ||
9 | 2 | 78µs | # spent 45µs (11+34) within DBIx::Class::ResultSourceProxy::Table::BEGIN@9 which was called:
# once (11µs+34µs) by Class::C3::Componentised::ensure_class_loaded at line 9 # spent 45µs making 1 call to DBIx::Class::ResultSourceProxy::Table::BEGIN@9
# spent 34µs making 1 call to Exporter::import | ||
10 | 2 | 197µs | # spent 103µs (9+94) within DBIx::Class::ResultSourceProxy::Table::BEGIN@10 which was called:
# once (9µs+94µs) by Class::C3::Componentised::ensure_class_loaded at line 10 # spent 103µs making 1 call to DBIx::Class::ResultSourceProxy::Table::BEGIN@10
# spent 94µs making 1 call to namespace::clean::import | ||
11 | |||||
12 | 1 | 533µs | __PACKAGE__->mk_classdata(table_class => 'DBIx::Class::ResultSource::Table'); # spent 533µs making 1 call to DBIx::Class::mk_classdata | ||
13 | |||||
14 | 1 | 330µs | __PACKAGE__->mk_classdata('table_alias'); # FIXME: Doesn't actually do # spent 330µs making 1 call to DBIx::Class::mk_classdata | ||
15 | # anything yet! | ||||
16 | |||||
17 | sub _init_result_source_instance { | ||||
18 | my $class = shift; | ||||
19 | |||||
20 | $class->mk_classdata('result_source_instance') | ||||
21 | unless $class->can('result_source_instance'); | ||||
22 | |||||
23 | my $table = $class->result_source_instance; | ||||
24 | my $class_has_table_instance = ($table and $table->result_class eq $class); | ||||
25 | return $table if $class_has_table_instance; | ||||
26 | |||||
27 | my $table_class = $class->table_class; | ||||
28 | $class->ensure_class_loaded($table_class); | ||||
29 | |||||
30 | if( $table ) { | ||||
31 | $table = $table_class->new({ | ||||
32 | %$table, | ||||
33 | result_class => $class, | ||||
34 | source_name => undef, | ||||
35 | schema => undef | ||||
36 | }); | ||||
37 | } | ||||
38 | else { | ||||
39 | $table = $table_class->new({ | ||||
40 | name => undef, | ||||
41 | result_class => $class, | ||||
42 | source_name => undef, | ||||
43 | }); | ||||
44 | } | ||||
45 | |||||
46 | $class->result_source_instance($table); | ||||
47 | |||||
48 | return $table; | ||||
49 | } | ||||
50 | |||||
51 | =head1 NAME | ||||
52 | |||||
53 | DBIx::Class::ResultSourceProxy::Table - provides a classdata table | ||||
54 | object and method proxies | ||||
55 | |||||
56 | =head1 SYNOPSIS | ||||
57 | |||||
58 | __PACKAGE__->table('cd'); | ||||
59 | __PACKAGE__->add_columns(qw/cdid artist title year/); | ||||
60 | __PACKAGE__->set_primary_key('cdid'); | ||||
61 | |||||
62 | =head1 METHODS | ||||
63 | |||||
64 | =head2 add_columns | ||||
65 | |||||
66 | __PACKAGE__->add_columns(qw/cdid artist title year/); | ||||
67 | |||||
68 | Adds columns to the current class and creates accessors for them. | ||||
69 | |||||
70 | =cut | ||||
71 | |||||
72 | =head2 table | ||||
73 | |||||
74 | __PACKAGE__->table('tbl_name'); | ||||
75 | |||||
76 | Gets or sets the table name. | ||||
77 | |||||
78 | =cut | ||||
79 | |||||
80 | # spent 63.9ms (14.0+49.9) within DBIx::Class::ResultSourceProxy::Table::table which was called 174 times, avg 367µs/call:
# once (82µs+5.31ms) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Quote.pm
# once (104µs+814µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Letter.pm
# once (626µs+290µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Userflag.pm
# once (96µs+728µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Serial.pm
# once (121µs+343µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/LanguageSubtagRegistry.pm
# once (101µs+339µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/DefaultBorrowerCircRule.pm
# once (105µs+335µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Branchcategory.pm
# once (100µs+333µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/MatchpointComponentNorm.pm
# once (132µs+300µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/LanguageRfc4646ToIso639.pm
# once (79µs+337µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/ActionLog.pm
# once (101µs+313µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/SubscriptionNumberpattern.pm
# once (99µs+295µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Deletedbiblio.pm
# once (105µs+285µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/MiscFile.pm
# once (81µs+300µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Patronimage.pm
# once (73µs+308µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Virtualshelve.pm
# once (81µs+293µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/City.pm
# once (75µs+296µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Reserve.pm
# once (95µs+274µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Virtualshelfcontent.pm
# once (91µs+277µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/BorrowerMessagePreference.pm
# once (92µs+277µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/TmpHoldsqueue.pm
# once (75µs+293µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Linktracker.pm
# once (78µs+290µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/PatronList.pm
# once (92µs+274µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/BorrowerSync.pm
# once (82µs+283µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Biblioitem.pm
# once (77µs+286µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/BorrowerAttributeTypesBranch.pm
# once (90µs+272µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/BorrowerDebarment.pm
# once (82µs+279µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/AuthHeader.pm
# once (81µs+280µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/AuthSubfieldStructure.pm
# once (85µs+275µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Serialitem.pm
# once (92µs+267µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/CreatorLayout.pm
# once (82µs+275µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Subscription.pm
# once (80µs+275µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/CategoriesBranch.pm
# once (78µs+277µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Branchrelation.pm
# once (74µs+280µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/OldReserve.pm
# once (82µs+272µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Aqbudget.pm
# once (78µs+276µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/UploadedFile.pm
# once (76µs+277µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/AdditionalFieldValue.pm
# once (74µs+278µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Accountoffset.pm
# once (81µs+271µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/AdditionalField.pm
# once (76µs+276µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/ImportRecord.pm
# once (76µs+276µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/LanguageScriptMapping.pm
# once (81µs+269µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/AqordersItem.pm
# once (83µs+267µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/AuthorisedValuesBranch.pm
# once (84µs+266µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/SearchHistory.pm
# once (82µs+266µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/ReportsDictionary.pm
# once (80µs+267µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/ImportBiblio.pm
# once (86µs+260µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/OaiSetsMapping.pm
# once (80µs+266µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/BorrowerAttribute.pm
# once (73µs+273µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Category.pm
# once (79µs+267µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Deletedbiblioitem.pm
# once (78µs+268µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/HoldFillTarget.pm
# once (81µs+264µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Issuingrule.pm
# once (76µs+269µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Borrower.pm
# once (85µs+259µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Notify.pm
# once (87µs+256µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Collection.pm
# once (87µs+256µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Tag.pm
# once (78µs+264µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/PatronListPatron.pm
# once (83µs+259µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Aqbasketuser.pm
# once (80µs+262µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Fieldmapping.pm
# once (78µs+264µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/AqordersTransfer.pm
# once (75µs+266µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Aqcontract.pm
# once (76µs+264µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Subscriptionhistory.pm
# once (88µs+252µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Aqorder.pm
# once (75µs+265µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/ColumnsSetting.pm
# once (78µs+261µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Matchpoint.pm
# once (80µs+258µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Branch.pm
# once (80µs+256µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/BorrowerMessageTransportPreference.pm
# once (77µs+259µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/CourseReserve.pm
# once (74µs+262µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/AudioAlert.pm
# once (85µs+251µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Z3950server.pm
# once (79µs+256µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/UserPermission.pm
# once (78µs+257µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Message.pm
# once (80µs+254µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/BranchItemRule.pm
# once (79µs+256µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Zebraqueue.pm
# once (80µs+255µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/NeedMergeAuthority.pm
# once (78µs+256µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/OldIssue.pm
# once (76µs+257µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/CreatorTemplate.pm
# once (74µs+259µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/CourseItem.pm
# once (79µs+254µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/SpecialHoliday.pm
# once (79µs+254µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Accountline.pm
# once (77µs+255µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Overduerule.pm
# once (72µs+259µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/OpacNews.pm
# once (83µs+249µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/CreatorBatch.pm
# once (82µs+249µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Review.pm
# once (79µs+252µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/MarcMatcher.pm
# once (69µs+261µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Suggestion.pm
# once (74µs+256µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/MatchpointComponent.pm
# once (77µs+252µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/DefaultBranchItemRule.pm
# once (83µs+245µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/OaiSetsBiblio.pm
# once (72µs+257µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/MessageTransportType.pm
# once (75µs+252µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/CreatorImage.pm
# once (83µs+243µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Course.pm
# once (76µs+250µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Aqbudgetperiod.pm
# once (88µs+238µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Deleteditem.pm
# once (73µs+252µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/TagAll.pm
# once (69µs+256µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Localization.pm
# once (89µs+235µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/OaiSet.pm
# once (77µs+247µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/BorrowerModification.pm
# once (77µs+246µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/BranchTransferLimit.pm
# once (88µs+234µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Biblioimage.pm
# once (82µs+240µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/LanguageScriptBidi.pm
# once (77µs+245µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Rating.pm
# once (80µs+240µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/ItemsSearchField.pm
# once (84µs+236µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/AuthTagStructure.pm
# once (76µs+244µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Aqbudgetborrower.pm
# once (74µs+246µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/ExportFormat.pm
# once (81µs+238µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Subscriptionroutinglist.pm
# once (78µs+241µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Aqcontact.pm
# once (75µs+243µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/ImportBatch.pm
# once (72µs+246µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/BorrowerFile.pm
# once (74µs+243µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/ItemsLastBorrower.pm
# once (73µs+243µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/ImportItem.pm
# once (74µs+243µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Item.pm
# once (75µs+241µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/ItemCirculationAlertPreference.pm
# once (72µs+244µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Session.pm
# once (76µs+239µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Browser.pm
# once (74µs+241µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/BorrowerAttributeType.pm
# once (70µs+244µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/MarcModificationTemplate.pm
# once (74µs+240µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Itemtype.pm
# once (72µs+242µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Deletedborrower.pm
# once (79µs+236µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/BiblioFramework.pm
# once (75µs+239µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Discharge.pm
# once (70µs+243µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/AqbudgetsPlanning.pm
# once (74µs+239µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Systempreference.pm
# once (81µs+230µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/MarcTagStructure.pm
# once (74µs+236µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/CollectionsTracking.pm
# once (72µs+237µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/MatcherMatchpoint.pm
# once (71µs+238µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/TagsIndex.pm
# once (72µs+235µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/ClassSortRule.pm
# once (72µs+234µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/PrintersProfile.pm
# once (72µs+234µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/MarcModificationTemplateAction.pm
# once (70µs+236µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Matchcheck.pm
# once (69µs+236µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/AqorderUser.pm
# once (73µs+231µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Aqbasket.pm
# once (72µs+231µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/SavedReport.pm
# once (72µs+230µs) by Class::C3::Componentised::ensure_class_loaded at line 18 of Koha/Schema/Result/ActionLogs.pm
# once (70µs+232µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/LanguageDescription.pm
# once (72µs+229µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/OverduerulesTransportType.pm
# once (73µs+227µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/ClassSource.pm
# once (70µs+230µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Branchtransfer.pm
# once (72µs+228µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/SavedSql.pm
# once (71µs+229µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/OaiSetsDescription.pm
# once (66µs+231µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Currency.pm
# once (70µs+228µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Aqbasketgroup.pm
# once (68µs+229µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Issue.pm
# once (70µs+226µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/DefaultCircRule.pm
# once (70µs+225µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/ServicesThrottle.pm
# once (70µs+226µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/AuthorisedValue.pm
# once (70µs+225µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/TransportCost.pm
# once (70µs+224µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/ImportAuth.pm
# once (70µs+224µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/ImportRecordMatch.pm
# once (69µs+224µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/TagsApproval.pm
# once (69µs+223µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/DefaultBranchCircRule.pm
# once (67µs+223µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Permission.pm
# once (58µs+232µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Aqinvoice.pm
# once (64µs+225µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Printer.pm
# once (66µs+222µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/PendingOfflineOperation.pm
# once (68µs+220µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Alert.pm
# once (68µs+220µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/MessageAttribute.pm
# once (67µs+220µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/MarcSubfieldStructure.pm
# once (67µs+220µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/MessageTransport.pm
# once (68µs+219µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Aqbookseller.pm
# once (68µs+219µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Virtualshelfshare.pm
# once (66µs+218µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/BranchBorrowerCircRule.pm
# once (66µs+218µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/AuthType.pm
# once (64µs+213µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Stopword.pm
# once (64µs+210µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Biblio.pm
# once (52µs+219µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/SubscriptionFrequency.pm
# once (57µs+214µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/SocialData.pm
# once (49µs+215µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/RepeatableHoliday.pm
# once (63µs+167µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/CourseInstructor.pm
# once (42µs+184µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Statistic.pm
# once (43µs+183µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/MessageQueue.pm
# once (67µs+157µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/PluginData.pm | ||||
81 | my ($class, $table) = @_; | ||||
82 | return $class->result_source_instance->name unless $table; | ||||
83 | |||||
84 | 174 | 295µs | unless (blessed $table && $table->isa($class->table_class)) { # spent 295µs making 174 calls to Scalar::Util::blessed, avg 2µs/call | ||
85 | |||||
86 | 174 | 13.2ms | my $table_class = $class->table_class; # spent 13.2ms making 174 calls to DBIx::Class::ResultSourceProxy::Table::table_class, avg 76µs/call | ||
87 | 174 | 0s | $class->ensure_class_loaded($table_class); # spent 994µs making 174 calls to Class::C3::Componentised::ensure_class_loaded, avg 6µs/call, recursion: max depth 2, sum of overlapping time 994µs | ||
88 | |||||
89 | $table = $table_class->new({ | ||||
90 | $class->can('result_source_instance') | ||||
91 | 348 | 5.51ms | ? %{$class->result_source_instance||{}} # spent 3.05ms making 174 calls to DBIx::Class::ResultSource::new, avg 18µs/call
# spent 2.46ms making 174 calls to UNIVERSAL::can, avg 14µs/call | ||
92 | : () | ||||
93 | , | ||||
94 | name => $table, | ||||
95 | result_class => $class, | ||||
96 | }); | ||||
97 | } | ||||
98 | |||||
99 | 348 | 25.2ms | $class->mk_classdata('result_source_instance') # spent 24.8ms making 174 calls to DBIx::Class::mk_classdata, avg 143µs/call
# spent 343µs making 174 calls to UNIVERSAL::can, avg 2µs/call | ||
100 | unless $class->can('result_source_instance'); | ||||
101 | |||||
102 | 174 | 3.26ms | $class->result_source_instance($table); # spent 39µs making 1 call to Koha::Schema::Result::Quote::result_source_instance
# spent 37µs making 1 call to Koha::Schema::Result::Accountoffset::result_source_instance
# spent 35µs making 1 call to Koha::Schema::Result::BorrowerDebarment::result_source_instance
# spent 32µs making 1 call to Koha::Schema::Result::AuthSubfieldStructure::result_source_instance
# spent 29µs making 1 call to Koha::Schema::Result::ImportBiblio::result_source_instance
# spent 29µs making 1 call to Koha::Schema::Result::LanguageSubtagRegistry::result_source_instance
# spent 28µs making 1 call to Koha::Schema::Result::Issuingrule::result_source_instance
# spent 28µs making 1 call to Koha::Schema::Result::DefaultBorrowerCircRule::result_source_instance
# spent 28µs making 1 call to Koha::Schema::Result::PatronList::result_source_instance
# spent 28µs making 1 call to Koha::Schema::Result::PatronListPatron::result_source_instance
# spent 28µs making 1 call to Koha::Schema::Result::ImportRecord::result_source_instance
# spent 28µs making 1 call to Koha::Schema::Result::OpacNews::result_source_instance
# spent 27µs making 1 call to Koha::Schema::Result::AqorderUser::result_source_instance
# spent 27µs making 1 call to Koha::Schema::Result::Aqcontract::result_source_instance
# spent 25µs making 1 call to Koha::Schema::Result::Printer::result_source_instance
# spent 23µs making 1 call to Koha::Schema::Result::AuthorisedValuesBranch::result_source_instance
# spent 22µs making 1 call to Koha::Schema::Result::OaiSet::result_source_instance
# spent 22µs making 1 call to Koha::Schema::Result::AuthHeader::result_source_instance
# spent 22µs making 1 call to Koha::Schema::Result::LanguageScriptMapping::result_source_instance
# spent 21µs making 1 call to Koha::Schema::Result::AudioAlert::result_source_instance
# spent 21µs making 1 call to Koha::Schema::Result::OaiSetsDescription::result_source_instance
# spent 21µs making 1 call to Koha::Schema::Result::Biblioimage::result_source_instance
# spent 21µs making 1 call to Koha::Schema::Result::Statistic::result_source_instance
# spent 20µs making 1 call to Koha::Schema::Result::Branchrelation::result_source_instance
# spent 20µs making 1 call to Koha::Schema::Result::Review::result_source_instance
# spent 20µs making 1 call to Koha::Schema::Result::Virtualshelve::result_source_instance
# spent 20µs making 1 call to Koha::Schema::Result::BorrowerMessagePreference::result_source_instance
# spent 20µs making 1 call to Koha::Schema::Result::MatchpointComponentNorm::result_source_instance
# spent 20µs making 1 call to Koha::Schema::Result::AdditionalField::result_source_instance
# spent 20µs making 1 call to Koha::Schema::Result::Aqinvoice::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::CategoriesBranch::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::City::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::Letter::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::Suggestion::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::MiscFile::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::SubscriptionNumberpattern::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::ActionLog::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::AqordersTransfer::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::AdditionalFieldValue::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::BorrowerSync::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::Userflag::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::OldIssue::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::Borrower::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::BorrowerAttributeTypesBranch::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::CourseReserve::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::Overduerule::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::Patronimage::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::UploadedFile::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::MessageQueue::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::Tag::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::Linktracker::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::OldReserve::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::ReportsDictionary::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::SearchHistory::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::NeedMergeAuthority::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::UserPermission::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::AqordersItem::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::BorrowerMessageTransportPreference::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::BranchItemRule::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::Subscription::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::Aqbudgetperiod::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::BorrowerModification::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::CreatorImage::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::ItemCirculationAlertPreference::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::Matchpoint::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::Aqbudget::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::BorrowerAttribute::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::Branch::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::HoldFillTarget::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::ItemsSearchField::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::OaiSetsMapping::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::TmpHoldsqueue::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::Virtualshelfcontent::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::Branchcategory::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::ExportFormat::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::Subscriptionhistory::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::SocialData::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::Biblioitem::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::Fieldmapping::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::ImportItem::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::MatchpointComponent::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::Notify::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::CreatorLayout::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::DefaultBranchItemRule::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::Deletedbiblio::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::ItemsLastBorrower::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::Matchcheck::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::SavedReport::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::Zebraqueue::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::OaiSetsBiblio::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::Aqcontact::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::Deletedbiblioitem::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::Item::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::Message::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::PrintersProfile::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::Reserve::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::AqbudgetsPlanning::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::BorrowerAttributeType::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::BranchTransferLimit::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::CourseInstructor::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::CreatorTemplate::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::SpecialHoliday::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::Aqbasketuser::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::BiblioFramework::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::CollectionsTracking::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::ColumnsSetting::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::Discharge::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::Itemtype::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::MessageTransportType::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::Systempreference::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::TagAll::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::Aqbudgetborrower::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::ClassSortRule::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::Course::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::Deletedborrower::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::SavedSql::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::Aqorder::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::Browser::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::MarcMatcher::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::MarcModificationTemplate::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::Rating::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::ServicesThrottle::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::Session::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::TagsIndex::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::Accountline::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::ActionLogs::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::Aqbasketgroup::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::Branchtransfer::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::CreatorBatch::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::ImportAuth::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::Issue::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::TagsApproval::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::Z3950server::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::Aqbasket::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::BorrowerFile::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::Collection::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::MarcModificationTemplateAction::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::MarcTagStructure::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::Serialitem::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::Category::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::LanguageScriptBidi::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::MatcherMatchpoint::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::MessageTransport::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::SubscriptionFrequency::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::Subscriptionroutinglist::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::CourseItem::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::DefaultCircRule::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::ImportBatch::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::Localization::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::Serial::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::LanguageDescription::result_source_instance
# spent 16µs making 1 call to Koha::Schema::Result::BranchBorrowerCircRule::result_source_instance
# spent 16µs making 1 call to Koha::Schema::Result::DefaultBranchCircRule::result_source_instance
# spent 16µs making 1 call to Koha::Schema::Result::LanguageRfc4646ToIso639::result_source_instance
# spent 16µs making 1 call to Koha::Schema::Result::AuthorisedValue::result_source_instance
# spent 16µs making 1 call to Koha::Schema::Result::ImportRecordMatch::result_source_instance
# spent 16µs making 1 call to Koha::Schema::Result::Permission::result_source_instance
# spent 16µs making 1 call to Koha::Schema::Result::Deleteditem::result_source_instance
# spent 16µs making 1 call to Koha::Schema::Result::TransportCost::result_source_instance
# spent 16µs making 1 call to Koha::Schema::Result::Aqbookseller::result_source_instance
# spent 16µs making 1 call to Koha::Schema::Result::MarcSubfieldStructure::result_source_instance
# spent 16µs making 1 call to Koha::Schema::Result::MessageAttribute::result_source_instance
# spent 16µs making 1 call to Koha::Schema::Result::OverduerulesTransportType::result_source_instance
# spent 16µs making 1 call to Koha::Schema::Result::ClassSource::result_source_instance
# spent 16µs making 1 call to Koha::Schema::Result::PendingOfflineOperation::result_source_instance
# spent 16µs making 1 call to Koha::Schema::Result::RepeatableHoliday::result_source_instance
# spent 16µs making 1 call to Koha::Schema::Result::Virtualshelfshare::result_source_instance
# spent 16µs making 1 call to Koha::Schema::Result::AuthTagStructure::result_source_instance
# spent 16µs making 1 call to Koha::Schema::Result::AuthType::result_source_instance
# spent 16µs making 1 call to Koha::Schema::Result::Alert::result_source_instance
# spent 16µs making 1 call to Koha::Schema::Result::Currency::result_source_instance
# spent 15µs making 1 call to Koha::Schema::Result::Biblio::result_source_instance
# spent 10µs making 1 call to Koha::Schema::Result::Stopword::result_source_instance
# spent 0s making 1 call to Koha::Schema::Result::PluginData::result_source_instance | ||
103 | |||||
104 | 176 | 1.51ms | return $class->result_source_instance->name; # spent 200µs making 1 call to DBIx::Class::ResultSource::name
# spent 46µs making 1 call to Koha::Schema::Result::Patronimage::result_source_instance
# spent 35µs making 1 call to Koha::Schema::Result::ColumnsSetting::result_source_instance
# spent 26µs making 1 call to Koha::Schema::Result::MarcModificationTemplate::result_source_instance
# spent 24µs making 1 call to Koha::Schema::Result::Currency::result_source_instance
# spent 13µs making 1 call to Koha::Schema::Result::Serial::result_source_instance
# spent 11µs making 1 call to Koha::Schema::Result::Suggestion::result_source_instance
# spent 11µs making 1 call to Koha::Schema::Result::BorrowerFile::result_source_instance
# spent 11µs making 1 call to Koha::Schema::Result::ImportBiblio::result_source_instance
# spent 10µs making 1 call to Koha::Schema::Result::Permission::result_source_instance
# spent 10µs making 1 call to Koha::Schema::Result::AqbudgetsPlanning::result_source_instance
# spent 10µs making 1 call to Koha::Schema::Result::DefaultBorrowerCircRule::result_source_instance
# spent 10µs making 1 call to Koha::Schema::Result::Quote::result_source_instance
# spent 9µs making 1 call to Koha::Schema::Result::Accountoffset::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::Userflag::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::AuthSubfieldStructure::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::Issue::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::LanguageSubtagRegistry::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::TmpHoldsqueue::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::Deletedbiblioitem::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::Letter::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::SavedSql::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::BorrowerMessagePreference::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::AuthType::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::CategoriesBranch::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::SubscriptionNumberpattern::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::PatronListPatron::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::Statistic::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::Virtualshelfcontent::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::Virtualshelve::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Borrower::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::MiscFile::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::AdditionalField::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::BorrowerAttributeTypesBranch::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::BorrowerMessageTransportPreference::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Branchrelation::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::OaiSetsMapping::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Review::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::AdditionalFieldValue::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Aqinvoice::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::BorrowerSync::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::LanguageScriptMapping::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::MarcModificationTemplateAction::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::MessageTransportType::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Subscription::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::BorrowerDebarment::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Category::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::CourseReserve::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::MatchpointComponent::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Message::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::NeedMergeAuthority::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::SubscriptionFrequency::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::UploadedFile::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::AqordersTransfer::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::AuthHeader::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::BorrowerAttribute::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Fieldmapping::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::HoldFillTarget::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::ItemsSearchField::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::LanguageDescription::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::OpacNews::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::SearchHistory::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::ActionLog::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Aqbudgetperiod::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Aqcontact::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::AqorderUser::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::AqordersItem::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::AuthorisedValuesBranch::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::BorrowerModification::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::BranchTransferLimit::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::ClassSortRule::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::ExportFormat::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Itemtype::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Matchpoint::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::MatchpointComponentNorm::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::OaiSetsDescription::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Overduerule::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Printer::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::UserPermission::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Aqbudget::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::AudioAlert::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::ClassSource::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Collection::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::CollectionsTracking::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::LanguageRfc4646ToIso639::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::OaiSet::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::OldReserve::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::PendingOfflineOperation::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::ReportsDictionary::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::SocialData::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Biblioitem::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Branchcategory::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Browser::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::City::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::CourseInstructor::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::CreatorImage::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::CreatorLayout::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::CreatorTemplate::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::DefaultBranchItemRule::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::ItemCirculationAlertPreference::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::LanguageScriptBidi::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::MessageQueue::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::OaiSetsBiblio::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::OldIssue::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::PatronList::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Systempreference::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Tag::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Z3950server::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Accountline::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Aqbasketuser::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Aqcontract::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::BranchItemRule::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::CourseItem::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::ImportBatch::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::ImportItem::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Issuingrule::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::MessageTransport::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Serialitem::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Subscriptionhistory::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::TagsIndex::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Zebraqueue::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::ActionLogs::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Aqbudgetborrower::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Aqorder::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Branchtransfer::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Course::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::CreatorBatch::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::ItemsLastBorrower::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Linktracker::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Localization::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Matchcheck::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::SpecialHoliday::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Subscriptionroutinglist::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::TagAll::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Aqbasket::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::AuthorisedValue::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::BorrowerAttributeType::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Branch::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::DefaultBranchCircRule::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Deletedborrower::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Discharge::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::ImportRecord::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::MarcMatcher::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::MatcherMatchpoint::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::MessageAttribute::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Notify::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::PrintersProfile::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::TagsApproval::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::TransportCost::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Virtualshelfshare::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Aqbasketgroup::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::BiblioFramework::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Deletedbiblio::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Deleteditem::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Rating::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Reserve::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::ServicesThrottle::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Session::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Alert::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Aqbookseller::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::AuthTagStructure::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Biblioimage::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::BranchBorrowerCircRule::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::DefaultCircRule::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::ImportRecordMatch::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Item::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::MarcSubfieldStructure::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::MarcTagStructure::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::OverduerulesTransportType::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::RepeatableHoliday::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::SavedReport::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::ImportAuth::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Biblio::result_source_instance
# spent 2µs making 1 call to DBIx::Class::ResultSource::Table::name
# spent 200ns making 1 call to Koha::Schema::Result::PluginData::result_source_instance
# spent 100ns making 1 call to Koha::Schema::Result::Stopword::result_source_instance | ||
105 | } | ||||
106 | |||||
107 | =head2 table_class | ||||
108 | |||||
109 | __PACKAGE__->table_class('DBIx::Class::ResultSource::Table'); | ||||
110 | |||||
111 | Gets or sets the table class used for construction and validation. | ||||
112 | |||||
113 | =head2 has_column | ||||
114 | |||||
115 | if ($obj->has_column($col)) { ... } | ||||
116 | |||||
117 | Returns 1 if the class has a column of this name, 0 otherwise. | ||||
118 | |||||
119 | =head2 column_info | ||||
120 | |||||
121 | my $info = $obj->column_info($col); | ||||
122 | |||||
123 | Returns the column metadata hashref for a column. For a description of | ||||
124 | the various types of column data in this hashref, see | ||||
125 | L<DBIx::Class::ResultSource/add_column> | ||||
126 | |||||
127 | =head2 columns | ||||
128 | |||||
129 | my @column_names = $obj->columns; | ||||
130 | |||||
131 | =head1 FURTHER QUESTIONS? | ||||
132 | |||||
133 | Check the list of L<additional DBIC resources|DBIx::Class/GETTING HELP/SUPPORT>. | ||||
134 | |||||
135 | =head1 COPYRIGHT AND LICENSE | ||||
136 | |||||
137 | This module is free software L<copyright|DBIx::Class/COPYRIGHT AND LICENSE> | ||||
138 | by the L<DBIx::Class (DBIC) authors|DBIx::Class/AUTHORS>. You can | ||||
139 | redistribute it and/or modify it under the same terms as the | ||||
140 | L<DBIx::Class library|DBIx::Class/COPYRIGHT AND LICENSE>. | ||||
141 | |||||
142 | =cut | ||||
143 | |||||
144 | 1; | ||||
145 | |||||
146 | 1 | 85µs | # spent 85µs making 1 call to B::Hooks::EndOfScope::XS::__ANON__ |