[OGo-Developer] accessing telephone numbers of team members in OGOGroupsPage

Adam Tauno Williams developer@opengroupware.org
Tue, 06 Mar 2007 08:55:20 -0500


--=-uvaCNwmIp0+jUbdb+Jcb
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

> > For retrieving phone numbers I've also used:
> >   NSArray             *phones;
> >   phones =3D [cmdctx runCommand:@"telephone::get",
> >               @"companyId",  _companyId,
> >               @"returnType", intObj(LSDBReturnType_ManyObjects),
> >               nil];
> >   *Where _companyId is an NSNumber.
>=20
> Thats only efficient for a single company record. Do not use it in =20
> combination with arrays (eg arrays of members).

Yep, I'm aware of this;  and ZOGI does bulk fetches in most places. =20

I need to clean-up/optimize the code that does some of the additive
stuff.

--=-uvaCNwmIp0+jUbdb+Jcb
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQBF7XLILRePpNle04MRAh9CAJwOQ+LqUnZC/6UeMJl/MkbV2ouT5QCfUUXZ
BLnTdF5Sto4Cp42/d1xv2ho=
=B9H8
-----END PGP SIGNATURE-----

--=-uvaCNwmIp0+jUbdb+Jcb--