Prototype FileMgr
ACTIONS | FUNCTIONS | MACROS | SKINS | TEMPLATES | TYPE.PROPERTIES

Actions
create_action
action for creating new File objects
main_action
list all files of a site
myfiles_action
list just my files
 
Functions
checkAccess(action, usr, level)
permission check (called by hopobject.onRequest())
checkAdd(usr, level)
check if user is allowed to add files
deleteAll()
function deletes all files
deleteFile(fileObj)
delete a file
evalFile(param, creator)
function checks if file fits to the minimal needs
 
Skins
main.skin
response.filelist, response.pagenavigation
new.skin
response.action
 


type.properties
##
## collections
##
_children            = collection(File)
_children.local      = SITE_ID
_children.foreign    = FILE_F_SITE
_children.order      = FILE_CREATETIME desc
_children.accessname = FILE_ALIAS