]> wagnertech.de Git - mfinanz.git/blobdiff - SL/DB/Helper/Mappings.pm
ClientJS: Ziel-Argument bestimmter Funktionen vorne trimmen
[mfinanz.git] / SL / DB / Helper / Mappings.pm
index 31ae7b6997fa848c4450f9e306ae5ba5536b387c..709e881ef7c68127509f91e4a65a474b73f9a83f 100644 (file)
@@ -207,6 +207,10 @@ sub get_package_names {
   return KIVITENDO => \%kivitendo_package_names;
 }
 
   return KIVITENDO => \%kivitendo_package_names;
 }
 
+sub get_name_for_table {
+  return $kivitendo_package_names{ $_[0] };
+}
+
 sub get_package_for_table {
   %kivitendo_tables_to_packages = map { ($_ => "SL::DB::" . camelify($kivitendo_package_names{$_})) } keys %kivitendo_package_names
     unless %kivitendo_tables_to_packages;
 sub get_package_for_table {
   %kivitendo_tables_to_packages = map { ($_ => "SL::DB::" . camelify($kivitendo_package_names{$_})) } keys %kivitendo_package_names
     unless %kivitendo_tables_to_packages;