Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision efc5ec25

Von Tamino Steinert vor 4 Monaten hinzugefügt

  • ID efc5ec2564f1cb137b2af2be3e62619fa517b079
  • Vorgänger 05088574
  • Nachfolger dac5f3de

S:D:PeriodicInvoice: Separate Manager Klasse

Unterschiede anzeigen:

SL/DB/Manager/PeriodicInvoice.pm
1
package SL::DB::Manager::PeriodicInvoice;
2

  
3
use strict;
4

  
5
use parent qw(SL::DB::Helper::Manager);
6

  
7
sub object_class { 'SL::DB::PeriodicInvoice' }
8

  
9
__PACKAGE__->make_manager_methods;
10

  
11
1;
SL/DB/PeriodicInvoice.pm
3 3
use strict;
4 4

  
5 5
use SL::DB::MetaSetup::PeriodicInvoice;
6
use SL::DB::Manager::PeriodicInvoice;
6 7

  
7 8
__PACKAGE__->meta->add_relationships(
8 9
  invoice      => {
......
14 15

  
15 16
__PACKAGE__->meta->initialize;
16 17

  
17
# Creates get_all, get_all_count, get_all_iterator, delete_all and update_all.
18
__PACKAGE__->meta->make_manager_class;
19

  
20 18
1;

Auch abrufbar als: Unified diff