Revision 48c0b3c9
Von Sven Schöling vor mehr als 9 Jahren hinzugefügt
SL/DB/Helper/Mappings.pm | ||
---|---|---|
207 | 207 |
return KIVITENDO => \%kivitendo_package_names; |
208 | 208 |
} |
209 | 209 |
|
210 |
sub get_name_for_table { |
|
211 |
return $kivitendo_package_names{ $_[0] }; |
|
212 |
} |
|
213 |
|
|
210 | 214 |
sub get_package_for_table { |
211 | 215 |
%kivitendo_tables_to_packages = map { ($_ => "SL::DB::" . camelify($kivitendo_package_names{$_})) } keys %kivitendo_package_names |
212 | 216 |
unless %kivitendo_tables_to_packages; |
Auch abrufbar als: Unified diff
Mappings: Direktzugriff auf package names Methode