Open Monograph Press  3.3.0
Subject Class Reference
Inheritance diagram for Subject:
CodelistItem DataObject

Public Member Functions

 __construct ()
 
 getOnixSubjectSchemeIdentifier ()
 
- Public Member Functions inherited from CodelistItem
 getCode ()
 
 getText ()
 
 setCode ($code)
 
 setText ($text)
 
- Public Member Functions inherited from DataObject
 addSupportedMetadataAdapter ($metadataAdapter)
 
 extractMetadata ($metadataSchema)
 
 getAdditionalMetadataFieldNames ()
 
getAllData ()
 
 getDAO ()
 
getData ($key, $locale=null)
 
 getHasLoadableAdapters ()
 
 getId ()
 
 getLocaleMetadataFieldNames ()
 
 getLocalizedData ($key, $preferredLocale=null)
 
 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)
 
 unsetData ($key, $locale=null)
 
 upcastTo ($targetObject)
 

Data Fields

 $_onixSubjectSchemeIdentifier = 12
 
- Data Fields inherited from DataObject
 $_data = array()
 
 $_extractionAdaptersLoaded = false
 
 $_hasLoadableAdapters = false
 
 $_injectionAdaptersLoaded = false
 
 $_metadataExtractionAdapters = array()
 
 $_metadataInjectionAdapters = array()
 

Detailed Description

Basic class describing a BIC Subject.

See also
SubjectDAO

Definition at line 24 of file Subject.inc.php.

Constructor & Destructor Documentation

◆ __construct()

Subject::__construct ( )

Constructor

Reimplemented from CodelistItem.

Definition at line 37 of file Subject.inc.php.

Member Function Documentation

◆ getOnixSubjectSchemeIdentifier()

Subject::getOnixSubjectSchemeIdentifier ( )

Get the ONIX subject scheme identifier.

Returns
String the numerical value representing this item in the ONIX 3.0 schema

Reimplemented from CodelistItem.

Definition at line 45 of file Subject.inc.php.

References $_onixSubjectSchemeIdentifier.

Field Documentation

◆ $_onixSubjectSchemeIdentifier

int Subject::$_onixSubjectSchemeIdentifier = 12

The numerical representation of these Subject Qualifiers in ONIX 3.0

Definition at line 32 of file Subject.inc.php.

Referenced by getOnixSubjectSchemeIdentifier().


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