Operations for retrieving and modifying a monograph's assigned subjects. More...
Public Member Functions | |
| build ($monographId) | |
| getAllUniqueSubjects () | |
| getLocaleFieldNames () | |
| getMonographIdsBySubject ($subject) | |
| getSubjects ($monographId, $locales) | |
| insertSubjects ($subjects, $monographId, $deleteFirst=true) | |
| MonographSubjectDAO () | |
Operations for retrieving and modifying a monograph's assigned subjects.
Definition at line 20 of file MonographSubjectDAO.inc.php.
| MonographSubjectDAO.build | ( | $ | monographId | ) |
Build/fetch and return a controlled vocabulary for subjects.
| $monographId | int |
Definition at line 33 of file MonographSubjectDAO.inc.php.
Referenced by getSubjects(), and insertSubjects().
| MonographSubjectDAO.getAllUniqueSubjects | ( | ) |
Get an array of all of the monograph's Subjects
Definition at line 76 of file MonographSubjectDAO.inc.php.
| MonographSubjectDAO.getLocaleFieldNames | ( | ) |
Get the list of localized additional fields to store.
Definition at line 42 of file MonographSubjectDAO.inc.php.
| MonographSubjectDAO.getMonographIdsBySubject | ( | $ | subject | ) |
Get an array of monographIds that have a given subject
| $content | string |
Definition at line 99 of file MonographSubjectDAO.inc.php.
| MonographSubjectDAO.getSubjects | ( | $ | monographId, | |
| $ | locales | |||
| ) |
Get Subjects for a monograph.
| $monographId | int | |
| $locales | array |
Definition at line 52 of file MonographSubjectDAO.inc.php.
References build().
| MonographSubjectDAO.insertSubjects | ( | $ | subjects, | |
| $ | monographId, | |||
| $ | deleteFirst = true | |||
| ) |
Add an array of subjects
| $subjects | array | |
| $monographId | int | |
| $deleteFirst | boolean |
Definition at line 126 of file MonographSubjectDAO.inc.php.
References build().
| MonographSubjectDAO.MonographSubjectDAO | ( | ) |
Constructor
Definition at line 24 of file MonographSubjectDAO.inc.php.
1.7.1