Public Member Functions | Static Public Member Functions

share Class Reference

Inheritance diagram for share:
module fileuploadable

Public Member Functions

 getHtml ($gotuid, $gotmoduleComponentId, $gotaction)
 renderComment ($id, $user, $timestamp, $comment, $file, $action="view")
 commentBox ($file_id)
 renderField ($row, $action="view")
 actionView ()
 actionModerate ()
 actionEdit ()
 createModule ($compId)
 deleteModule ($moduleComponentId)
 copyModule ($moduleComponentId, $newId)

Static Public Member Functions

static getFileAccessPermission ($pageId, $moduleComponentId, $userId, $fileName)
static getUploadableFileProperties (&$fileTypesArray, &$maxFileSizeInBytes)

Detailed Description

Definition at line 18 of file share.lib.php.


Member Function Documentation

actionEdit (  ) 

Definition at line 312 of file share.lib.php.

actionModerate (  ) 

Definition at line 234 of file share.lib.php.

actionView (  ) 

Definition at line 109 of file share.lib.php.

commentBox ( file_id  ) 

Definition at line 63 of file share.lib.php.

copyModule ( moduleComponentId,
newId 
)

Definition at line 379 of file share.lib.php.

createModule ( compId  ) 

Definition at line 370 of file share.lib.php.

deleteModule ( moduleComponentId  ) 

Definition at line 375 of file share.lib.php.

static getFileAccessPermission ( pageId,
moduleComponentId,
userId,
fileName 
) [static]

Should return true in case file viewing allowed, false if not allowed

Implements fileuploadable.

Definition at line 33 of file share.lib.php.

getHtml ( gotuid,
gotmoduleComponentId,
gotaction 
)

Definition at line 23 of file share.lib.php.

static getUploadableFileProperties ( &$  fileTypesArray,
&$  maxFileSizeInBytes 
) [static]

Definition at line 36 of file share.lib.php.

renderComment ( id,
user,
timestamp,
comment,
file,
action = "view" 
)

Definition at line 40 of file share.lib.php.

renderField ( row,
action = "view" 
)

Definition at line 100 of file share.lib.php.


The documentation for this class was generated from the following file: