[dev] Api consistency for share listing
Jan Schneider
jan at horde.org
Sat Dec 4 17:15:51 UTC 2010
Zitat von "Michael J.Rubinsky" <mrubinsk at horde.org>:
>
> Quoting Alfonso Marín Marín <almarin at um.es>:
>
>> Hello,
>>
>> Cheking module APIs, i have noticed that listCalendars in kronolith
>> return an array of ID's, but listTasklists in nag and listNotepads
>> in mnemo return the datatree objects instead the ID's.
>>
>> ¿Is it any reason to do that? I think all of then should behave
>> like listCalendars
>
> Agreed. Can you create a ticket on bugs.horde.org so it doesn't get
> forgotten about?
We should probably have both: a generic listShares() method in all
apps that support shares, and (still consistent)
listCalendars/Tasklists/Etc() methods for the specific applications.
Jan.
--
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/
More information about the dev
mailing list