Public Member Functions

Representative Class Reference
[Monograph]

Basic class describing a representative composite type (used on the ONIX templates for publication formats). This type is used for both Agents and Suppliers. More...

List of all members.

Public Member Functions

 getEmail ()
 getFax ()
 getIsSupplier ()
 getMonographId ()
 getName ()
 getNameForONIXCode ()
 getPhone ()
 getRepresentativeIdType ()
 getRepresentativeIdValue ()
 getRole ()
 getUrl ()
 Representative ()
 setEmail ($email)
 setFax ($fax)
 setIsSupplier ($isSupplier)
 setMonographId ($monographId)
 setName ($name)
 setPhone ($phone)
 setRepresentativeIdType ($representativeIdType)
 setRepresentativeIdValue ($representativeIdValue)
 setRole ($role)
 setUrl ($url)

Detailed Description

Basic class describing a representative composite type (used on the ONIX templates for publication formats). This type is used for both Agents and Suppliers.

See also:
RepresentativeDAO

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


Member Function Documentation

Representative.getEmail (  ) 

Get the representative email address.

Returns:
string

Definition at line 156 of file Representative.inc.php.

Representative.getFax (  ) 

Get the representative fax.

Returns:
string

Definition at line 140 of file Representative.inc.php.

Representative.getIsSupplier (  ) 

Get the representative's is_supplier setting.

Returns:
int

Definition at line 188 of file Representative.inc.php.

Referenced by getNameForONIXCode().

Representative.getMonographId (  ) 

get monograph id.

Returns:
int

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

Representative.getName (  ) 

Get the representative name.

Returns:
string

Definition at line 108 of file Representative.inc.php.

Representative.getNameForONIXCode (  ) 

Get the human readable name for this ONIX code

Returns:
string

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

References getIsSupplier(), and getRole().

Representative.getPhone (  ) 

Get the representative phone.

Returns:
string

Definition at line 124 of file Representative.inc.php.

Representative.getRepresentativeIdType (  ) 

Get the representative ID type (ONIX Code).

Returns:
string

Definition at line 84 of file Representative.inc.php.

Representative.getRepresentativeIdValue (  ) 

Get the representative ID value.

Returns:
string

Definition at line 100 of file Representative.inc.php.

Representative.getRole (  ) 

Get the ONIX code for this representative role.

Returns:
string

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

Referenced by getNameForONIXCode().

Representative.getUrl (  ) 

Get the representative's url.

Returns:
string

Definition at line 172 of file Representative.inc.php.

Representative.Representative (  ) 

Constructor

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

Representative.setEmail ( email  ) 

Set the representative email address.

Parameters:
string $email

Definition at line 164 of file Representative.inc.php.

Representative.setFax ( fax  ) 

Set the representative fax.

Parameters:
string $fax

Definition at line 148 of file Representative.inc.php.

Representative.setIsSupplier ( isSupplier  ) 

Set the representative's is_supplier setting.

Parameters:
int $isSupplier

Definition at line 196 of file Representative.inc.php.

Representative.setMonographId ( monographId  ) 

set monograph id.

Parameters:
$monographId int

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

Representative.setName ( name  ) 

Set the representative name.

Parameters:
string $name

Definition at line 116 of file Representative.inc.php.

Representative.setPhone ( phone  ) 

Set the representative phone.

Parameters:
string $phone

Definition at line 132 of file Representative.inc.php.

Representative.setRepresentativeIdType ( representativeIdType  ) 

Set the ONIX code for this representative's ID type (List92) (GLN, SAN, etc). GLN is the recommended one.

Parameters:
$representativeIdType string

Definition at line 76 of file Representative.inc.php.

Representative.setRepresentativeIdValue ( representativeIdValue  ) 

Set this representative's ID value.

Parameters:
$representativeIdValue string

Definition at line 92 of file Representative.inc.php.

Representative.setRole ( role  ) 

Set the ONIX code for this representative role (List93 for Suppliers, List69 for Agents)

Parameters:
$type string

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

Representative.setUrl ( url  ) 

Set the representative url.

Parameters:
string $url

Definition at line 180 of file Representative.inc.php.


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