Open Journal Systems
3.3.0
|
Public Member Functions | |
build ($publicationId, $assocType=ASSOC_TYPE_PUBLICATION) | |
getAllUniqueSubjects () | |
getLocaleFieldNames () | |
getSubjects ($publicationId, $locales=[], $assocType=ASSOC_TYPE_PUBLICATION) | |
insertSubjects ($subjects, $publicationId, $deleteFirst=true, $assocType=ASSOC_TYPE_PUBLICATION) | |
Public Member Functions inherited from ControlledVocabDAO | |
_build ($symbolic, $assocType=0, $assocId=0) | |
_fromRow ($row) | |
deleteObject ($controlledVocab) | |
deleteObjectById ($controlledVocabId) | |
enumerate ($controlledVocabId, $settingName='name') | |
enumerateBySymbolic ($symbolic, $assocType, $assocId, $settingName='name') | |
getById ($controlledVocabId) | |
getBySymbolic ($symbolic, $assocType=0, $assocId=0) | |
getEntryDAO () | |
getInsertId () | |
insertObject ($controlledVocab, $dieOnError=true) | |
installXML ($filename) | |
newDataObject () | |
updateObject (&$controlledVocab) | |
Public Member Functions inherited from DAO | |
__construct ($dataSource=null, $callHooks=true) | |
concat () | |
convertFromDB ($value, $type) | |
convertToDB ($value, &$type) | |
dateFromDB ($d) | |
datetimeFromDB ($dt) | |
datetimeToDB ($dt) | |
dateToDB ($d) | |
flushCache () | |
formatDateToDB ($date, $defaultNumWeeks=null, $acceptPastDate=true) | |
getAdditionalFieldNames () | |
getAffectedRows () | |
getDataObjectSettings ($tableName, $idFieldName, $idFieldValue, $dataObject) | |
getDataSource () | |
getDirectionMapping ($direction) | |
getDriver () | |
getType ($value) | |
handleError ($dataSource, $sql) | |
nullOrInt ($value) | |
replace ($table, $arrFields, $keyCols) | |
& | retrieve ($sql, $params=false, $callHooks=true) |
& | retrieveCached ($sql, $params=false, $secsToCache=3600, $callHooks=true) |
& | retrieveLimit ($sql, $params=false, $numRows=false, $offset=false, $callHooks=true) |
& | retrieveRange ($sql, $params=false, $dbResultRange=null, $callHooks=true) |
setCacheDir () | |
setDataSource ($dataSource) | |
update ($sql, $params=false, $callHooks=true, $dieOnError=true) | |
updateDataObjectSettings ($tableName, $dataObject, $idArray) | |
Additional Inherited Members | |
Static Public Member Functions inherited from DAO | |
static | getDataChangedEvent ($elementId=null, $parentElementId=null, $content='') |
Data Fields inherited from DAO | |
$_dataSource | |
Protected Member Functions inherited from DAO | |
_getInsertId ($table='', $id='') | |
Operations for retrieving and modifying a submission's assigned subjects.
Definition at line 21 of file SubmissionSubjectDAO.inc.php.
SubmissionSubjectDAO::build | ( | $publicationId, | |
$assocType = ASSOC_TYPE_PUBLICATION |
|||
) |
Build/fetch and return a controlled vocabulary for subjects.
$publicationId | int |
$assocType | int DO NOT USE: For <3.1 to 3.x migration pkp/pkp-lib#3572 pkp/pkp-lib#6213 |
Definition at line 29 of file SubmissionSubjectDAO.inc.php.
Referenced by getSubjects(), and insertSubjects().
SubmissionSubjectDAO::getAllUniqueSubjects | ( | ) |
Get an array of all of the submission's Subjects
Definition at line 74 of file SubmissionSubjectDAO.inc.php.
References DAO\retrieve().
SubmissionSubjectDAO::getLocaleFieldNames | ( | ) |
Get the list of localized additional fields to store.
Reimplemented from DAO.
Definition at line 38 of file SubmissionSubjectDAO.inc.php.
SubmissionSubjectDAO::getSubjects | ( | $publicationId, | |
$locales = [] , |
|||
$assocType = ASSOC_TYPE_PUBLICATION |
|||
) |
Get Subjects for a submission.
$publicationId | int |
$locales | array |
$assocType | int DO NOT USE: For <3.1 to 3.x migration pkp/pkp-lib#6213 |
Definition at line 49 of file SubmissionSubjectDAO.inc.php.
References build(), and DAORegistry\getDAO().
SubmissionSubjectDAO::insertSubjects | ( | $subjects, | |
$publicationId, | |||
$deleteFirst = true , |
|||
$assocType = ASSOC_TYPE_PUBLICATION |
|||
) |
Add an array of subjects
$subjects | array |
$publicationId | int |
$deleteFirst | boolean |
$assocType | int DO NOT USE: For <3.1 to 3.x migration pkp/pkp-lib#3572 pkp/pkp-lib#6213 |
Definition at line 98 of file SubmissionSubjectDAO.inc.php.
References build(), and DAORegistry\getDAO().