PublicFileManager Class Reference

Wrapper class for uploading files to a site/conference's public directory. More...

List of all members.

Public Member Functions

 copyConferenceFile ($conferenceId, $sourceFile, $destFileName)
 copySchedConfFile ($schedConfId, $sourceFile, $destFileName)
 getConferenceFilesPath ($conferenceId)
 getSchedConfFilesPath ($schedConfId)
 removeConferenceFile ($conferenceId, $fileName)
 removeSchedConfFile ($schedConfId, $fileName)
 uploadConferenceFile ($conferenceId, $fileName, $destFileName)
 uploadSchedConfFile ($schedConfId, $fileName, $destFileName)
 writeConferenceFile ($conferenceId, $destFileName, &$contents)
 writeSchedConfFile ($schedConfId, $destFileName, &$contents)


Detailed Description

Wrapper class for uploading files to a site/conference's public directory.

Definition at line 19 of file PublicFileManager.inc.php.


Member Function Documentation

PublicFileManager.copyConferenceFile ( conferenceId,
sourceFile,
destFileName 
)

Copy a file to a conferences's public directory.

Parameters:
$conferenceId int
$sourceFile string the source of the file to copy
$destFileName string the destination file name
Returns:
boolean

Definition at line 69 of file PublicFileManager.inc.php.

References getConferenceFilesPath().

PublicFileManager.copySchedConfFile ( schedConfId,
sourceFile,
destFileName 
)

Copy a file to a scheduled conference's public directory.

Parameters:
$schedConfId int
$sourceFile string the source of the file to copy
$destFileName string the destination file name
Returns:
boolean

Definition at line 112 of file PublicFileManager.inc.php.

References getSchedConfFilesPath().

PublicFileManager.getConferenceFilesPath ( conferenceId  ) 

Get the path to a conference's public files directory.

Parameters:
$conferenceId int
Returns:
string

Definition at line 25 of file PublicFileManager.inc.php.

Referenced by copyConferenceFile(), removeConferenceFile(), TemplateManager.TemplateManager(), uploadConferenceFile(), and writeConferenceFile().

PublicFileManager.getSchedConfFilesPath ( schedConfId  ) 

Get the path to a scheduled conference's public files directory.

Parameters:
$schedConfId int
Returns:
string

Definition at line 34 of file PublicFileManager.inc.php.

Referenced by copySchedConfFile(), ProgramSettingsForm.display(), AccommodationSettingsForm.display(), removeSchedConfFile(), TemplateManager.TemplateManager(), uploadSchedConfFile(), and writeSchedConfFile().

PublicFileManager.removeConferenceFile ( conferenceId,
fileName 
)

Delete a file from a conference's public directory.

Parameters:
$conferenceId int
$fileName string the target file name
Returns:
boolean

Definition at line 79 of file PublicFileManager.inc.php.

References getConferenceFilesPath().

PublicFileManager.removeSchedConfFile ( schedConfId,
fileName 
)

Delete a file from a scheduled conference's public directory.

Parameters:
$schedConfId int
$fileName string the target file name
Returns:
boolean

Definition at line 122 of file PublicFileManager.inc.php.

References getSchedConfFilesPath().

PublicFileManager.uploadConferenceFile ( conferenceId,
fileName,
destFileName 
)

Upload a file to a conferences's public directory.

Parameters:
$conferenceId int
$fileName string the name of the file in the upload form
$destFileName string the destination file name
Returns:
boolean

Definition at line 47 of file PublicFileManager.inc.php.

References getConferenceFilesPath().

PublicFileManager.uploadSchedConfFile ( schedConfId,
fileName,
destFileName 
)

Upload a file to a scheduled conference's public directory.

Parameters:
$schedConfId int
$fileName string the name of the file in the upload form
$destFileName string the destination file name
Returns:
boolean

Definition at line 90 of file PublicFileManager.inc.php.

References getSchedConfFilesPath().

PublicFileManager.writeConferenceFile ( conferenceId,
destFileName,
&$  contents 
)

Write a file to a conferences's public directory.

Parameters:
$conferenceId int
$destFileName string the destination file name
$contents string the contents to write to the file
Returns:
boolean

Definition at line 58 of file PublicFileManager.inc.php.

References getConferenceFilesPath().

PublicFileManager.writeSchedConfFile ( schedConfId,
destFileName,
&$  contents 
)

Write a file to a scheduled conference's public directory.

Parameters:
$schedConfId int
$destFileName string the destination file name
$contents string the contents to write to the file
Returns:
boolean

Definition at line 101 of file PublicFileManager.inc.php.

References getSchedConfFilesPath().


The documentation for this class was generated from the following file:
Generated on 25 Jul 2013 for Open Conference Systems by  doxygen 1.4.7