Operations for retrieving and modifying a monograph's assigned disciplines. More...
Public Member Functions | |
| build ($monographId) | |
| getAllUniqueDisciplines () | |
| getDisciplines ($monographId, $locales) | |
| getLocaleFieldNames () | |
| getMonographIdsByDiscipline ($discipline) | |
| insertDisciplines ($disciplines, $monographId, $deleteFirst=true) | |
| MonographDisciplineDAO () | |
Operations for retrieving and modifying a monograph's assigned disciplines.
Definition at line 21 of file MonographDisciplineDAO.inc.php.
| MonographDisciplineDAO.build | ( | $ | monographId | ) |
Build/fetch a monograph discipline controlled vocabulary. $monographId int
Definition at line 34 of file MonographDisciplineDAO.inc.php.
Referenced by getDisciplines(), and insertDisciplines().
| MonographDisciplineDAO.getAllUniqueDisciplines | ( | ) |
Get an array of all of the monograph's disciplines
Definition at line 78 of file MonographDisciplineDAO.inc.php.
| MonographDisciplineDAO.getDisciplines | ( | $ | monographId, | |
| $ | locales | |||
| ) |
Get disciplines for a monograph.
| $monographId | int | |
| $locales | array |
Definition at line 52 of file MonographDisciplineDAO.inc.php.
References build().
| MonographDisciplineDAO.getLocaleFieldNames | ( | ) |
Get the list of localized additional fields to store.
Definition at line 42 of file MonographDisciplineDAO.inc.php.
| MonographDisciplineDAO.getMonographIdsByDiscipline | ( | $ | discipline | ) |
Get an array of monographIds that have a given discipline
| $content | string |
Definition at line 101 of file MonographDisciplineDAO.inc.php.
| MonographDisciplineDAO.insertDisciplines | ( | $ | disciplines, | |
| $ | monographId, | |||
| $ | deleteFirst = true | |||
| ) |
Add an array of disciplines
| $disciplines | array | |
| $monographId | int | |
| $deleteFirst | boolean |
Definition at line 128 of file MonographDisciplineDAO.inc.php.
References build().
| MonographDisciplineDAO.MonographDisciplineDAO | ( | ) |
Constructor
Definition at line 25 of file MonographDisciplineDAO.inc.php.
1.7.1