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