Public Member Functions

IdentificationCode Class Reference

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

List of all members.

Public Member Functions

 getCode ()
 getNameForONIXCode ()
 getPublicationFormatId ()
 getValue ()
 IdentificationCode ()
 setCode ($code)
 setPublicationFormatId ($publicationFormatId)
 setValue ($value)

Detailed Description

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

See also:
IdentificationCodeDAO

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


Member Function Documentation

IdentificationCode.getCode (  ) 

Get the ONIX code for the identification code

Returns:
string

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

Referenced by getNameForONIXCode().

IdentificationCode.getNameForONIXCode (  ) 

Get the human readable name for this ONIX code

Returns:
string

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

References getCode().

IdentificationCode.getPublicationFormatId (  ) 

get publication format id

Returns:
int

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

IdentificationCode.getValue (  ) 

Get the value for the identification code

Returns:
string

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

IdentificationCode.IdentificationCode (  ) 

Constructor

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

IdentificationCode.setCode ( code  ) 

Set the ONIX code for this identification code

Parameters:
$code string

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

IdentificationCode.setPublicationFormatId ( publicationFormatId  ) 

set publication format id

Parameters:
$pressId int

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

IdentificationCode.setValue ( value  ) 

Set the value for this identification code

Parameters:
$value string

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


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