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

Procedural File: image_upload_limiter.php

Source Location: /zp-extensions/image_upload_limiter.php

Page Details

Provides the means to set an limit of the number of images that can be uploaded to an album in total.

Of course this is bypassed if using FTP upload or ZIP files! If you want to limit the latter you need to use the quota_managment plugin additionally. NOTE: The http browser single file upload is disabled if using this plugin!

Author:  Malte Müller (acrylian)
Classes
Class Description
uploadlimit Option handler class
Functions
getUploadImagesInAlbum  [line 204]
Parameters:
   $albumlist: 


void getUploadImagesInAlbum( $albumlist  )

[ Top ]
getUploadLimitedAlbums  [line 176]
Parameters:
   $albumlist: 


void getUploadLimitedAlbums( $albumlist  )

[ Top ]
limitUploadFiletypes  [line 230]

Removes ZIP from list of upload suffixes

Parameters:
array   $types: 


array limitUploadFiletypes( array $types  )

[ Top ]
limitUploadHandlers  [line 245]

Remove all but "flash" from the upload handlers since that is all we support

Parameters:
array   $handlers: 


array limitUploadHandlers( array $handlers  )

[ Top ]
uploadLimiterHeaderMessage  [line 163]
Parameters:
   $default: 


void uploadLimiterHeaderMessage( $default  )

[ Top ]
uploadLimiterJS  [line 62]

Prints the jQuery JS setup for the upload limiting

Parameters:
   $defaultJS: 


string uploadLimiterJS( $defaultJS  )

[ Top ]


Documentation generated on Tue, 20 Dec 2011 16:07:31 +0100 by phpDocumentor 1.4.3