|
Open Journal Systems
3.3.0
|
Public Member Functions | |
| addDescription ($metadataDescription, $replace=true) | |
| & | getDescription ($applicationEntityId) |
| & | getDescriptions () |
| removeDescription ($applicationEntityId) | |
| setDescriptions (&$descriptions) | |
Data Fields | |
| $_descriptions = array() | |
Class modeling a meta-data record (DCMI abstract model: an instance of a description set, RDF: a graph of several subject nodes with associated object nodes).
Definition at line 21 of file MetadataRecord.inc.php.
| MetadataRecord::addDescription | ( | $metadataDescription, | |
$replace = true |
|||
| ) |
Add a meta-data description.
| $metadataDescription | MetadataDescription |
| $replace | whether to replace a description if a description for the same application entity instance already exists. |
Definition at line 38 of file MetadataRecord.inc.php.
Referenced by setDescriptions().
| & MetadataRecord::getDescription | ( | $applicationEntityId | ) |
Get a specific description
| $applicationEntityId | string consisting of 'assocType:assocId' |
Definition at line 85 of file MetadataRecord.inc.php.
| & MetadataRecord::getDescriptions | ( | ) |
Get all descriptions
Definition at line 75 of file MetadataRecord.inc.php.
References $_descriptions.
| MetadataRecord::removeDescription | ( | $applicationEntityId | ) |
Remove description.
| $applicationEntityId | string consisting of 'assocType:assocId' |
Definition at line 61 of file MetadataRecord.inc.php.
| MetadataRecord::setDescriptions | ( | & | $descriptions | ) |
Replace all descriptions at once. If one of the descriptions is invalid then the meta-data record will be empty after this operation.
| $descriptions | array descriptions |
Definition at line 104 of file MetadataRecord.inc.php.
References addDescription().
| array MetadataRecord::$_descriptions = array() |
the MetadataDescriptions in this record
Definition at line 26 of file MetadataRecord.inc.php.
Referenced by getDescriptions().