[OGo-Developer] accessing telephone numbers of team members in OGOGroupsPage
Sebastian Reitenbach
developer@opengroupware.org
Tue, 06 Mar 2007 10:34:43 +0100
Hi,
developer@opengroupware.org wrote:
> On Mar 6, 2007, at 10:02, Sebastian Reitenbach wrote:
> > ah, ok, so there is a members.telephones.01_tel key then?
>
> ? members is and array and telephones is an array. You probably need
> a WORepetition to walk over them.
so telephones is an independent array from the members array then, but where is
it defined?
>
> > or do you mean I have to add an NSArray *telephones to the
> > OGoGroupsPage so that the telephone numbers will be saved in there,
> > while now as there is no such an array, they just disappear?.
>
> Hm, no?
But in OGoGroupsPage.m I do not have a telephones array, is this created from
running the
command? I am wondering where the telephones NSArray is created, while running
the command?
I do not understand where it comes from.
> >>
> >> No difference. One of those probably just calls the other.
> > ok, yes the team:members some time later calls that get-telephones
> > command.
>
> Ups, sorry. I thought you asked about the difference between
> LSRunCommandV function and the -runCommand: method.
> Then in fact I don't understand what you real question is.
no, you got me right, I was just wondering why there are two ways to do the same
thing, and
thought there must be some kind of a difference between these two, but might be
some older
and newer things....
kind regards
Sebastian