API to know the last two root album of the given sub-album?

reynan

Joined: 2003-09-10
Posts: 49
Posted: Mon, 2007-09-17 15:58

hello,

Are there any API that I can used so that I would know the last two root album of the given sub-album? e.g $item->getparentId
And for me, $item->getRootGrandParentId.

Another thing, Is there something like "itemOddOption" upon creation of album? I know that there is a function of "handlerequestafteradd", but this is for GalleryDataItem only, is there such thing for GalleryAlbumItem? I need to do something upon successful creation of an album.

Any advice?

regards,

--reynan