Class Album
Root class for images and albums
public
|
#
__construct( object $folder8, string $cache = true, boolean $quiet = false )
Constructor for albums |
protected
boolean
|
|
protected
boolean
|
|
protected
array
|
|
public
array
|
|
public
array
|
#
getImages( integer $page = 0, integer $firstPageCount = 0, string $sorttype = null, string $sortdirection = null, boolean $care = true, boolean $mine = NULL )
Returns a of a slice of the images for this album. They will also be sorted according to the sort type of this album, or by filename if none has been set. |
public
boolean
|
|
public
integer
|
|
protected
|
|
public
integer
|
|
public
|
#
garbageCollect( boolean $deep = false )
For every image in the album, look for its file. Delete from the database if the file does not exist. Same for each sub-directory/album. |
protected
array
|
#
loadFileNames( $dirs = false )
Load all of the filenames that are found in this Albums directory on disk. Returns an array with all the names. |
getDesc(),
getExpireDate(),
getPassword(),
getPasswordHint(),
getPublishDate(),
getSortOrder(),
getUser(),
setDesc(),
setExpireDate(),
setPassword(),
setPasswordHint(),
setPublishDate(),
setSortOrder(),
setUser()
|
__toString(),
get(),
getData(),
getID(),
instantiate(),
save(),
set()
|
$albumthumbnail,
$exists,
$images,
$index,
$lastimagesort,
$lastsubalbumsort,
$linkname,
$localpath,
$manage_rights,
$manage_some_rights,
$name,
$parent,
$parentalbum,
$sidecars,
$subalbums,
$subrights,
$view_rights
|
$comments
|
$id,
$loaded,
$table,
$transient
|