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

greenskin’s picture

Fixed. Please try the latest dev release.

greenskin’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.