1 package SL::DB::Manager::Employee;
5 use SL::DB::Helper::Manager;
6 use base qw(SL::DB::Helper::Manager);
8 sub object_class { 'SL::DB::Employee' }
10 __PACKAGE__->make_manager_methods;
13 return undef unless $::form && $::form->{login};
14 return shift->find_by(login => $::form->{login});