[ class tree: plugins ] [ index: plugins ] [ all elements ]

Class: AlbumZip

Source Location: /zp-extensions/downloadList.php

Class AlbumZip

Class Overview
Method Summary
static void   AddAlbum()   generates an array of filenames to zip recurses into the albums subalbums
static void   AddAlbumCache()   generates an array of cachefilenames to zip recurses into the albums subalbums
static void   create()   Creates a zip file of the album
static void   pageError()   Emits a page error. Used for attempts to bypass password protection

[ Top ]
Methods
static method AddAlbum  [line 292]

  static void AddAlbum( object $album, int $base, $filebase  )

generates an array of filenames to zip recurses into the albums subalbums

Parameters:
object   $album:  album object to add
int   $base:  the length of the base album name
   $filebase: 


[ Top ]
static method AddAlbumCache  [line 330]

  static void AddAlbumCache( object $album, int $base, $filebase  )

generates an array of cachefilenames to zip recurses into the albums subalbums

Parameters:
object   $album:  album object to add
int   $base:  the length of the base album name
   $filebase: 


[ Top ]
static method create  [line 376]

  static void create( string $albumname, bool $fromcache  )

Creates a zip file of the album

Parameters:
string   $albumname:  album folder
bool   $fromcache:  fromcache if true, images will be the "sized" image in the cache file


[ Top ]
static method pageError  [line 359]

  static void pageError( string $err, string $text  )

Emits a page error. Used for attempts to bypass password protection

Parameters:
string   $err:  error code
string   $text:  error message


[ Top ]

Documentation generated on Sat, 07 Jun 2014 18:03:24 +0200 by phpDocumentor 1.4.3