Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
TemporaryFile Class Reference
Inheritance diagram for TemporaryFile:
PKPFile DataObject

Public Member Functions

 getFilePath ()
 
 getUserId ()
 
 setUserId ($userId)
 
 TemporaryFile ()
 
- Public Member Functions inherited from PKPFile
 getDateUploaded ()
 
 getFileId ()
 
 getFilePath ()
 
 getFileSize ()
 
 getFileType ()
 
 getNiceFileSize ()
 
 getOriginalFileName ()
 
 getServerFileName ()
 
 PKPFile ()
 
 setDateUploaded ($dateUploaded)
 
 setFileId ($fileId)
 
 setFileSize ($fileSize)
 
 setFileType ($fileType)
 
 setOriginalFileName ($originalFileName)
 
 setServerFileName ($fileName)
 
- Public Member Functions inherited from DataObject
 addSupportedMetadataAdapter ($metadataAdapter)
 
 DataObject ()
 
 extractMetadata ($metadataSchema)
 
 getAdditionalMetadataFieldNames ()
 
getAllData ()
 
getData ($key, $locale=null)
 
 getHasLoadableAdapters ()
 
 getId ()
 
 getLocaleMetadataFieldNames ()
 
getLocalizedData ($key)
 
 getMetadataFieldNames ($translated=true)
 
 getSetMetadataFieldNames ($translated=true)
 
 getSupportedExtractionAdapters ()
 
 getSupportedInjectionAdapters ()
 
 getSupportedMetadataSchemas ()
 
 hasData ($key, $locale=null)
 
 injectMetadata ($metadataDescription)
 
 removeSupportedMetadataAdapter ($metadataSchemaName)
 
 setAllData (&$data)
 
 setData ($key, $value, $locale=null)
 
 setHasLoadableAdapters ($hasLoadableAdapters)
 
 setId ($id)
 
 upcastTo ($targetObject)
 

Additional Inherited Members

- Public Attributes inherited from DataObject
 $_data = array()
 
 $_extractionAdaptersLoaded = false
 
 $_hasLoadableAdapters = false
 
 $_injectionAdaptersLoaded = false
 
 $_metadataExtractionAdapters = array()
 
 $_metadataInjectionAdapters = array()
 

Detailed Description

Temporary file class.

See Also
TemporaryFileDAO

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

Member Function Documentation

TemporaryFile::getFilePath ( )

Return absolute path to the file on the host filesystem.

Returns
string

Definition at line 32 of file TemporaryFile.inc.php.

References PKPFile\getServerFileName().

TemporaryFile::getUserId ( )

Get ID of associated user.

Returns
int

Definition at line 46 of file TemporaryFile.inc.php.

References DataObject\getData().

TemporaryFile::setUserId (   $userId)

Set ID of associated user.

Parameters
$userIdint

Definition at line 54 of file TemporaryFile.inc.php.

References DataObject\setData().

TemporaryFile::TemporaryFile ( )

Constructor.

Definition at line 24 of file TemporaryFile.inc.php.


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