| 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 | 17.6ms | 66.1ms | DBIx::Class::ResultSourceProxy::Table::table |
| 1 | 1 | 1 | 338µs | 32.9ms | DBIx::Class::ResultSourceProxy::Table::BEGIN@8 |
| 1 | 1 | 1 | 26µs | 40µs | DBIx::Class::ResultSourceProxy::Table::BEGIN@3 |
| 1 | 1 | 1 | 14µs | 3.36ms | DBIx::Class::ResultSourceProxy::Table::BEGIN@6 |
| 1 | 1 | 1 | 13µs | 24µs | DBIx::Class::ResultSourceProxy::Table::BEGIN@4 |
| 1 | 1 | 1 | 10µs | 40µs | DBIx::Class::ResultSourceProxy::Table::BEGIN@9 |
| 1 | 1 | 1 | 9µs | 98µs | DBIx::Class::ResultSourceProxy::Table::BEGIN@10 |
| 0 | 0 | 0 | 0s | 0s | DBIx::Class::ResultSourceProxy::Table::_init_result_source_instance |
| Line | State ments |
Time on line |
Calls | Time in subs |
Code |
|---|---|---|---|---|---|
| 1 | package DBIx::Class::ResultSourceProxy::Table; | ||||
| 2 | |||||
| 3 | 2 | 55µs | # spent 40µs (26+14) within DBIx::Class::ResultSourceProxy::Table::BEGIN@3 which was called:
# once (26µs+14µs) by Class::C3::Componentised::ensure_class_loaded at line 3 # spent 40µs making 1 call to DBIx::Class::ResultSourceProxy::Table::BEGIN@3
# spent 14µs making 1 call to strict::import | ||
| 4 | 2 | 35µs | # spent 24µs (13+11) within DBIx::Class::ResultSourceProxy::Table::BEGIN@4 which was called:
# once (13µs+11µs) by Class::C3::Componentised::ensure_class_loaded at line 4 # spent 24µs making 1 call to DBIx::Class::ResultSourceProxy::Table::BEGIN@4
# spent 11µs making 1 call to warnings::import | ||
| 5 | |||||
| 6 | 2 | 3.36ms | # spent 3.36ms (14µs+3.35) within DBIx::Class::ResultSourceProxy::Table::BEGIN@6 which was called:
# once (14µs+3.35ms) by Class::C3::Componentised::ensure_class_loaded at line 6 # spent 3.36ms making 1 call to DBIx::Class::ResultSourceProxy::Table::BEGIN@6
# spent 3.35ms making 1 call to base::import, recursion: max depth 1, sum of overlapping time 3.35ms | ||
| 7 | |||||
| 8 | 1 | 32.9ms | # spent 32.9ms (338µs+32.6) within DBIx::Class::ResultSourceProxy::Table::BEGIN@8 which was called:
# once (338µs+32.6ms) by Class::C3::Componentised::ensure_class_loaded at line 8 # spent 32.9ms making 1 call to DBIx::Class::ResultSourceProxy::Table::BEGIN@8 | ||
| 9 | 2 | 70µs | # spent 40µs (10+30) within DBIx::Class::ResultSourceProxy::Table::BEGIN@9 which was called:
# once (10µs+30µs) by Class::C3::Componentised::ensure_class_loaded at line 9 # spent 40µs making 1 call to DBIx::Class::ResultSourceProxy::Table::BEGIN@9
# spent 30µs making 1 call to Exporter::import | ||
| 10 | 2 | 188µs | # spent 98µs (9+89) within DBIx::Class::ResultSourceProxy::Table::BEGIN@10 which was called:
# once (9µs+89µs) by Class::C3::Componentised::ensure_class_loaded at line 10 # spent 98µs making 1 call to DBIx::Class::ResultSourceProxy::Table::BEGIN@10
# spent 89µs making 1 call to namespace::clean::import | ||
| 11 | |||||
| 12 | 1 | 377µs | __PACKAGE__->mk_classdata(table_class => 'DBIx::Class::ResultSource::Table'); # spent 377µs making 1 call to DBIx::Class::mk_classdata | ||
| 13 | |||||
| 14 | 1 | 778µs | __PACKAGE__->mk_classdata('table_alias'); # FIXME: Doesn't actually do # spent 778µ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 66.1ms (17.6+48.5) within DBIx::Class::ResultSourceProxy::Table::table which was called 174 times, avg 380µs/call:
# once (3.59ms+374µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/ActionLog.pm
# once (99µs+760µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Z3950server.pm
# once (135µs+481µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/BorrowerFile.pm
# once (182µs+369µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Patronimage.pm
# once (172µs+366µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/LanguageScriptBidi.pm
# once (115µs+415µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Aqbookseller.pm
# once (78µs+435µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Quote.pm
# once (114µs+388µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Branch.pm
# once (110µs+381µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Session.pm
# once (100µs+387µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Subscription.pm
# once (140µs+332µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Letter.pm
# once (84µs+368µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/MessageQueue.pm
# once (170µs+282µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Aqbudgetperiod.pm
# once (90µs+362µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/PrintersProfile.pm
# once (85µs+343µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/ImportItem.pm
# once (127µs+292µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Deletedborrower.pm
# once (84µs+333µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/BiblioFramework.pm
# once (128µs+284µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/DefaultCircRule.pm
# once (85µs+326µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/SubscriptionFrequency.pm
# once (74µs+335µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/AdditionalField.pm
# once (84µs+325µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/SearchHistory.pm
# once (82µs+323µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/OpacNews.pm
# once (80µs+322µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/OldReserve.pm
# once (82µs+318µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Tag.pm
# once (92µs+307µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Stopword.pm
# once (86µs+310µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/CategoriesBranch.pm
# once (90µs+305µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Biblio.pm
# once (83µs+306µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Deletedbiblio.pm
# once (83µs+306µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/AdditionalFieldValue.pm
# once (73µs+315µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/SocialData.pm
# once (84µs+302µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Serialitem.pm
# once (80µs+304µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Alert.pm
# once (86µs+294µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/RepeatableHoliday.pm
# once (86µs+294µs) by Class::C3::Componentised::ensure_class_loaded at line 18 of Koha/Schema/Result/ActionLogs.pm
# once (91µs+288µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/AuthType.pm
# once (80µs+299µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/CreatorTemplate.pm
# once (96µs+281µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Accountline.pm
# once (82µs+292µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Rating.pm
# once (85µs+287µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/MessageTransportType.pm
# once (82µs+288µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/PatronList.pm
# once (84µs+286µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/DefaultBorrowerCircRule.pm
# once (85µs+284µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Aqbudget.pm
# once (83µs+286µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/SubscriptionNumberpattern.pm
# once (86µs+284µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/BorrowerAttributeType.pm
# once (83µs+286µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/AudioAlert.pm
# once (83µs+285µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/LanguageScriptMapping.pm
# once (82µs+286µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/AuthHeader.pm
# once (79µs+288µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/OverduerulesTransportType.pm
# once (84µs+284µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Notify.pm
# once (83µs+284µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Issuingrule.pm
# once (83µs+284µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Zebraqueue.pm
# once (83µs+284µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/ColumnsSetting.pm
# once (82µs+284µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/ExportFormat.pm
# once (75µs+291µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/AuthSubfieldStructure.pm
# once (79µs+286µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/BorrowerAttributeTypesBranch.pm
# once (84µs+281µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Matchcheck.pm
# once (83µs+282µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/ServicesThrottle.pm
# once (83µs+281µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Branchcategory.pm
# once (84µs+280µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Category.pm
# once (73µs+291µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Borrower.pm
# once (83µs+281µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Subscriptionroutinglist.pm
# once (84µs+280µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Localization.pm
# once (80µs+283µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/MessageAttribute.pm
# once (83µs+281µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/ClassSortRule.pm
# once (82µs+281µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/LanguageRfc4646ToIso639.pm
# once (83µs+280µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/CourseReserve.pm
# once (82µs+281µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/BorrowerModification.pm
# once (81µs+280µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Overduerule.pm
# once (83µs+278µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Aqbasketuser.pm
# once (80µs+280µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/BorrowerSync.pm
# once (81µs+280µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/MessageTransport.pm
# once (81µs+279µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/AuthTagStructure.pm
# once (82µs+278µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/CreatorBatch.pm
# once (81µs+279µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/DefaultBranchItemRule.pm
# once (82µs+278µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/OldIssue.pm
# once (82µs+278µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/ReportsDictionary.pm
# once (82µs+278µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/LanguageDescription.pm
# once (80µs+279µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Accountoffset.pm
# once (82µs+277µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/MarcModificationTemplate.pm
# once (82µs+276µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/AqordersTransfer.pm
# once (80µs+278µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Issue.pm
# once (100µs+257µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/TmpHoldsqueue.pm
# once (83µs+274µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/City.pm
# once (82µs+274µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/MatchpointComponent.pm
# once (86µs+270µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/CollectionsTracking.pm
# once (81µs+274µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Browser.pm
# once (78µs+277µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/OaiSetsBiblio.pm
# once (79µs+276µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/ItemsSearchField.pm
# once (77µs+277µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/PatronListPatron.pm
# once (81µs+273µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/MarcTagStructure.pm
# once (81µs+273µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Aqbudgetborrower.pm
# once (80µs+273µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Aqcontact.pm
# once (76µs+276µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/MarcSubfieldStructure.pm
# once (82µs+270µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/TagsIndex.pm
# once (78µs+274µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/SpecialHoliday.pm
# once (80µs+272µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/PendingOfflineOperation.pm
# once (80µs+272µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Virtualshelfcontent.pm
# once (78µs+273µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/MarcModificationTemplateAction.pm
# once (78µs+272µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Course.pm
# once (79µs+271µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/ItemCirculationAlertPreference.pm
# once (77µs+273µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Suggestion.pm
# once (80µs+268µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/BorrowerDebarment.pm
# once (79µs+269µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/CourseInstructor.pm
# once (78µs+269µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/ImportBiblio.pm
# once (78µs+269µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Currency.pm
# once (79µs+268µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/TagAll.pm
# once (80µs+266µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Branchtransfer.pm
# once (87µs+260µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Biblioimage.pm
# once (79µs+267µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Aqorder.pm
# once (79µs+267µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/DefaultBranchCircRule.pm
# once (77µs+268µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Aqbasketgroup.pm
# once (79µs+266µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/AqorderUser.pm
# once (80µs+265µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/HoldFillTarget.pm
# once (79µs+265µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/TransportCost.pm
# once (78µs+266µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Item.pm
# once (80µs+262µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Virtualshelfshare.pm
# once (76µs+263µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Printer.pm
# once (72µs+267µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/BorrowerAttribute.pm
# once (74µs+266µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Reserve.pm
# once (75µs+264µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/AuthorisedValuesBranch.pm
# once (77µs+262µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/AqordersItem.pm
# once (78µs+261µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Itemtype.pm
# once (77µs+260µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/NeedMergeAuthority.pm
# once (76µs+260µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/UploadedFile.pm
# once (77µs+258µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/CourseItem.pm
# once (77µs+257µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Permission.pm
# once (77µs+257µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Aqinvoice.pm
# once (76µs+257µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/ImportBatch.pm
# once (76µs+258µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/PluginData.pm
# once (77µs+256µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/BorrowerMessageTransportPreference.pm
# once (76µs+256µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/CreatorImage.pm
# once (74µs+257µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Deleteditem.pm
# once (73µs+258µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/MatcherMatchpoint.pm
# once (76µs+253µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/ImportAuth.pm
# once (75µs+251µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/OaiSetsDescription.pm
# once (76µs+250µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Deletedbiblioitem.pm
# once (74µs+251µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/SavedReport.pm
# once (73µs+251µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Discharge.pm
# once (75µs+249µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/BranchBorrowerCircRule.pm
# once (75µs+248µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/MatchpointComponentNorm.pm
# once (75µs+247µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/OaiSetsMapping.pm
# once (57µs+263µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/AuthorisedValue.pm
# once (72µs+248µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/OaiSet.pm
# once (74µs+244µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Matchpoint.pm
# once (73µs+245µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/ImportRecord.pm
# once (75µs+243µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/MarcMatcher.pm
# once (67µs+249µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Virtualshelve.pm
# once (71µs+245µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Userflag.pm
# once (70µs+245µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Review.pm
# once (75µs+240µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/BranchItemRule.pm
# once (73µs+242µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/UserPermission.pm
# once (73µs+241µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/ItemsLastBorrower.pm
# once (72µs+241µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/BorrowerMessagePreference.pm
# once (72µs+240µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/MiscFile.pm
# once (71µs+242µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/BranchTransferLimit.pm
# once (72µs+239µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Biblioitem.pm
# once (50µs+257µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Linktracker.pm
# once (71µs+236µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Message.pm
# once (69µs+237µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Serial.pm
# once (71µs+232µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/CreatorLayout.pm
# once (71µs+232µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Subscriptionhistory.pm
# once (70µs+232µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Fieldmapping.pm
# once (68µs+225µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/SavedSql.pm
# once (63µs+219µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Statistic.pm
# once (58µs+221µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/TagsApproval.pm
# once (56µs+217µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Systempreference.pm
# once (68µs+206µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Branchrelation.pm
# once (58µs+215µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/AqbudgetsPlanning.pm
# once (45µs+218µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Aqbasket.pm
# once (51µs+168µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Collection.pm
# once (29µs+186µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/Aqcontract.pm
# once (78µs+131µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/LanguageSubtagRegistry.pm
# once (36µs+162µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/ClassSource.pm
# once (12µs+120µs) by Class::C3::Componentised::ensure_class_loaded at line 22 of Koha/Schema/Result/ImportRecordMatch.pm | ||||
| 81 | my ($class, $table) = @_; | ||||
| 82 | return $class->result_source_instance->name unless $table; | ||||
| 83 | |||||
| 84 | 174 | 385µs | unless (blessed $table && $table->isa($class->table_class)) { # spent 385µs making 174 calls to Scalar::Util::blessed, avg 2µs/call | ||
| 85 | |||||
| 86 | 174 | 14.0ms | my $table_class = $class->table_class; # spent 14.0ms making 174 calls to DBIx::Class::ResultSourceProxy::Table::table_class, avg 80µs/call | ||
| 87 | 174 | 0s | $class->ensure_class_loaded($table_class); # spent 1.16ms making 174 calls to Class::C3::Componentised::ensure_class_loaded, avg 7µs/call, recursion: max depth 3, sum of overlapping time 1.16ms | ||
| 88 | |||||
| 89 | $table = $table_class->new({ | ||||
| 90 | $class->can('result_source_instance') | ||||
| 91 | 348 | 5.46ms | ? %{$class->result_source_instance||{}} # spent 2.76ms making 174 calls to DBIx::Class::ResultSource::new, avg 16µs/call
# spent 2.71ms making 174 calls to UNIVERSAL::can, avg 16µs/call | ||
| 92 | : () | ||||
| 93 | , | ||||
| 94 | name => $table, | ||||
| 95 | result_class => $class, | ||||
| 96 | }); | ||||
| 97 | } | ||||
| 98 | |||||
| 99 | 348 | 22.5ms | $class->mk_classdata('result_source_instance') # spent 22.2ms making 174 calls to DBIx::Class::mk_classdata, avg 127µs/call
# spent 374µs making 174 calls to UNIVERSAL::can, avg 2µs/call | ||
| 100 | unless $class->can('result_source_instance'); | ||||
| 101 | |||||
| 102 | 174 | 3.40ms | $class->result_source_instance($table); # spent 55µs making 1 call to Koha::Schema::Result::Tag::result_source_instance
# spent 44µs making 1 call to Koha::Schema::Result::CreatorTemplate::result_source_instance
# spent 36µs making 1 call to Koha::Schema::Result::PrintersProfile::result_source_instance
# spent 33µs making 1 call to Koha::Schema::Result::BorrowerFile::result_source_instance
# spent 33µs making 1 call to Koha::Schema::Result::Subscription::result_source_instance
# spent 32µs making 1 call to Koha::Schema::Result::CategoriesBranch::result_source_instance
# spent 31µs making 1 call to Koha::Schema::Result::Stopword::result_source_instance
# spent 30µs making 1 call to Koha::Schema::Result::DefaultCircRule::result_source_instance
# spent 29µs making 1 call to Koha::Schema::Result::Aqbookseller::result_source_instance
# spent 29µs making 1 call to Koha::Schema::Result::MarcModificationTemplateAction::result_source_instance
# spent 29µs making 1 call to Koha::Schema::Result::Biblio::result_source_instance
# spent 27µs making 1 call to Koha::Schema::Result::Suggestion::result_source_instance
# spent 26µs making 1 call to Koha::Schema::Result::Branch::result_source_instance
# spent 25µs making 1 call to Koha::Schema::Result::Aqbudgetperiod::result_source_instance
# spent 24µs making 1 call to Koha::Schema::Result::Borrower::result_source_instance
# spent 24µs making 1 call to Koha::Schema::Result::ActionLogs::result_source_instance
# spent 23µs making 1 call to Koha::Schema::Result::AuthorisedValue::result_source_instance
# spent 23µs making 1 call to Koha::Schema::Result::MessageQueue::result_source_instance
# spent 23µs making 1 call to Koha::Schema::Result::Quote::result_source_instance
# spent 22µs making 1 call to Koha::Schema::Result::LanguageScriptBidi::result_source_instance
# spent 22µs making 1 call to Koha::Schema::Result::RepeatableHoliday::result_source_instance
# spent 21µs making 1 call to Koha::Schema::Result::AdditionalFieldValue::result_source_instance
# spent 21µs making 1 call to Koha::Schema::Result::ActionLog::result_source_instance
# spent 21µs making 1 call to Koha::Schema::Result::Serialitem::result_source_instance
# spent 21µs making 1 call to Koha::Schema::Result::Alert::result_source_instance
# spent 21µs making 1 call to Koha::Schema::Result::SubscriptionNumberpattern::result_source_instance
# spent 20µs making 1 call to Koha::Schema::Result::Accountoffset::result_source_instance
# spent 20µs making 1 call to Koha::Schema::Result::LanguageDescription::result_source_instance
# spent 20µs making 1 call to Koha::Schema::Result::ImportItem::result_source_instance
# spent 20µs making 1 call to Koha::Schema::Result::Session::result_source_instance
# spent 20µs making 1 call to Koha::Schema::Result::MessageAttribute::result_source_instance
# spent 20µs making 1 call to Koha::Schema::Result::Biblioimage::result_source_instance
# spent 20µs making 1 call to Koha::Schema::Result::BorrowerModification::result_source_instance
# spent 20µs making 1 call to Koha::Schema::Result::SubscriptionFrequency::result_source_instance
# spent 20µs making 1 call to Koha::Schema::Result::MatchpointComponent::result_source_instance
# spent 20µs making 1 call to Koha::Schema::Result::TransportCost::result_source_instance
# spent 20µs making 1 call to Koha::Schema::Result::Browser::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::ClassSource::result_source_instance
# spent 20µs making 1 call to Koha::Schema::Result::TagAll::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::AqorderUser::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::ColumnsSetting::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::OverduerulesTransportType::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::AudioAlert::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::Overduerule::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::Zebraqueue::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::AuthHeader::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::BorrowerDebarment::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::MessageTransportType::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::Notify::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::CourseReserve::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::OaiSetsBiblio::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::Aqcontact::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::AuthType::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::Localization::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::PluginData::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::Aqbudget::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::DefaultBranchItemRule::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::Deletedbiblio::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::LanguageScriptMapping::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::Linktracker::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::Matchcheck::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::BiblioFramework::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::Branchcategory::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::DefaultBorrowerCircRule::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::ExportFormat::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::Issue::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::LanguageRfc4646ToIso639::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::Subscriptionroutinglist::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::TagsApproval::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::Accountline::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::AuthorisedValuesBranch::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::ServicesThrottle::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::AuthTagStructure::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::ClassSortRule::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::Issuingrule::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::OpacNews::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::ReportsDictionary::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::DefaultBranchCircRule::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::OldIssue::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::PendingOfflineOperation::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::TagsIndex::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::AqordersTransfer::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::BranchBorrowerCircRule::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::CreatorBatch::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::Reserve::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::Aqbudgetborrower::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::MessageTransport::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::SpecialHoliday::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::Systempreference::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::Aqbasketgroup::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::Aqbasketuser::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::Aqinvoice::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::CollectionsTracking::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::Currency::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::Deletedborrower::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::MarcTagStructure::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::PatronList::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::AuthSubfieldStructure::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::Branchrelation::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::Course::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::Itemtype::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::PatronListPatron::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::Statistic::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::Aqcontract::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::Aqorder::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::Discharge::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::MarcModificationTemplate::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::OaiSetsDescription::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::Rating::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::AqordersItem::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::ImportRecord::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::MatcherMatchpoint::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::MiscFile::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::UploadedFile::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::UserPermission::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::Aqbasket::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::BorrowerMessagePreference::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::CourseItem::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::ImportBiblio::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::Permission::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::ItemsLastBorrower::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::NeedMergeAuthority::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::OaiSet::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::Userflag::result_source_instance
# spent 18µs making 1 call to Koha::Schema::Result::Virtualshelfshare::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::Category::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::SavedReport::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::BorrowerAttributeTypesBranch::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::Deletedbiblioitem::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::Matchpoint::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::MatchpointComponentNorm::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::TmpHoldsqueue::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::ImportRecordMatch::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::Message::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::Review::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::Virtualshelve::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::BorrowerAttribute::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::CreatorLayout::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::Item::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::Deleteditem::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::BranchTransferLimit::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::Printer::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::MarcSubfieldStructure::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::Subscriptionhistory::result_source_instance
# spent 17µs making 1 call to Koha::Schema::Result::Patronimage::result_source_instance
# spent 16µs making 1 call to Koha::Schema::Result::Collection::result_source_instance
# spent 16µs making 1 call to Koha::Schema::Result::Fieldmapping::result_source_instance
# spent 16µs making 1 call to Koha::Schema::Result::Biblioitem::result_source_instance
# spent 15µs making 1 call to Koha::Schema::Result::Serial::result_source_instance
# spent 200ns making 1 call to Koha::Schema::Result::LanguageSubtagRegistry::result_source_instance | ||
| 103 | |||||
| 104 | 176 | 1.58ms | return $class->result_source_instance->name; # spent 198µs making 1 call to DBIx::Class::ResultSource::name
# spent 44µs making 1 call to Koha::Schema::Result::BorrowerAttributeTypesBranch::result_source_instance
# spent 29µs making 1 call to Koha::Schema::Result::Deletedbiblio::result_source_instance
# spent 24µs making 1 call to Koha::Schema::Result::Subscription::result_source_instance
# spent 19µs making 1 call to Koha::Schema::Result::CategoriesBranch::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::AdditionalField::result_source_instance
# spent 15µs making 1 call to Koha::Schema::Result::PrintersProfile::result_source_instance
# spent 13µs making 1 call to Koha::Schema::Result::BorrowerFile::result_source_instance
# spent 13µs making 1 call to Koha::Schema::Result::Stopword::result_source_instance
# spent 13µs making 1 call to Koha::Schema::Result::Aqbookseller::result_source_instance
# spent 12µs making 1 call to Koha::Schema::Result::Z3950server::result_source_instance
# spent 12µs making 1 call to Koha::Schema::Result::Biblio::result_source_instance
# spent 11µs making 1 call to Koha::Schema::Result::Branch::result_source_instance
# spent 11µs making 1 call to Koha::Schema::Result::Aqbudgetperiod::result_source_instance
# spent 10µs making 1 call to Koha::Schema::Result::LanguageScriptBidi::result_source_instance
# spent 10µs making 1 call to Koha::Schema::Result::Fieldmapping::result_source_instance
# spent 9µs making 1 call to Koha::Schema::Result::ActionLog::result_source_instance
# spent 9µs making 1 call to Koha::Schema::Result::ActionLogs::result_source_instance
# spent 9µs making 1 call to Koha::Schema::Result::MarcMatcher::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::AuthHeader::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::SubscriptionFrequency::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::Biblioimage::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::BorrowerMessageTransportPreference::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::OverduerulesTransportType::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::Suggestion::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::ClassSource::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::ImportItem::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::ServicesThrottle::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::Serial::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::Accountoffset::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::Aqinvoice::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::Tag::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::CreatorTemplate::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::MatchpointComponent::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::MessageTransportType::result_source_instance
# spent 8µs making 1 call to Koha::Schema::Result::Virtualshelfcontent::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::BiblioFramework::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::OldIssue::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Quote::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Alert::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::ClassSortRule::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::DefaultBranchCircRule::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::Letter::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::MarcModificationTemplate::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::OaiSetsBiblio::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::PatronListPatron::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::RepeatableHoliday::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::SavedReport::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Session::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Zebraqueue::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::AuthorisedValue::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::BorrowerModification::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::BranchBorrowerCircRule::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::CollectionsTracking::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::CreatorBatch::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::DefaultBorrowerCircRule::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::DefaultCircRule::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::MarcTagStructure::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::Overduerule::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::Serialitem::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Subscriptionroutinglist::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::TagAll::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Virtualshelfshare::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::Aqcontact::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::AuthTagStructure::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::ColumnsSetting::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::ItemCirculationAlertPreference::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Matchcheck::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::MatcherMatchpoint::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::SpecialHoliday::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Aqorder::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::AuthSubfieldStructure::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::AuthType::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::BranchTransferLimit::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Branchtransfer::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Course::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::LanguageScriptMapping::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Localization::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::MessageAttribute::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::Notify::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::Rating::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Virtualshelve::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Aqbasket::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::AqbudgetsPlanning::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::BorrowerAttributeType::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::BorrowerMessagePreference::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::BranchItemRule::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::DefaultBranchItemRule::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Deletedborrower::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Discharge::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::ImportBatch::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::PatronList::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::SubscriptionNumberpattern::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::Accountline::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::AuthorisedValuesBranch::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::Browser::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::HoldFillTarget::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Issue::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Linktracker::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::MiscFile::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::ReportsDictionary::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::TagsApproval::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::TransportCost::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::UserPermission::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Aqbasketgroup::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Aqbudgetborrower::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::CourseItem::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::ImportBiblio::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::ItemsLastBorrower::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::Itemtype::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::MarcSubfieldStructure::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::OaiSetsMapping::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::Permission::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::Reserve::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::Aqcontract::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::CreatorLayout::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::ImportAuth::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::PluginData::result_source_instance
# spent 7µs making 1 call to Koha::Schema::Result::SavedSql::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::Subscriptionhistory::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::BorrowerAttribute::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Currency::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Deletedbiblioitem::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::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::Message::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::TmpHoldsqueue::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Biblioitem::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::CreatorImage::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Patronimage::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Review::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Statistic::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Userflag::result_source_instance
# spent 6µs making 1 call to Koha::Schema::Result::Collection::result_source_instance
# spent 2µs making 1 call to DBIx::Class::ResultSource::Table::name
# spent 200ns making 1 call to Koha::Schema::Result::LanguageSubtagRegistry::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 | 400ns | # spent 400ns making 1 call to B::Hooks::EndOfScope::XS::__ANON__ |