Operations for retrieving and modifying a monograph's assigned agencies. More...
Public Member Functions | |
| build ($monographId) | |
| getAgencies ($monographId, $locales) | |
| getAllUniqueAgencies () | |
| getLocaleFieldNames () | |
| getMonographIdsByAgency ($agency) | |
| insertAgencies ($agencies, $monographId, $deleteFirst=true) | |
| MonographAgencyDAO () | |
Operations for retrieving and modifying a monograph's assigned agencies.
Definition at line 20 of file MonographAgencyDAO.inc.php.
| MonographAgencyDAO.build | ( | $ | monographId | ) |
Build/fetch and return a controlled vocabulary for agencies.
| $monographId | int |
Definition at line 33 of file MonographAgencyDAO.inc.php.
Referenced by getAgencies(), and insertAgencies().
| MonographAgencyDAO.getAgencies | ( | $ | monographId, | |
| $ | locales | |||
| ) |
Get agencies for a specified monograph ID.
| $monographId | int | |
| $locales | array |
Definition at line 51 of file MonographAgencyDAO.inc.php.
References build().
| MonographAgencyDAO.getAllUniqueAgencies | ( | ) |
Get an array of all of the monograph's agencies
Definition at line 75 of file MonographAgencyDAO.inc.php.
| MonographAgencyDAO.getLocaleFieldNames | ( | ) |
Get the list of localized additional fields to store.
Definition at line 41 of file MonographAgencyDAO.inc.php.
| MonographAgencyDAO.getMonographIdsByAgency | ( | $ | agency | ) |
Get an array of monographIds that have a given agency
| $content | string |
Definition at line 98 of file MonographAgencyDAO.inc.php.
| MonographAgencyDAO.insertAgencies | ( | $ | agencies, | |
| $ | monographId, | |||
| $ | deleteFirst = true | |||
| ) |
Add an array of agencies
| $agencies | array | |
| $monographId | int | |
| $deleteFirst | boolean |
Definition at line 125 of file MonographAgencyDAO.inc.php.
References build().
| MonographAgencyDAO.MonographAgencyDAO | ( | ) |
Constructor
Definition at line 24 of file MonographAgencyDAO.inc.php.
1.7.1