$cAlbum class

The cAlbum class allows access to an album from the ProofBuddy database.

ProofBuddy >= 1.0

Note that to access the currently loaded album you will use the variable $cAlbum as it is loaded at page load.  If you need to access another album you will need to create a new variable.

Example

To load an album other than the album currently in use use the following code.

<?php
$album_id = 1;  // The id of the album you would like to load
$x = new classAlbum($album_id);
?>

More...

$cAlbum->album_id
Returns the database id of the album.

$cAlbum->album_info
Information on the album

$cAlbum->image_count
Returns the number of images in the album.

$cAlbum->settings
Variables for the display of the thumbnail pages.

Leave a Reply