Revision 0bb70855
Von Moritz Bunkus vor mehr als 13 Jahren hinzugefügt
SL/DB/Helper/ALLAuth.pm | ||
---|---|---|
1 |
package SL::DB::Helper::ALLAuth; |
|
2 |
|
|
3 |
use strict; |
|
4 |
|
|
5 |
use SL::DB::AuthGroup; |
|
6 |
use SL::DB::AuthGroupRight; |
|
7 |
use SL::DB::AuthUserConfig; |
|
8 |
use SL::DB::AuthUser; |
|
9 |
|
|
10 |
1; |
|
11 |
|
|
12 |
__END__ |
|
13 |
|
|
14 |
=pod |
|
15 |
|
|
16 |
=head1 NAME |
|
17 |
|
|
18 |
SL::DB::Helper::ALLAuth: Dependency-only package for all SL::DB::Auth* modules |
|
19 |
|
|
20 |
=head1 SYNOPSIS |
|
21 |
|
|
22 |
use SL::DB::Helper::ALLAuth; |
|
23 |
|
|
24 |
=head1 DESCRIPTION |
|
25 |
|
|
26 |
This module depends on all modules in SL/DB/Auth*.pm for the |
|
27 |
convenience of being able to write a simple \C<use |
|
28 |
SL::DB::Helper::ALLAuth> and having everything loaded. This is |
|
29 |
supposed to be used only in the Lx-Office console. Normal modules |
|
30 |
should C<use> only the modules they actually need. |
|
31 |
|
|
32 |
=head1 AUTHOR |
|
33 |
|
|
34 |
Moritz Bunkus E<lt>m.bunkus@linet-services.deE<gt> |
|
35 |
|
|
36 |
=cut |
SL/DB/Helper/Mappings.pm | ||
---|---|---|
220 | 220 |
|
221 | 221 |
Returns the package name for a table name: |
222 | 222 |
|
223 |
SL::DB::Helpers::Mappings::get_package_for_table('oe')
|
|
223 |
SL::DB::Helper::Mappings::get_package_for_table('oe') |
|
224 | 224 |
# SL::DB::Order |
225 | 225 |
|
226 | 226 |
=item C<get_manager_package_for_table $table_name> |
227 | 227 |
|
228 | 228 |
Returns the manager package name for a table name: |
229 | 229 |
|
230 |
SL::DB::Helpers::Mappings::get_manager_package_for_table('oe')
|
|
230 |
SL::DB::Helper::Mappings::get_manager_package_for_table('oe') |
|
231 | 231 |
# SL::DB::Manager::Order |
232 | 232 |
|
233 | 233 |
=item C<get_table_for_package $package_name> |
234 | 234 |
|
235 | 235 |
Returns the table name for a package name: |
236 | 236 |
|
237 |
SL::DB::Helpers::Mappings::get_table_for_package('SL::DB::Order')
|
|
237 |
SL::DB::Helper::Mappings::get_table_for_package('SL::DB::Order') |
|
238 | 238 |
# oe |
239 |
SL::DB::Helpers::Mappings::get_table_for_package('Order')
|
|
239 |
SL::DB::Helper::Mappings::get_table_for_package('Order') |
|
240 | 240 |
# oe |
241 | 241 |
|
242 | 242 |
=back |
SL/DB/Helpers/ALLAuth.pm | ||
---|---|---|
1 |
package SL::DB::Helpers::ALLAuth; |
|
2 |
|
|
3 |
use strict; |
|
4 |
|
|
5 |
use SL::DB::AuthGroup; |
|
6 |
use SL::DB::AuthGroupRight; |
|
7 |
use SL::DB::AuthUserConfig; |
|
8 |
use SL::DB::AuthUser; |
|
9 |
|
|
10 |
1; |
|
11 |
|
|
12 |
__END__ |
|
13 |
|
|
14 |
=pod |
|
15 |
|
|
16 |
=head1 NAME |
|
17 |
|
|
18 |
SL::DB::Helpers::ALLAuth: Dependency-only package for all SL::DB::Auth* modules |
|
19 |
|
|
20 |
=head1 SYNOPSIS |
|
21 |
|
|
22 |
use SL::DB::Helpers::ALLAuth; |
|
23 |
|
|
24 |
=head1 DESCRIPTION |
|
25 |
|
|
26 |
This module depends on all modules in SL/DB/Auth*.pm for the |
|
27 |
convenience of being able to write a simple \C<use |
|
28 |
SL::DB::Helpers::ALLAuth> and having everything loaded. This is |
|
29 |
supposed to be used only in the Lx-Office console. Normal modules |
|
30 |
should C<use> only the modules they actually need. |
|
31 |
|
|
32 |
=head1 AUTHOR |
|
33 |
|
|
34 |
Moritz Bunkus E<lt>m.bunkus@linet-services.deE<gt> |
|
35 |
|
|
36 |
=cut |
Auch abrufbar als: Unified diff
Rückstände aus Umbenennung von SL/DB/Helpers nach SL/DB/Helper gefixt Teil 2