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