[Arsperl-users] Missing parameter in ars_GetListEntry/GetListEntryWithFields
Brought to you by:
jeffmurphy
|
From: Misi M. <mi...@rr...> - 2012-07-16 13:36:01
|
Hi,
To know all requests were returned in a result list from
ARGetListEntry/ARGetListEntryWithFields the numMatches variable needs to
be returned. This is available in the C API but is not implemented in the
corresponding ARSperl calls.
They can easily be implemented I guess, but I need advice on how to best
proceed.
How should the parameter be specified and returned when calling
ars_GetListEntry or ars_GetListEntryWithFields?
We would have multiple return values in this case...
ars_GetListEntry(ctrl, schema, qualifier, maxRetrieve=0,firstRetrieve=0,...)
For example if a search results in 333 entries:
%entries = ars_GetListEntry($c, "User", $q, 100, 101);
We would get 100 entries returned, but there is no way to tell that there
are a total of 333 entries to retrieve.
Best Regards - Misi, RRR AB, http://rrr.se
|