Prototype LayoutImageMgr extends: ImageMgr |
|
Actions |
additional_action display the images of this layout |
default_action display the images of the parent layout |
main_action display all images of a site or layout |
Functions |
checkAdd(usr, level) check if user is allowed to add pictures (overwrites ImageMgr.checkAdd()) |
dumpToZip(z, fullExport, exportLog) loop over all images and dump the metadata into an xml-encoded export format |
evalImg(param, creator) function checks if image fits to the minimal needs |
evalImport(metadata, files) import the images that belong to a layout |
importImage(layout, data) create a new Image based on the metadata passed as argument |
mergeImages() returns additional and default images of this layout packed into a single Array (items sorted by createtime, additional images override those of the parent layout) |
Macros |
LayoutImageMgr.navigation render additional navigation if the parent of a layout also contains images |
Skins |
main.skin response.imagelist, response.pagenavigation |
navigation.skin |
new.skin response.action |
Inherited from prototype ImageMgr: |
Actions: create_action
, main_action
, myimages_action
Functions: checkAccess(action, usr, level) , checkAdd(usr, level) , deleteAll() , deleteImage(imgObj) , evalImg(param, creator) Macros: ImageMgr.imagelist , ImageMgr.topicchooser Skins: main.skin , new.skin |
type.properties |
_extends = ImageMgr ## ## collections ## _children = collection(LayoutImage) _children.local = LAYOUT_ID _children.foreign = IMAGE_F_LAYOUT _children.filter = IMAGE_PROTOTYPE = 'LayoutImage' and IMAGE_F_IMAGE_PARENT is null _children.order = IMAGE_CREATETIME desc _children.accessname = IMAGE_ALIAS |