Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
IdentificationCode Class Reference
Inheritance diagram for IdentificationCode:
DataObject

Public Member Functions

 getCode ()
 
 getNameForONIXCode ()
 
 getPublicationFormatId ()
 
 getValue ()
 
 IdentificationCode ()
 
 setCode ($code)
 
 setPublicationFormatId ($publicationFormatId)
 
 setValue ($value)
 
- Public Member Functions inherited from DataObject
 addSupportedMetadataAdapter ($metadataAdapter)
 
 DataObject ()
 
 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()
 
 $_extractionAdaptersLoaded = false
 
 $_hasLoadableAdapters = false
 
 $_injectionAdaptersLoaded = false
 
 $_metadataExtractionAdapters = array()
 
 $_metadataInjectionAdapters = array()
 

Detailed Description

Basic class describing an identification code (used on the ONIX templates for publication formats)

See Also
IdentificationCodeDAO

Definition at line 17 of file IdentificationCode.inc.php.

Member Function Documentation

IdentificationCode::getCode ( )

Get the ONIX code for the identification code

Returns
string

Definition at line 53 of file IdentificationCode.inc.php.

References DataObject\getData().

Referenced by getNameForONIXCode().

IdentificationCode::getNameForONIXCode ( )

Get the human readable name for this ONIX code

Returns
string

Definition at line 61 of file IdentificationCode.inc.php.

References getCode(), and DAORegistry\getDAO().

IdentificationCode::getPublicationFormatId ( )

get publication format id

Returns
int

Definition at line 29 of file IdentificationCode.inc.php.

References DataObject\getData().

IdentificationCode::getValue ( )

Get the value for the identification code

Returns
string

Definition at line 79 of file IdentificationCode.inc.php.

References DataObject\getData().

IdentificationCode::IdentificationCode ( )

Constructor

Definition at line 21 of file IdentificationCode.inc.php.

IdentificationCode::setCode (   $code)

Set the ONIX code for this identification code

Parameters
$codestring

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

References DataObject\setData().

IdentificationCode::setPublicationFormatId (   $publicationFormatId)

set publication format id

Parameters
$pressIdint

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

References DataObject\setData().

IdentificationCode::setValue (   $value)

Set the value for this identification code

Parameters
$valuestring

Definition at line 71 of file IdentificationCode.inc.php.

References DataObject\setData().


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