Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 0bb70855

Von Moritz Bunkus vor etwa 14 Jahren hinzugefügt

Rückstände aus Umbenennung von SL/DB/Helpers nach SL/DB/Helper gefixt Teil 2

Unterschiede anzeigen:

SL/DB/Helper/ALLAuth.pm
package SL::DB::Helper::ALLAuth;
use strict;
use SL::DB::AuthGroup;
use SL::DB::AuthGroupRight;
use SL::DB::AuthUserConfig;
use SL::DB::AuthUser;
1;
__END__
=pod
=head1 NAME
SL::DB::Helper::ALLAuth: Dependency-only package for all SL::DB::Auth* modules
=head1 SYNOPSIS
use SL::DB::Helper::ALLAuth;
=head1 DESCRIPTION
This module depends on all modules in SL/DB/Auth*.pm for the
convenience of being able to write a simple \C<use
SL::DB::Helper::ALLAuth> and having everything loaded. This is
supposed to be used only in the Lx-Office console. Normal modules
should C<use> only the modules they actually need.
=head1 AUTHOR
Moritz Bunkus E<lt>m.bunkus@linet-services.deE<gt>
=cut
SL/DB/Helper/Mappings.pm
Returns the package name for a table name:
SL::DB::Helpers::Mappings::get_package_for_table('oe')
SL::DB::Helper::Mappings::get_package_for_table('oe')
# SL::DB::Order
=item C<get_manager_package_for_table $table_name>
Returns the manager package name for a table name:
SL::DB::Helpers::Mappings::get_manager_package_for_table('oe')
SL::DB::Helper::Mappings::get_manager_package_for_table('oe')
# SL::DB::Manager::Order
=item C<get_table_for_package $package_name>
Returns the table name for a package name:
SL::DB::Helpers::Mappings::get_table_for_package('SL::DB::Order')
SL::DB::Helper::Mappings::get_table_for_package('SL::DB::Order')
# oe
SL::DB::Helpers::Mappings::get_table_for_package('Order')
SL::DB::Helper::Mappings::get_table_for_package('Order')
# oe
=back
SL/DB/Helpers/ALLAuth.pm
package SL::DB::Helpers::ALLAuth;
use strict;
use SL::DB::AuthGroup;
use SL::DB::AuthGroupRight;
use SL::DB::AuthUserConfig;
use SL::DB::AuthUser;
1;
__END__
=pod
=head1 NAME
SL::DB::Helpers::ALLAuth: Dependency-only package for all SL::DB::Auth* modules
=head1 SYNOPSIS
use SL::DB::Helpers::ALLAuth;
=head1 DESCRIPTION
This module depends on all modules in SL/DB/Auth*.pm for the
convenience of being able to write a simple \C<use
SL::DB::Helpers::ALLAuth> and having everything loaded. This is
supposed to be used only in the Lx-Office console. Normal modules
should C<use> only the modules they actually need.
=head1 AUTHOR
Moritz Bunkus E<lt>m.bunkus@linet-services.deE<gt>
=cut

Auch abrufbar als: Unified diff