1 # This file has been auto-generated only because it didn't exist.
 
   2 # Feel free to modify it at will; it will not be overwritten automatically.
 
   4 package SL::DB::Manager::Shop;
 
   8 use SL::DB::Helper::Manager;
 
   9 use base qw(SL::DB::Helper::Manager);
 
  11 sub object_class { 'SL::DB::Shop' }
 
  13 use SL::DB::Helper::Sorted;
 
  15 __PACKAGE__->make_manager_methods;
 
  18   return ( default => [ 'sortkey', 1 ],
 
  19            columns => { SIMPLE => 'ALL' } );
 
  23     return $_[0]->get_first(where => [ obsolete => 0 ], sort_by => 'sortkey');