creating an album object

when using the function "getAllSubalbums()" its stated in the docs i can insert any given album as an object -> `array getAllSubalbums( [object $album = NULL] )`

but how to create this kind of object for any given album? for my case i want to create an object of one of the main albums to get all those subalbums while being in on of these subalbums or being in a completely different album.

Comments

  • acrylian Administrator, Developer
    Standard object orientation: `$albumobj = new Album($_zp_gallery, "");`
    Note if you are using a subalbum the name is `toplevelalbumname/subalbumname`.
  • works well! thanks alot
Sign In or Register to comment.