|
Lines 35-41
Koha::Virtualshelf - Koha Virtualshelf Object class
Link Here
|
| 35 |
|
35 |
|
| 36 |
=cut |
36 |
=cut |
| 37 |
|
37 |
|
| 38 |
=head3 type |
38 |
=head3 get_private_shelves |
| 39 |
|
39 |
|
| 40 |
=cut |
40 |
=cut |
| 41 |
|
41 |
|
|
Lines 62-67
sub get_private_shelves {
Link Here
|
| 62 |
); |
62 |
); |
| 63 |
} |
63 |
} |
| 64 |
|
64 |
|
|
|
65 |
=head3 get_public_shelves |
| 66 |
|
| 67 |
=cut |
| 65 |
|
68 |
|
| 66 |
sub get_public_shelves { |
69 |
sub get_public_shelves { |
| 67 |
my ( $self, $params ) = @_; |
70 |
my ( $self, $params ) = @_; |
|
Lines 80-85
sub get_public_shelves {
Link Here
|
| 80 |
); |
83 |
); |
| 81 |
} |
84 |
} |
| 82 |
|
85 |
|
|
|
86 |
=head3 get_some_shelves |
| 87 |
|
| 88 |
=cut |
| 89 |
|
| 83 |
sub get_some_shelves { |
90 |
sub get_some_shelves { |
| 84 |
my ( $self, $params ) = @_; |
91 |
my ( $self, $params ) = @_; |
| 85 |
my $borrowernumber = $params->{borrowernumber} || 0; |
92 |
my $borrowernumber = $params->{borrowernumber} || 0; |
|
Lines 142-147
sub get_some_shelves {
Link Here
|
| 142 |
); |
149 |
); |
| 143 |
} |
150 |
} |
| 144 |
|
151 |
|
|
|
152 |
=head3 get_shelves_containing_record |
| 153 |
|
| 154 |
=cut |
| 155 |
|
| 145 |
sub get_shelves_containing_record { |
156 |
sub get_shelves_containing_record { |
| 146 |
my ( $self, $params ) = @_; |
157 |
my ( $self, $params ) = @_; |
| 147 |
my $borrowernumber = $params->{borrowernumber}; |
158 |
my $borrowernumber = $params->{borrowernumber}; |
|
Lines 180-185
sub get_shelves_containing_record {
Link Here
|
| 180 |
); |
191 |
); |
| 181 |
} |
192 |
} |
| 182 |
|
193 |
|
|
|
194 |
=head3 get_shared_shelves |
| 195 |
|
| 196 |
=cut |
| 197 |
|
| 183 |
sub get_shared_shelves { |
198 |
sub get_shared_shelves { |
| 184 |
my ( $self, $params ) = @_; |
199 |
my ( $self, $params ) = @_; |
| 185 |
my $borrowernumber = $params->{borrowernumber} || 0; |
200 |
my $borrowernumber = $params->{borrowernumber} || 0; |
|
Lines 193-202
sub get_shared_shelves {
Link Here
|
| 193 |
); |
208 |
); |
| 194 |
} |
209 |
} |
| 195 |
|
210 |
|
|
|
211 |
=head3 _type |
| 212 |
|
| 213 |
=cut |
| 214 |
|
| 196 |
sub _type { |
215 |
sub _type { |
| 197 |
return 'Virtualshelve'; |
216 |
return 'Virtualshelve'; |
| 198 |
} |
217 |
} |
| 199 |
|
218 |
|
|
|
219 |
=head3 object_class |
| 220 |
|
| 221 |
=cut |
| 222 |
|
| 200 |
sub object_class { |
223 |
sub object_class { |
| 201 |
return 'Koha::Virtualshelf'; |
224 |
return 'Koha::Virtualshelf'; |
| 202 |
} |
225 |
} |
| 203 |
- |
|
|