Class FileSystemFileDataPart

Description

This Part stores the File data on the filesytem, in a file whose name is the id of our record.

Important configuration options:

  • 'use_filesystem_for_files'
  • 'file_data_path'
<p> OSID Version: 2.0 </p>

  • version: $Id: FileSystemFileDataPart.class.php,v 1.7 2007/09/04 20:25:46 adamfranco Exp $
  • license: GNU General Public License
  • copyright: Copyright &copy;2005, Middlebury College

Located in /harmoni/core/oki2/repository/File/Fields/FileSystemFileDataPart.class.php (line 23)

Part
   |
   --FileDataPart
      |
      --FileSystemFileDataPart
Method Summary
object mixed getValue ()
void updateValue (object mixed $value)
string _getFilePath ()
Variables
Methods
getValue (line 46)

Get the value for this Part.

  • return: (original type: java.io.Serializable)
  • access: public
  • throws: object RepositoryException An exception with one of the following messages defined in org.osid.repository.RepositoryException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED
object mixed getValue ()

Redefinition of:
FileDataPart::getValue()
Get the value for this Part.
updateValue (line 80)

Update the value for this Part.

  • access: public
  • throws: object RepositoryException An exception with one of the following messages defined in org.osid.repository.RepositoryException may be thrown: OPERATION_FAILED, PERMISSION_DENIED, CONFIGURATION_ERROR, UNIMPLEMENTED, NULL_ARGUMENT
void updateValue (object mixed $value)
  • object mixed $value: (original type: java.io.Serializable)

Redefinition of:
FileDataPart::updateValue()
Update the value for this Part.
_getFilePath (line 136)

Build the file path where we will store our data

  • since: 2/16/05
  • access: public
string _getFilePath ()

Inherited Methods

Inherited From FileDataPart

FileDataPart::FileDataPart()
FileDataPart::createPart()
FileDataPart::deletePart()
FileDataPart::getId()
FileDataPart::getParts()
FileDataPart::getPartStructure()
FileDataPart::getValue()
FileDataPart::updateValue()

Inherited From Part

Part::createPart()
Part::deletePart()
Part::getDisplayName()
Part::getId()
Part::getParts()
Part::getPartStructure()
Part::getValue()
Part::updateDisplayName()
Part::updateValue()

Documentation generated on Wed, 19 Sep 2007 10:23:14 -0400 by phpDocumentor 1.3.0RC3