| 1 | package Biblio::Zotero::DB::Library::Trash; | ||
| 2 | 12 | $Biblio::Zotero::DB::Library::Trash::VERSION = '0.004'; | |
| 3 | 12 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 12 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 12 | ▶ | use Moo; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | 12 | has _db => ( is => 'ro', weak_ref => 1 ); | |
| 8 | |||
| 9 | 2 | ▶ | has name => ( is => 'ro', default => sub { 'Trash' } ); |
|
Subroutine
__ANON__: called CC=1 SCAR=0.0
| |||
| 10 | |||
| 11 | 1 | ▶ | sub items { |
|
Subroutine
items: called CC=1 SCAR=0.0
Pod
documented
| |||
| 12 | 1 | my $self = shift; | |
| 13 | 1 | my $schema = $self->_db->schema; | |
| 14 | 1 | $schema->resultset('Item')->_trash_items; | |
| 15 | } | ||
| 16 | |||
| 17 | 12 | 1; | |
| 18 | |||
| 19 | __END__ | ||