1 package SL::DB::Manager::Contact;
5 use SL::DB::Helper::Manager;
6 use base qw(SL::DB::Helper::Manager);
8 use SL::DB::Helper::Sorted;
10 sub object_class { 'SL::DB::Contact' }
12 __PACKAGE__->make_manager_methods;
16 default => [ 'full_name', 1 ],
19 full_name => [ 'lower(contacts.cp_name)', 'lower(contacts.cp_givenname)', ],
20 map { ( $_ => "lower(contacts.cp_$_)" ) } qw(abteilung city email fax givenname mobile1 mobile2 name phone1 phone2 position privatemail privatphone project satfax satphone street title zipcode)