ZenphotoCMS Forum
how to get Album object from its path and name - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: how to get Album object from its path and name (/thread-5303.html)



how to get Album object from its path and name - cmjn - 2009-06-09

Hi,

I'm wondering if there exists a function to return an album object from its path and name (sent as parameter) ? I've been browsing the functions descriptions but didn't find any.

If it doesn't already exist how would such a function look like ?

Thanks for any help !




how to get Album object from its path and name - acrylian - 2009-06-09

Sure, how about this?: http://www.zenphoto.org/documentation/classes/Album.html#methodAlbum




how to get Album object from its path and name - cmjn - 2009-06-10

Thank you very much !
So obvious that I didn't see it ... what a shame ...