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...
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) | |
Basic class describing a representative composite type (used on the ONIX templates for publication formats). This type is used for both Agents and Suppliers.
Definition at line 16 of file Representative.inc.php.
| Representative.getEmail | ( | ) |
Get the representative email address.
Definition at line 156 of file Representative.inc.php.
| Representative.getFax | ( | ) |
| Representative.getIsSupplier | ( | ) |
Get the representative's is_supplier setting.
Definition at line 188 of file Representative.inc.php.
Referenced by getNameForONIXCode().
| Representative.getMonographId | ( | ) |
| Representative.getName | ( | ) |
| Representative.getNameForONIXCode | ( | ) |
Get the human readable name for this ONIX code
Definition at line 60 of file Representative.inc.php.
References getIsSupplier(), and getRole().
| Representative.getPhone | ( | ) |
| Representative.getRepresentativeIdType | ( | ) |
Get the representative ID type (ONIX Code).
Definition at line 84 of file Representative.inc.php.
| Representative.getRepresentativeIdValue | ( | ) |
Get the representative ID value.
Definition at line 100 of file Representative.inc.php.
| Representative.getRole | ( | ) |
Get the ONIX code for this representative role.
Definition at line 52 of file Representative.inc.php.
Referenced by getNameForONIXCode().
| Representative.getUrl | ( | ) |
| Representative.Representative | ( | ) |
Constructor
Definition at line 20 of file Representative.inc.php.
| Representative.setEmail | ( | $ | ) |
Set the representative email address.
| string |
Definition at line 164 of file Representative.inc.php.
| Representative.setFax | ( | $ | fax | ) |
Set the representative fax.
| string | $fax |
Definition at line 148 of file Representative.inc.php.
| Representative.setIsSupplier | ( | $ | isSupplier | ) |
Set the representative's is_supplier setting.
| int | $isSupplier |
Definition at line 196 of file Representative.inc.php.
| Representative.setMonographId | ( | $ | monographId | ) |
set monograph id.
| $monographId | int |
Definition at line 36 of file Representative.inc.php.
| Representative.setName | ( | $ | name | ) |
Set the representative name.
| string | $name |
Definition at line 116 of file Representative.inc.php.
| Representative.setPhone | ( | $ | phone | ) |
Set the representative phone.
| 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.
| $representativeIdType | string |
Definition at line 76 of file Representative.inc.php.
| Representative.setRepresentativeIdValue | ( | $ | representativeIdValue | ) |
Set this representative's ID value.
| $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)
| $type | string |
Definition at line 44 of file Representative.inc.php.
| Representative.setUrl | ( | $ | url | ) |
Set the representative url.
| string | $url |
Definition at line 180 of file Representative.inc.php.
1.7.1