quota_admin_list [line 146]
Returns an option list of administrators who do not have ADMIN_RIGHTS or MANAGE_ALL_ALBUM_RIGHTS
Parameters:
string quota_admin_list(
string $owner
)
|
|
quota_checkQuota [line 290]
Checks if upload should be allowed
Parameters:
|
int |
$error: |
|
|
string |
$image: |
|
int quota_checkQuota(
int $error, string $image
)
|
|
quota_edit_admin [line 107]
Returns table row(s) for edit of an admin user's custom data
Parameters:
|
string |
$html: |
always empty |
|
string |
$i: |
prefix for the admin |
|
string |
$background: |
background color for the admin row |
|
bool |
$current: |
true if this admin row is the logged in admin |
|
$userobj |
$userobj: |
Admin user object |
|
|
$local_alterrights: |
|
string quota_edit_admin(
string $html, $userobj $userobj, string $i, string $background, bool $current, $local_alterrights
)
|
|
quota_edit_album [line 203]
Returns a table entry for image assignment
Parameters:
|
string |
$discard: |
|
|
object |
$album: |
|
|
string |
$prefix: |
|
string quota_edit_album(
string $discard, object $album, string $prefix
)
|
|
quota_edit_image [line 168]
Returns table row(s) for the edit of an image custom data field
Parameters:
|
string |
$discard: |
always empty |
|
int |
$currentimage: |
prefix for the image being edited |
|
object |
$image: |
the image object |
string quota_edit_image(
string $discard, object $image, int $currentimage
)
|
|
quota_getCurrentUse [line 131]
Returns curren image useage
Parameters:
|
$userobj |
$userobj: |
Admin user object |
int quota_getCurrentUse(
$userobj $userobj
)
|
|
quota_getUploadLimit [line 277]
Returns the upload limit
Parameters:
int quota_getUploadLimit(
int $uploadlimit
)
|
|
quota_getUploadQuota [line 262]
Returns the user's quota
Parameters:
int quota_getUploadQuota(
int $quota
)
|
|
quota_get_header [line 313]
Returns quota text for header, etc.
Parameters:
string quota_get_header(
string $default
)
|
|
quota_image_refresh [line 251]
checks to see if the filesize is set and sets it if not
Parameters:
object quota_image_refresh(
unknown_type $image
)
|
|
quota_new_image [line 236]
Assigns owner to new image
Parameters:
object quota_new_image(
string $image
)
|
|
quota_save_admin [line 91]
Saves admin custom data Called when an admin is saved
Parameters:
|
string |
$discard: |
always empty |
|
object |
$userobj: |
admin user object |
|
string |
$i: |
prefix for the admin |
string quota_save_admin(
string $discard, object $userobj, string $i
)
|
|
quota_save_album [line 222]
Assigns images within the album to an owner.
Parameters:
|
object |
$album: |
|
|
string |
$prefix: |
|
void quota_save_album(
object $album, string $prefix
)
|
|
quota_save_image [line 190]
Option save handler for the filter
Parameters:
|
object |
$object: |
object being rated |
|
string |
$prefix: |
indicator if admin is processing multiple objects |
|
|
$image: |
|
void quota_save_image(
$image, string $prefix, object $object
)
|
|
quota_upload_filetypes [line 352]
Removes ZIP from list of upload suffixes
Parameters:
array quota_upload_filetypes(
array $types
)
|
|
quota_upload_helper_js [line 333]
Returns Javascript needed to support quota system
Parameters:
string quota_upload_helper_js(
string $defaultJS
)
|
|