Closed (fixed)
Project:
iContact
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Sep 2011 at 16:04 UTC
Updated:
18 Oct 2012 at 20:31 UTC
Another error accessing icontac protected properties...
($list->iContact->accounts[$list->accountId]->clientFolders[$list->clientFolderId]->contacts
How is that information supposed to be accessed?
my best guess:
$contacts = array();
$icontact = icontact_load();
$account = &$icontact->getAccount($list->accountId);
$clientFolder = &$account->getClientFolder($list->clientFolderId);
$contacts = $clientFolder->requestContacts();
which seems to be alot more work than making the properties publically accessable (or even protected and adding getters)..
Any ideas?
Comments
Comment #1
greenskin commentedFixed. Please try the latest dev release.
Comment #2
greenskin commented