Revision b300864d
Von Sven Schöling vor mehr als 10 Jahren hinzugefügt
SL/Controller/Helper/GetModels.pm | ||
---|---|---|
27 | 27 |
return $self->manager->get_all(%params); |
28 | 28 |
} |
29 | 29 |
|
30 |
sub count { |
|
31 |
my ($self) = @_; |
|
32 |
my %params = $self->finalize; |
|
33 |
|
|
34 |
return $self->manager->get_all_count(%params); |
|
35 |
} |
|
36 |
|
|
30 | 37 |
sub disable_plugin { |
31 | 38 |
my ($self, $plugin) = @_; |
32 | 39 |
die 'cannot change internal state after finalize was called' if $self->finalized; |
Auch abrufbar als: Unified diff
GetModels: count Methode