Open Journal Systems  2.4.3
 All Classes Namespaces Functions Variables Groups Pages
ONIXCodelistItem Class Reference
Inheritance diagram for ONIXCodelistItem:
DataObject

Public Member Functions

 getCode ()
 
 getText ()
 
 ONIXCodelistItem ()
 
 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
ONIXCodelistItemDAO

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

Member Function Documentation

ONIXCodelistItem::getCode ( )

Get codelist code.

Returns
string

Definition at line 56 of file ONIXCodelistItem.inc.php.

References DataObject\getData().

ONIXCodelistItem::getText ( )

Get the text component of the codelist.

Returns
string

Definition at line 40 of file ONIXCodelistItem.inc.php.

References DataObject\getData().

ONIXCodelistItem::ONIXCodelistItem ( )

Constructor

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

ONIXCodelistItem::setCode (   $code)

Set codelist code.

Parameters
$codestring

Definition at line 64 of file ONIXCodelistItem.inc.php.

References DataObject\setData().

ONIXCodelistItem::setText (   $text)

Set the text component of the codelist.

Parameters
$textstring

Definition at line 48 of file ONIXCodelistItem.inc.php.

References DataObject\setData().


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