Revision d8479657
Von Werner Hahn vor mehr als 6 Jahren hinzugefügt
SL/Shop.pm | ||
---|---|---|
55 | 55 |
|
56 | 56 |
=head1 NAME |
57 | 57 |
|
58 |
SL::Shop - Do stuff with WebShop instances
|
|
58 |
SL::Shop - Do stuff with WebShop instances |
|
59 | 59 |
|
60 | 60 |
=head1 SYNOPSIS |
61 | 61 |
|
62 |
my $config = SL::DB::Manager::Shop->get_first();
|
|
63 |
my $shop = SL::Shop->new( config => $config );
|
|
62 |
my $config = SL::DB::Manager::Shop->get_first(); |
|
63 |
my $shop = SL::Shop->new( config => $config ); |
|
64 | 64 |
|
65 |
From the config we know which Connector class to load, save in $shop->connector
|
|
66 |
and do stuff from there:
|
|
65 |
From the config we know which Connector class to load, save in $shop->connector |
|
66 |
and do stuff from there: |
|
67 | 67 |
|
68 |
$shop->connector->get_new_orders;
|
|
68 |
$shop->connector->get_new_orders; |
|
69 | 69 |
|
70 | 70 |
=head1 FUNCTIONS |
71 | 71 |
|
72 |
=over 4 |
|
73 |
|
|
74 |
=item C<updatable_parts> |
|
75 |
|
|
76 |
=item C<init_connector> |
|
77 |
|
|
78 |
=back |
|
79 |
|
|
72 | 80 |
=head1 BUGS |
73 | 81 |
|
74 |
Nothing here yet.
|
|
82 |
Nothing here yet. |
|
75 | 83 |
|
76 | 84 |
=head1 AUTHOR |
77 | 85 |
|
78 |
G. Richardson <lt>information@kivitendo-premium.deE<gt>
|
|
86 |
G. Richardson <lt>information@kivitendo-premium.deE<gt> |
|
79 | 87 |
|
80 | 88 |
=cut |
Auch abrufbar als: Unified diff
Shopmodul: POD