Re: Error from person.get

Helge Hess <[email protected]>
Newsgroups gmane.comp.cms.opengroupware.xmlrpc.devel
Message-ID <[email protected]>
On Sep 9, 2004, at 14:21, Thomas Kriener wrote:
> But with person.fetch I'm back to my old problem, that I can only 
> search for one criteria, right ?

No. You can search as many _core table attributes_ as you like (like 
name and firstname), no difference to "get" here.

> BTW: Why does a function return an array, if it returns maximum one 
> element ?

As mentioned: "this is not strictly correct for the implementation, but 
use it like that".
Internally the person::get command can be used for queries but this is 
discouraged/deprecated (always use fetch for that, its a superset of 
the functionality).

best regards,
   Helge
-- 
http://docs.opengroupware.org/Members/helge/
OpenGroupware.org

-- 
OpenGroupware.org XML-RPC
[email protected]
http://mail.opengroupware.org/mailman/listinfo/xmlrpc
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.