[dev] [cvs] commit: ansel/lib api.php

Jan Schneider jan at horde.org
Sun Jul 2 05:18:26 PDT 2006


Zitat von Michael Rubinsky <mike at theupstairsroom.com>:

> mrubinsk    2006-07-01 21:31:06 PDT
>
>   Modified files:
>     lib                  api.php
>   Log:
>   Add _ansel_getGalleryId() method to api for retrieving the   
> datatree_id when all we know is the gallery's name.
>   Any objections to this?

Without looking at the code, it might make more sense for an external  
API to hide internal IDs, OTOH we don't follow that paradigm in other  
APIs either. But the API for an application should at least be  
consistent, I guess.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the dev mailing list