Open Journal Systems  2.4.4
 All Classes Namespaces Functions Variables Groups Pages
CodelistItem Class Reference
Inheritance diagram for CodelistItem:
DataObject Qualifier Subject

Public Member Functions

 CodelistItem ()
 
 getCode ()
 
 getOnixSubjectSchemeIdentifier ()
 
 getText ()
 
 setCode ($code)
 
 setText ($text)
 
- Public Member Functions inherited from DataObject
 addSupportedMetadataAdapter (&$metadataAdapter)
 
 DataObject ($callHooks=true)
 
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()
 

Detailed Description

Basic class describing a codelist item.

See Also
CodelistItemDAO

Definition at line 22 of file CodelistItem.inc.php.

Member Function Documentation

CodelistItem::CodelistItem ( )

Constructor

Definition at line 27 of file CodelistItem.inc.php.

CodelistItem::getCode ( )

Get codelist code.

Returns
string

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

References DataObject\getData().

CodelistItem::getOnixSubjectSchemeIdentifier ( )
Returns
String the numerical value representing this item in the ONIX 3.0 schema

Definition at line 70 of file CodelistItem.inc.php.

CodelistItem::getText ( )

Get the text component of the codelist.

Returns
string

Definition at line 39 of file CodelistItem.inc.php.

References DataObject\getData().

CodelistItem::setCode (   $code)

Set codelist code.

Parameters
$codestring

Definition at line 63 of file CodelistItem.inc.php.

References DataObject\setData().

CodelistItem::setText (   $text)

Set the text component of the codelist.

Parameters
$textstring

Definition at line 47 of file CodelistItem.inc.php.

References DataObject\setData().


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