Revision f3831ad9
Von Kivitendo Admin vor etwa 8 Jahren hinzugefügt
SL/DB/Manager/PriceFactor.pm | ||
---|---|---|
1 |
package SL::DB::Manager::PriceFactor; |
|
2 |
|
|
3 |
use strict; |
|
4 |
|
|
5 |
use SL::DB::Helper::Manager; |
|
6 |
use base qw(SL::DB::Helper::Manager); |
|
7 |
|
|
8 |
use SL::DB::Helper::Sorted; |
|
9 |
|
|
10 |
sub object_class { 'SL::DB::PriceFactor' } |
|
11 |
|
|
12 |
__PACKAGE__->make_manager_methods; |
|
13 |
|
|
14 |
sub _sort_spec { |
|
15 |
return ( default => [ 'sortkey', 1 ], |
|
16 |
columns => { SIMPLE => 'ALL' }); |
|
17 |
} |
|
18 |
|
|
19 |
1; |
|
20 |
|
SL/DB/PriceFactor.pm | ||
---|---|---|
3 | 3 |
use strict; |
4 | 4 |
|
5 | 5 |
use SL::DB::MetaSetup::PriceFactor; |
6 |
use SL::DB::Manager::PriceFactor; |
|
6 | 7 |
use SL::DB::Helper::ActsAsList; |
7 | 8 |
|
8 | 9 |
__PACKAGE__->meta->initialize; |
9 | 10 |
|
10 |
__PACKAGE__->meta->make_manager_class; |
|
11 |
|
|
12 | 11 |
1; |
13 | 12 |
|
14 | 13 |
__END__ |
Auch abrufbar als: Unified diff
Manager für PriceFactor mit sort_spec