Open Journal Systems  2.4.4
 All Classes Namespaces Functions Variables Groups Pages
DuraCloudFileContent Class Reference
Inheritance diagram for DuraCloudFileContent:
DuraCloudContent

Public Member Functions

 DuraCloudFileContent (&$contentDescriptor)
 
 getSize ()
 
 open ($fileName, $mode= 'r')
 
- Public Member Functions inherited from DuraCloudContent
 DuraCloudContent (&$contentDescriptor)
 

Detailed Description

DuraCloud API content model for files.

Definition at line 15 of file DuraCloudFileContent.inc.php.

Member Function Documentation

DuraCloudFileContent::DuraCloudFileContent ( $contentDescriptor)

Constructor

Parameters
$spaceIdstring
$contentIdstring

Definition at line 21 of file DuraCloudFileContent.inc.php.

DuraCloudFileContent::getSize ( )

Get the size of the content. as it involves seeking to the end first.

Returns
int

Definition at line 38 of file DuraCloudFileContent.inc.php.

DuraCloudFileContent::open (   $fileName,
  $mode = 'r' 
)

Open a file by name.

Parameters
$fileNamestring

Definition at line 29 of file DuraCloudFileContent.inc.php.


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