mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-21 11:25:24 +00:00
Ajaxifed the addressbook module. See ChangeLog.
Monotone-Parent: cb0ecd99fcf222060f6e3bc248d2e9a9c47624c1 Monotone-Revision: 1cdaff22cdbdb961e1937dc8f1ac1936bd06dc99 Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2011-04-14T18:01:02 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -87,6 +87,38 @@
|
||||
}
|
||||
}
|
||||
|
||||
- (void) setCurrentContact: (NSDictionary *) _contact
|
||||
{
|
||||
currentContact = _contact;
|
||||
}
|
||||
|
||||
- (NSDictionary *) currentContact
|
||||
{
|
||||
return currentContact;
|
||||
}
|
||||
|
||||
- (NSString *) currentContactClasses
|
||||
{
|
||||
return [[currentContact objectForKey: @"c_component"] lowercaseString];
|
||||
}
|
||||
|
||||
- (NSArray *) personalContactInfos
|
||||
{
|
||||
SOGoContactFolders *folders;
|
||||
id <SOGoContactFolder> folder;
|
||||
NSArray *contactInfos;
|
||||
|
||||
folders = [self clientObject];
|
||||
folder = [folders lookupPersonalFolder: @"personal" ignoringRights: YES];
|
||||
|
||||
contactInfos = [folder lookupContactsWithFilter: nil
|
||||
onCriteria: nil
|
||||
sortBy: @"c_cn"
|
||||
ordering: NSOrderedAscending];
|
||||
|
||||
return contactInfos;
|
||||
}
|
||||
|
||||
- (id <WOActionResults>) mailerContactsAction
|
||||
{
|
||||
selectorComponentClass = @"UIxContactsMailerSelection";
|
||||
|
||||
Reference in New Issue
Block a user