line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Biblio::Zotero::DB::Library::Trash; |
2
|
|
|
|
|
|
|
$Biblio::Zotero::DB::Library::Trash::VERSION = '0.003'; |
3
|
12
|
|
|
12
|
|
72
|
use strict; |
|
12
|
|
|
|
|
28
|
|
|
12
|
|
|
|
|
368
|
|
4
|
12
|
|
|
12
|
|
62
|
use warnings; |
|
12
|
|
|
|
|
26
|
|
|
12
|
|
|
|
|
280
|
|
5
|
12
|
|
|
12
|
|
64
|
use Moo; |
|
12
|
|
|
|
|
27
|
|
|
12
|
|
|
|
|
72
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
has _db => ( is => 'ro', weak_ref => 1 ); |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
has name => ( is => 'ro', default => sub { 'Trash' } ); |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
sub items { |
12
|
1
|
|
|
1
|
1
|
7
|
my $self = shift; |
13
|
1
|
|
|
|
|
27
|
my $schema = $self->_db->schema; |
14
|
1
|
|
|
|
|
19
|
$schema->resultset('Item')->_trash_items; |
15
|
|
|
|
|
|
|
} |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
1; |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
__END__ |