Open Journal Systems  2.4.3
 All Classes Namespaces Functions Variables Groups Pages
DuraCloudContentDescriptor Class Reference

Public Member Functions

 DuraCloudContentDescriptor ($metadata=array())
 
 getMetadata ($name=null)
 
 setMetadata ($name, $value=null)
 

Detailed Description

DuraCloud API content descriptor.

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

Member Function Documentation

DuraCloudContentDescriptor::DuraCloudContentDescriptor (   $metadata = array())

Constructor

Parameters
$spaceIdstring
$contentIdstring

Definition at line 30 of file DuraCloudContentDescriptor.inc.php.

DuraCloudContentDescriptor::getMetadata (   $name = null)

Get the entire metadata set, or a particular entry $param $name string Name of metadata element to get, or null for full array

Returns
mixed

Definition at line 55 of file DuraCloudContentDescriptor.inc.php.

DuraCloudContentDescriptor::setMetadata (   $name,
  $value = null 
)

Set the entire metadata set, or a particular entry Usage: setMetadata(array('name' => 'value')); ...or: setMetadata('name', 'value');

Parameters
$namemixed
$valuemixed

Definition at line 68 of file DuraCloudContentDescriptor.inc.php.


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