Open Journal Systems  3.3.0
DAO Class Reference
Inheritance diagram for DAO:
AccessKeyDAO AnnouncementTypeDAO AuthSourceDAO CategoryDAO CitationDAO ControlledVocabDAO ControlledVocabEntryDAO CountryDAO CurrencyDAO DataObjectTombstoneDAO DataObjectTombstoneSettingsDAO DepositDAO DepositObjectDAO DepositPointDAO EditDecisionDAO EmailLogDAO EventLogDAO FilterDAO FilterGroupDAO GenreDAO IssueDAO IssueFileDAO IssueGalleyDAO LanguageDAO LibraryFileDAO MarkupJobInfoDAO NavigationMenuDAO NavigationMenuItemAssignmentDAO NavigationMenuItemDAO NoteDAO NotificationDAO NotificationSettingsDAO NotificationSubscriptionSettingsDAO OJSCompletedPaymentDAO PKPMetricsDAO PKPOAIDAO PKPSectionDAO PluginGalleryDAO PluginSettingsDAO QueryDAO QueuedPaymentDAO RepresentationDAO ReviewAssignmentDAO ReviewFilesDAO ReviewFormDAO ReviewFormElementDAO ReviewFormResponseDAO ReviewReportDAO ReviewRoundDAO RoleDAO ScheduledTaskDAO SchemaDAO SessionDAO SettingsDAO SiteDAO StageAssignmentDAO StaticPagesDAO SubEditorsDAO SubmissionCommentDAO SubmissionFileDAO SubmissionFileDAODelegate SubmissionSearchDAO SubscriptionDAO SubscriptionTypeDAO TemporaryFileDAO TimeZoneDAO UsageStatsTemporaryRecordDAO UserDAO UserGroupAssignmentDAO UserGroupDAO UserSettingsDAO VersionDAO ViewsDAO WorkflowStageDAO

Public Member Functions

 __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 ()
 
 getLocaleFieldNames ()
 
 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)
 

Static Public Member Functions

static getDataChangedEvent ($elementId=null, $parentElementId=null, $content='')
 

Data Fields

 $_dataSource
 

Protected Member Functions

 _getInsertId ($table='', $id='')
 

Detailed Description

Operations for retrieving and modifying objects from a database.

See also
DAORegistry

Definition at line 31 of file DAO.inc.php.

Constructor & Destructor Documentation

◆ __construct()

DAO::__construct (   $dataSource = null,
  $callHooks = true 
)

Constructor. Initialize the database connection.

Definition at line 63 of file DAO.inc.php.

References HookRegistry\call(), DBConnection\getConn(), setDataSource(), and strtolower_codesafe().

Member Function Documentation

◆ _getInsertId()

DAO::_getInsertId (   $table = '',
  $id = '' 
)
protected

Return the last ID inserted in an autonumbered field.

Parameters
$tablestring table name
$idstring the ID/key column in the table
Returns
int

Definition at line 255 of file DAO.inc.php.

References getDataSource().

Referenced by QueuedPaymentDAO\getInsertId(), SubscriptionDAO\getInsertId(), OJSCompletedPaymentDAO\getInsertId(), MarkupJobInfoDAO\getInsertId(), DepositDAO\getInsertId(), PKPAuthorDAO\getInsertId(), SubmissionCommentDAO\getInsertId(), StaticPagesDAO\getInsertId(), TemporaryFileDAO\getInsertId(), UserGroupDAO\getInsertId(), DataObjectTombstoneDAO\getInsertId(), EventLogDAO\getInsertId(), IssueFileDAO\getInsertId(), EmailLogDAO\getInsertId(), PKPSubmissionDAO\getInsertId(), AccessKeyDAO\getInsertId(), NavigationMenuDAO\getInsertId(), ReviewRoundDAO\getInsertId(), NotificationDAO\getInsertId(), LibraryFileDAO\getInsertId(), DepositPointDAO\getInsertId(), AnnouncementTypeDAO\getInsertId(), AnnouncementDAO\getInsertId(), NoteDAO\getInsertId(), NavigationMenuItemAssignmentDAO\getInsertId(), StageAssignmentDAO\getInsertId(), NavigationMenuItemDAO\getInsertId(), DepositObjectDAO\getInsertId(), ReviewFormElementDAO\getInsertId(), ReviewFormDAO\getInsertId(), QueryDAO\getInsertId(), GenreDAO\getInsertId(), SubscriptionTypeDAO\getInsertId(), IssueDAO\getInsertId(), IssueGalleyDAO\getInsertId(), CategoryDAO\getInsertId(), SectionDAO\getInsertId(), ReviewAssignmentDAO\getInsertId(), UserDAO\getInsertId(), SubmissionSearchDAO\insertKeyword(), SubmissionFileDAODelegate\insertObject(), SubmissionSearchDAO\insertObject(), and AuthSourceDAO\insertObject().

◆ concat()

DAO::concat ( )

Concatenation.

Definition at line 54 of file DAO.inc.php.

References getDataSource().

Referenced by UserGroupDAO\_getSearchSql().

◆ convertFromDB()

◆ convertToDB()

◆ dateFromDB()

DAO::dateFromDB (   $d)

Return date from DB as ISO date string.

Parameters
$dstring date from DB
Returns
string

Definition at line 329 of file DAO.inc.php.

References getDataSource().

Referenced by SubscriptionDAO\_fromRow().

◆ datetimeFromDB()

◆ datetimeToDB()

DAO::datetimeToDB (   $dt)

Return datetime formatted for DB insertion.

Parameters
$dtint/string *nix timestamp or ISO datetime string
Returns
string

Definition at line 299 of file DAO.inc.php.

References getDataSource().

Referenced by SubscriptionDAO\_generateSearchSQL(), OAIDAO\_getRecordsRecordSet(), SubscriptionDAO\_insertObject(), SubscriptionDAO\_updateObject(), AccessKeyDAO\deleteExpiredKeys(), AccessKeyDAO\getAccessKey(), AccessKeyDAO\getAccessKeyByKeyHash(), AccessKeyDAO\getAccessKeyByUserId(), TemporaryFileDAO\getExpiredFiles(), ArticleSearchDAO\getPhraseResults(), SubmissionFileDAODelegate\insertObject(), QueuedPaymentDAO\insertObject(), OJSCompletedPaymentDAO\insertObject(), DepositDAO\insertObject(), TemporaryFileDAO\insertObject(), IssueFileDAO\insertObject(), EventLogDAO\insertObject(), AccessKeyDAO\insertObject(), NotificationDAO\insertObject(), EmailLogDAO\insertObject(), DataObjectTombstoneDAO\insertObject(), SubmissionCommentDAO\insertObject(), NoteDAO\insertObject(), StageAssignmentDAO\insertObject(), DepositObjectDAO\insertObject(), ReviewAssignmentDAO\insertObject(), IssueDAO\insertObject(), VersionDAO\insertVersion(), NotificationDAO\setDateRead(), EditDecisionDAO\updateEditorDecision(), ScheduledTaskDAO\updateLastRunTime(), QueuedPaymentDAO\updateObject(), OJSCompletedPaymentDAO\updateObject(), DepositDAO\updateObject(), TemporaryFileDAO\updateObject(), SubmissionFileDAODelegate\updateObject(), IssueFileDAO\updateObject(), AccessKeyDAO\updateObject(), DataObjectTombstoneDAO\updateObject(), LibraryFileDAO\updateObject(), SubmissionCommentDAO\updateObject(), NoteDAO\updateObject(), StageAssignmentDAO\updateObject(), DepositObjectDAO\updateObject(), ReviewAssignmentDAO\updateObject(), IssueDAO\updateObject(), and ReviewerSubmissionDAO\updateReviewerSubmission().

◆ dateToDB()

DAO::dateToDB (   $d)

Return date formatted for DB insertion.

Parameters
$dint/string *nix timestamp or ISO date string
Returns
string

Definition at line 309 of file DAO.inc.php.

References getDataSource().

Referenced by SubscriptionDAO\_insertObject(), SubscriptionDAO\_updateObject(), IndividualSubscriptionDAO\isValidIndividualSubscription(), and InstitutionalSubscriptionDAO\isValidInstitutionalSubscription().

◆ flushCache()

◆ formatDateToDB()

DAO::formatDateToDB (   $date,
  $defaultNumWeeks = null,
  $acceptPastDate = true 
)

Format a passed date (in English textual datetime) to Y-m-d H:i:s format, used in database.

Parameters
$datestring Any English textual datetime.
$defaultNumWeeksint If passed and date is null, used to calculate a data in future from today.
$acceptPastDateboolean Will not accept past dates, returning today if false and the passed date is in the past.
Returns
string or null

Definition at line 676 of file DAO.inc.php.

◆ getAdditionalFieldNames()

DAO::getAdditionalFieldNames ( )

Get a list of additional field names to store in this DAO. This can be used to extend the table with virtual "columns", typically using the ..._settings table.

Returns
array List of strings representing field names.

Reimplemented in FilterDAO, UserDAO, IssueDAO, SubmissionFileDAODelegate, IssueGalleyDAO, UserGroupDAO, CategoryDAO, NavigationMenuItemDAO, CitationDAO, SupplementaryFileDAODelegate, and InterestEntryDAO.

Definition at line 454 of file DAO.inc.php.

References HookRegistry\call(), and strtolower_codesafe().

Referenced by updateDataObjectSettings().

◆ getAffectedRows()

DAO::getAffectedRows ( )

Return the number of affected rows by the last UPDATE or DELETE.

Returns
int (or false if not supported)

Definition at line 264 of file DAO.inc.php.

References getDataSource().

Referenced by DataObjectTombstoneDAO\deleteById(), EventLogDAO\deleteById(), NotificationDAO\deleteById(), QueryDAO\deleteById(), CategoryDAO\deleteById(), IssueGalleyDAO\deleteById(), DataObjectTombstoneDAO\deleteOAISetObjects(), and ScheduledTaskDAO\updateLastRunTime().

◆ getDataChangedEvent()

static DAO::getDataChangedEvent (   $elementId = null,
  $parentElementId = null,
  $content = '' 
)
static

Generate a JSON message with an event that can be sent to the client to refresh itself according to changes in the DB.

Parameters
$elementIdstring (Optional) To refresh a single element give the element ID here. Otherwise all elements will be refreshed.
$parentElementIdstring (Optional) To refresh a single element that is associated with another one give the parent element ID here.
$contentmixed (Optional) Additional content to pass back to the handler of the JSON message.
Returns
JSONMessage

Definition at line 647 of file DAO.inc.php.

Referenced by PKPEditorDecisionHandler\_saveEditorDecision(), ReviewFormGridHandler\activateReviewForm(), SectionGridHandler\activateSection(), QueriesGridHandler\closeQuery(), ReviewFormGridHandler\copyReviewForm(), ReviewFormGridHandler\deactivateReviewForm(), SectionGridHandler\deactivateSection(), SwordDepositPointsGridHandler\delete(), StaticPageGridHandler\delete(), IssueGalleyGridHandler\delete(), AnnouncementTypeGridHandler\deleteAnnouncementType(), AuthorGridHandler\deleteAuthor(), CategoryCategoryGridHandler\deleteCategory(), ContextGridHandler\deleteContext(), CustomBlockGridHandler\deleteCustomBlock(), PKPManageFileApiHandler\deleteFile(), LibraryFileGridHandler\deleteFile(), ArticleGalleyGridHandler\deleteGalley(), GenreGridHandler\deleteGenre(), IssueGridHandler\deleteIssue(), SubmissionChecklistGridHandler\deleteItem(), NavigationMenusGridHandler\deleteNavigationMenu(), NavigationMenuItemsGridHandler\deleteNavigationMenuItem(), QueryNotesGridHandler\deleteNote(), NotificationsGridHandler\deleteNotifications(), StageParticipantGridHandler\deleteParticipant(), PluginGridHandler\deletePlugin(), QueriesGridHandler\deleteQuery(), ReviewFormGridHandler\deleteReviewForm(), ReviewFormElementsGridHandler\deleteReviewFormElement(), SectionGridHandler\deleteSection(), IndividualSubscriptionsGridHandler\deleteSubscription(), InstitutionalSubscriptionsGridHandler\deleteSubscription(), SubscriptionTypesGridHandler\deleteSubscriptionType(), PluginGridHandler\disable(), AdminLanguageGridHandler\disableLocale(), UserGridHandler\disableUser(), PluginGridHandler\enable(), FileApiHandler\enableLinkAction(), AdminLanguageGridHandler\enableLocale(), UploadImageForm\execute(), QueryNotesGridHandler\insertNote(), PKPAcronPlugin\manage(), NotificationsGridHandler\markNew(), NotificationsGridHandler\markRead(), QueriesGridHandler\openQuery(), IssueGridHandler\publishIssue(), ManageLanguageGridHandler\reloadLocale(), TocGridHandler\removeArticle(), UserGridHandler\removeUser(), UserGroupGridHandler\removeUserGroup(), SubscriptionsGridHandler\renewSubscription(), PLNStatusGridHandler\resetDeposit(), GenreGridHandler\restoreGenres(), PKPReviewerGridHandler\reviewRead(), LibraryFileGridHandler\saveFile(), AdminLanguageGridHandler\saveInstallLocale(), LanguageGridHandler\saveLanguageSetting(), PKPManageFileApiHandler\saveMetadata(), StageParticipantGridHandler\saveParticipant(), GridHandler\saveSequence(), PKPReviewerHandler\saveStep(), CriticalTimesIssueTocHandler\saveToc(), PluginGridHandler\saveUploadPlugin(), TocGridHandler\setAccessStatus(), LanguageGridHandler\setContextPrimaryLocale(), AdminLanguageGridHandler\setPrimaryLocale(), PKPReviewerGridHandler\thankReviewer(), PKPReviewerGridHandler\unconsiderReview(), AdminLanguageGridHandler\uninstallLocale(), IssueGalleyGridHandler\update(), IssueGridHandler\updateAccess(), AnnouncementTypeGridHandler\updateAnnouncementType(), AuthorGridHandler\updateAuthor(), CategoryCategoryGridHandler\updateCategory(), ManageCopyeditFilesGridHandler\updateCopyeditFiles(), CustomBlockGridHandler\updateCustomBlock(), SwordDepositPointsGridHandler\updateDepositPoint(), LibraryFileGridHandler\updateFile(), ManageFinalDraftFilesGridHandler\updateFinalDraftFiles(), ArticleGalleyGridHandler\updateGalley(), GenreGridHandler\updateGenre(), ManageFileApiHandler\updateIdentifiers(), ArticleGalleyGridHandler\updateIdentifiers(), IssueGridHandler\updateIdentifiers(), IssueGridHandler\updateIssue(), SubmissionChecklistGridHandler\updateItem(), NavigationMenusGridHandler\updateNavigationMenu(), NavigationMenuItemsGridHandler\updateNavigationMenuItem(), ManageProofFilesGridHandler\updateProofFiles(), QueriesGridHandler\updateQuery(), ManageQueryNoteFilesGridHandler\updateQueryNoteFiles(), PKPReviewerGridHandler\updateReinstateReviewer(), PKPReviewerGridHandler\updateReview(), PKPReviewerGridHandler\updateReviewer(), ManageReviewFilesGridHandler\updateReviewFiles(), ReviewFormGridHandler\updateReviewForm(), ReviewFormElementsGridHandler\updateReviewFormElement(), SectionGridHandler\updateSection(), StaticPageGridHandler\updateStaticPage(), IndividualSubscriptionsGridHandler\updateSubscription(), InstitutionalSubscriptionsGridHandler\updateSubscription(), SubscriptionTypesGridHandler\updateSubscriptionType(), PKPReviewerGridHandler\updateUnassignReviewer(), UserGridHandler\updateUser(), UserGroupGridHandler\updateUserGroup(), and UserGridHandler\updateUserRoles().

◆ getDataObjectSettings()

DAO::getDataObjectSettings (   $tableName,
  $idFieldName,
  $idFieldValue,
  $dataObject 
)

◆ getDataSource()

◆ getDirectionMapping()

DAO::getDirectionMapping (   $direction)

Get the driver for this connection.

Parameters
$directionint
Returns
string

Definition at line 621 of file DAO.inc.php.

◆ getDriver()

DAO::getDriver ( )

Get the driver for this connection.

Returns
string

Definition at line 611 of file DAO.inc.php.

References DBConnection\getInstance().

Referenced by PKPPublicationDAO\deleteAllPubIds().

◆ getLocaleFieldNames()

◆ getType()

DAO::getType (   $value)

Get the type of a value to be stored in the database

Parameters
$valuestring
Returns
string

Definition at line 375 of file DAO.inc.php.

Referenced by convertToDB().

◆ handleError()

DAO::handleError (   $dataSource,
  $sql 
)

Definition at line 702 of file DAO.inc.php.

Referenced by retrieve(), retrieveCached(), retrieveLimit(), retrieveRange(), and update().

◆ nullOrInt()

DAO::nullOrInt (   $value)

Cast the given parameter to an int, or leave it null.

Parameters
$valuemixed
Returns
string|null

Definition at line 444 of file DAO.inc.php.

Referenced by IssueDAO\issueExists().

◆ replace()

DAO::replace (   $table,
  $arrFields,
  $keyCols 
)

◆ retrieve()

& DAO::retrieve (   $sql,
  $params = false,
  $callHooks = true 
)

Execute a SELECT SQL statement.

Parameters
$sqlstring the SQL statement
$paramsarray parameters for the SQL statement
Returns
ADORecordSet

Definition at line 85 of file DAO.inc.php.

References HookRegistry\call(), getDataSource(), handleError(), Core\microtime(), and strtolower_codesafe().

Referenced by FilterDAO\_deleteSubFiltersByParentFilterId(), EmailTemplateDAO\_fromRow(), InstitutionalSubscriptionDAO\_fromRow(), StageAssignmentDAO\_getByIds(), UsageStatsTemporaryRecordDAO\_getGrouped(), OAIDAO\_getRecordsRecordSet(), ReviewAssignmentDAO\_getReviewAssignmentsArray(), UserStageAssignmentDAO\_getUsersByIds(), FilterDAO\_populateSubFilters(), AnnouncementTypeDAO\announcementTypeExistsByTypeId(), EventLogDAO\build(), CategoryDAO\categoryExistsByPath(), UserDAO\changeSitePrimaryLocale(), ReviewFilesDAO\check(), UserGroupDAO\contextHasGroup(), DepositObjectDAO\createNew(), IssueDAO\customIssueOrderingExists(), SectionDAO\customSectionOrderingExists(), UserGroupAssignmentDAO\deleteAssignmentsByContextId(), UserGroupDAO\deleteByContextId(), SubscriptionTypeDAO\deleteByJournal(), IndividualSubscriptionDAO\deleteByJournalId(), InstitutionalSubscriptionDAO\deleteByJournalId(), ReviewAssignmentDAO\deleteBySubmissionId(), IndividualSubscriptionDAO\deleteByTypeId(), InstitutionalSubscriptionDAO\deleteByTypeId(), IndividualSubscriptionDAO\deleteByUserId(), InstitutionalSubscriptionDAO\deleteByUserId(), IndividualSubscriptionDAO\deleteByUserIdForJournal(), InstitutionalSubscriptionDAO\deleteByUserIdForJournal(), SubmissionFileDAODelegate\deleteObject(), SubmissionSearchDAO\deleteSubmissionKeywords(), DepositPointDAO\depositPointExists(), StageAssignmentDAO\editorAssignedToStage(), SubEditorsDAO\editorExists(), ControlledVocabDAO\enumerate(), ContextDAO\existsByPath(), LibraryFileDAO\filenameExists(), AccessKeyDAO\getAccessKey(), AccessKeyDAO\getAccessKeyByKeyHash(), AccessKeyDAO\getAccessKeyByUserId(), SubmissionAgencyDAO\getAllUniqueAgencies(), SubmissionDisciplineDAO\getAllUniqueDisciplines(), SubmissionKeywordDAO\getAllUniqueKeywords(), SubmissionLanguageDAO\getAllUniqueLanguages(), SubmissionSubjectDAO\getAllUniqueSubjects(), AnnouncementDAO\getAnnouncementAssocId(), AnnouncementDAO\getAnnouncementAssocType(), AnnouncementTypeDAO\getAnnouncementTypeAssocId(), AnnouncementTypeDAO\getAnnouncementTypeName(), UserGroupDAO\getAssignedStagesByUserGroupId(), SectionDAO\getByAbbrev(), NavigationMenuDAO\getByArea(), QueryDAO\getByAssoc(), NoteDAO\getByAssoc(), OJSCompletedPaymentDAO\getByAssoc(), ArticleGalleyDAO\getByBestGalleyId(), IssueGalleyDAO\getByBestId(), IssueDAO\getByBestId(), LibraryFileDAO\getByContextId(), NavigationMenuDAO\getByContextId(), NavigationMenuItemDAO\getByContextId(), ArticleGalleyDAO\getByContextId(), ControlledVocabEntryDAO\getByContextId(), PKPSubmissionDAO\getByContextId(), DataObjectTombstoneDAO\getByDataObjectId(), DepositObjectDAO\getByDepositId(), ArticleGalleyDAO\getByFileId(), DepositObjectDAO\getById(), StaticPagesDAO\getById(), NavigationMenuItemDAO\getById(), StageAssignmentDAO\getById(), GenreDAO\getById(), IndividualSubscriptionDAO\getById(), OJSCompletedPaymentDAO\getById(), CategoryDAO\getById(), QueuedPaymentDAO\getById(), IssueGalleyDAO\getById(), LibraryFileDAO\getById(), NotificationDAO\getById(), ReviewFormElementDAO\getById(), EventLogDAO\getById(), NavigationMenuItemAssignmentDAO\getById(), QueryDAO\getById(), ReviewFormDAO\getById(), EmailLogDAO\getById(), DepositDAO\getById(), InstitutionalSubscriptionDAO\getById(), ControlledVocabDAO\getById(), SubscriptionTypeDAO\getById(), NavigationMenuDAO\getById(), ControlledVocabEntryDAO\getById(), DataObjectTombstoneDAO\getById(), AnnouncementTypeDAO\getById(), NoteDAO\getById(), UserDAO\getById(), DepositPointDAO\getById(), IssueFileDAO\getById(), PKPAuthorDAO\getById(), IssueDAO\getById(), SchemaDAO\getById(), SectionDAO\getById(), AnnouncementDAO\getById(), CitationDAO\getById(), SubmissionCommentDAO\getById(), ReviewAssignmentDAO\getById(), ReviewRoundDAO\getById(), UserGroupDAO\getById(), InterestEntryDAO\getByIds(), IssueGalleyDAO\getByIssueId(), SectionDAO\getByIssueId(), GenreDAO\getByKey(), NavigationMenuItemAssignmentDAO\getByMenuId(), NavigationMenuItemDAO\getByMenuId(), NavigationMenuItemAssignmentDAO\getByMenuIdAndParentId(), NavigationMenuItemAssignmentDAO\getByMenuItemId(), NavigationMenuItemAssignmentDAO\getByNMIIdAndMenuIdAndParentId(), NavigationMenuItemDAO\getByPath(), CategoryDAO\getByPath(), ContextDAO\getByPath(), StaticPagesDAO\getByPath(), IssueGalleyDAO\getByPubId(), PKPSubmissionDAO\getByPubId(), PKPAuthorDAO\getByPublicationId(), CategoryDAO\getByPublicationId(), ArticleGalleyDAO\getByPublicationId(), ReviewAssignmentDAO\getByReviewFormId(), ControlledVocabEntryDAO\getBySetting(), UserDAO\getBySetting(), IssueDAO\getBySetting(), ContextDAO\getBySetting(), ReviewRoundDAO\getBySubmissionFileId(), SubEditorsDAO\getBySubmissionGroupId(), LibraryFileDAO\getBySubmissionId(), SectionDAO\getBySubmissionId(), ReviewRoundDAO\getBySubmissionId(), IssueDAO\getBySubmissionId(), ControlledVocabDAO\getBySymbolic(), CategoryDAO\getByTitle(), NavigationMenuDAO\getByTitle(), SectionDAO\getByTitle(), NavigationMenuItemDAO\getByType(), NavigationMenuItemDAO\getByTypeAndTitleLocaleKey(), AnnouncementTypeDAO\getByTypeName(), StageAssignmentDAO\getByUserGroupId(), SubmissionCommentDAO\getByUserId(), UserGroupAssignmentDAO\getByUserId(), RoleDAO\getByUserId(), ReviewAssignmentDAO\getByUserId(), UserGroupDAO\getByUserId(), UserDAO\getByUsername(), DepositDAO\getByUUID(), UserGroupDAO\getContextUsersCount(), CategoryDAO\getCountByContextId(), IssueDAO\getCurrent(), VersionDAO\getCurrentProducts(), ReviewRoundDAO\getCurrentRoundBySubmissionId(), VersionDAO\getCurrentVersion(), IssueDAO\getCustomIssueOrder(), SectionDAO\getCustomSectionOrder(), getDataObjectSettings(), AuthSourceDAO\getDefaultSource(), EditDecisionDAO\getEditorDecisions(), SectionDAO\getEditorSections(), SectionDAO\getEmptyByJournalId(), TemporaryFileDAO\getExpiredFiles(), SubmissionFileDAO\getFileIdsBySetting(), ArticleGalleyDAO\getGalleysBySetting(), ReviewAssignmentDAO\getIncompleteReviewAssignments(), IssueDAO\getIssuesByIdentification(), ScheduledTaskDAO\getLastRunTime(), ViewsDAO\getLastViewDate(), SubmissionFileDAO\getLatestRevisionNumber(), PKPMetricsDAO\getLoadId(), MarkupJobInfoDAO\getMarkupJobInfo(), MarkupJobInfoDAO\getMarkupJobInfobyFileId(), PKPMetricsDAO\getMetrics(), AnnouncementDAO\getMostRecentAnnouncementByAssocId(), DepositDAO\getNeedPackaging(), DepositDAO\getNeedStagingStatusUpdate(), DepositDAO\getNeedTransferring(), DepositObjectDAO\getNew(), DepositDAO\getNew(), IssueGalleyDAO\getNextGalleySequence(), NotificationDAO\getNotificationCount(), NotificationSettingsDAO\getNotificationSettings(), NotificationSubscriptionSettingsDAO\getNotificationSubscriptionSettings(), IssueDAO\getNumArticles(), DataObjectTombstoneDAO\getOAISetObjectsIds(), FilterGroupDAO\getObjectById(), FilterDAO\getObjectById(), FilterGroupDAO\getObjectBySymbolic(), FilterDAO\getObjectsByClass(), FilterDAO\getObjectsByGroup(), FilterDAO\getObjectsByGroupAndClass(), FilterDAO\getObjectsByTypeDescription(), QueryDAO\getParticipantIds(), UserGroupDAO\getPermitMetadataEditGroupIds(), PluginSettingsDAO\getPluginSettings(), IssueDAO\getPublishedIssuesByNumber(), UserGroupDAO\getRecommendOnlyGroupIds(), ReviewFormElementDAO\getRequiredReviewFormElementIds(), ReviewAssignmentDAO\getReviewAssignment(), SubmissionCommentDAO\getReviewerCommentsByReviewerId(), UserDAO\getReviewersForSubmission(), ReviewerSubmissionDAO\getReviewerSubmission(), ReviewFormResponseDAO\getReviewFormResponse(), ReviewAssignmentDAO\getReviewIndexesForRound(), ReviewReportDAO\getReviewReport(), ReviewRoundDAO\getReviewRound(), NotificationSubscriptionSettingsDAO\getRSSTokenByUserId(), SessionDAO\getSession(), DataObjectTombstoneDAO\getSets(), DataObjectTombstoneSettingsDAO\getSetting(), UserSettingsDAO\getSetting(), NavigationMenuItemDAO\getSetting(), UserGroupDAO\getSetting(), UserSettingsDAO\getSettingsByContextId(), SiteDAO\getSite(), AuthSourceDAO\getSource(), IndividualSubscriptionDAO\getStatusCount(), InstitutionalSubscriptionDAO\getStatusCount(), SubmissionCommentDAO\getSubmissionComments(), SubscriptionDAO\getSubscriptionJournalId(), SubscriptionTypeDAO\getSubscriptionTypeDisablePublicDisplay(), SubscriptionTypeDAO\getSubscriptionTypeInstitutional(), SubscriptionTypeDAO\getSubscriptionTypeMembership(), SubscriptionTypeDAO\getSubscriptionTypeName(), PKPOAIDAO\getToken(), UserDAO\getUserByAuthStr(), UserDAO\getUserByCredentials(), UserDAO\getUserByEmail(), UserGroupDAO\getUserGroupIdsByRoleId(), NotificationSubscriptionSettingsDAO\getUserIdByRSSToken(), InterestDAO\getUserIdsByInterest(), UserSettingsDAO\getUsersBySetting(), UserStageAssignmentDAO\getUsersNotAssignedToStageInUserGroup(), VersionDAO\getVersionHistory(), PKPMetricsDAO\hasRecord(), SubmissionSearchDAO\insertKeyword(), CitationDAO\insertObject(), SubmissionSearchDAO\insertObject(), PKPOAIDAO\insertToken(), UserGroupDAO\isDefault(), IssueDAO\issueExists(), IssueDAO\issueIdExists(), IndividualSubscriptionDAO\isValidIndividualSubscription(), InstitutionalSubscriptionDAO\isValidInstitutionalSubscription(), SettingsDAO\loadSettings(), DepositObjectDAO\markHavingUpdatedContent(), IssueDAO\moveCustomIssueOrder(), NavigationMenuDAO\navigationMenuExistsByTitle(), NoteDAO\notesExistByAssoc(), IssueGalleyDAO\pubIdExists(), ArticleGalleyDAO\pubIdExists(), PKPPublicationDAO\pubIdExists(), SubmissionFileDAODelegate\pubIdExists(), IssueDAO\pubIdExists(), ContextDAO\resequence(), ControlledVocabEntryDAO\resequence(), QueryDAO\resequence(), IssueGalleyDAO\resequence(), CategoryDAO\resequenceCategories(), IssueDAO\resequenceCustomIssueOrders(), SectionDAO\resequenceCustomSectionOrders(), DepositPointDAO\resequenceDepositPoints(), ReviewFormElementDAO\resequenceReviewFormElements(), ReviewFormDAO\resequenceReviewForms(), SectionDAO\resequenceSections(), SubscriptionTypeDAO\resequenceSubscriptionTypes(), retrieveRange(), ReviewAssignmentDAO\reviewerExists(), ReviewFormElementDAO\reviewFormElementExists(), ReviewFormDAO\reviewFormExists(), ReviewFormResponseDAO\reviewFormResponseExists(), SectionDAO\sectionExists(), SessionDAO\sessionExistsById(), PluginSettingsDAO\settingExists(), IndividualSubscriptionDAO\subscriptionExists(), InstitutionalSubscriptionDAO\subscriptionExists(), InstitutionalSubscriptionDAO\subscriptionExistsByInstitutionName(), IndividualSubscriptionDAO\subscriptionExistsByUser(), InstitutionalSubscriptionDAO\subscriptionExistsByUser(), IndividualSubscriptionDAO\subscriptionExistsByUserForJournal(), InstitutionalSubscriptionDAO\subscriptionExistsByUserForJournal(), SubscriptionTypeDAO\subscriptionTypeExistsByTypeId(), SubscriptionTypeDAO\subscriptionTypesExistByInstitutional(), NoteDAO\unreadNotesExistByAssoc(), ScheduledTaskDAO\updateLastRunTime(), UserSettingsDAO\updateSetting(), UserGroupDAO\userAssignmentExists(), UserDAO\userExistsByEmail(), UserDAO\userExistsByUsername(), UserGroupDAO\userGroupAssignedToStage(), RoleDAO\userHasRole(), UserGroupDAO\userInAnyGroup(), and UserGroupDAO\userInGroup().

◆ retrieveCached()

& DAO::retrieveCached (   $sql,
  $params = false,
  $secsToCache = 3600,
  $callHooks = true 
)

Execute a cached SELECT SQL statement.

Parameters
$sqlstring the SQL statement
$paramsarray parameters for the SQL statement
Returns
ADORecordSet

Definition at line 115 of file DAO.inc.php.

References HookRegistry\call(), getDataSource(), handleError(), Core\microtime(), setCacheDir(), and strtolower_codesafe().

Referenced by ArticleSearchDAO\getPhraseResults().

◆ retrieveLimit()

& DAO::retrieveLimit (   $sql,
  $params = false,
  $numRows = false,
  $offset = false,
  $callHooks = true 
)

Execute a SELECT SQL statement with LIMIT on the rows returned.

Parameters
$sqlstring the SQL statement
$paramsarray parameters for the SQL statement
$numRowsint maximum number of rows to return in the result set
$offsetint row offset in the result set
Returns
ADORecordSet

Definition at line 148 of file DAO.inc.php.

References HookRegistry\call(), getDataSource(), handleError(), Core\microtime(), and strtolower_codesafe().

Referenced by ReviewRoundDAO\getLastReviewRoundBySubmissionId(), ReviewAssignmentDAO\getLastReviewRoundReviewAssignmentByReviewer(), and TemporaryFileDAO\getTemporaryFile().

◆ retrieveRange()

& DAO::retrieveRange (   $sql,
  $params = false,
  $dbResultRange = null,
  $callHooks = true 
)

Execute a SELECT SQL statment, returning rows in the range supplied.

Parameters
$sqlstring the SQL statement
$paramsarray parameters for the SQL statement
$dbResultRangeDBResultRange object describing the desired range

Definition at line 176 of file DAO.inc.php.

References HookRegistry\call(), getDataSource(), handleError(), Core\microtime(), retrieve(), and strtolower_codesafe().

Referenced by EmailLogDAO\_getByEventType(), UserStageAssignmentDAO\filterUsersNotAssignedToStageInUserGroup(), ReviewFormDAO\getActiveByAssocId(), ContextDAO\getAll(), IndividualSubscriptionDAO\getAll(), InstitutionalSubscriptionDAO\getAll(), SectionDAO\getAll(), AnnouncementDAO\getAnnouncementsNotExpiredByAssocId(), AuthorDAO\getAuthorsAlphabetizedByJournal(), ContextDAO\getAvailable(), EventLogDAO\getByAssoc(), NotificationDAO\getByAssoc(), EmailLogDAO\getByAssoc(), AnnouncementTypeDAO\getByAssoc(), AnnouncementDAO\getByAssocId(), ReviewFormDAO\getByAssocId(), StaticPagesDAO\getByContextId(), GenreDAO\getByContextId(), OJSCompletedPaymentDAO\getByContextId(), DepositPointDAO\getByContextId(), CategoryDAO\getByContextId(), UserGroupDAO\getByContextId(), SectionDAO\getByContextId(), SubmissionSubjectEntryDAO\getByControlledVocabId(), SubmissionAgencyEntryDAO\getByControlledVocabId(), SubmissionDisciplineEntryDAO\getByControlledVocabId(), SubmissionKeywordEntryDAO\getByControlledVocabId(), SubmissionLanguageEntryDAO\getByControlledVocabId(), InterestEntryDAO\getByControlledVocabId(), ControlledVocabEntryDAO\getByControlledVocabId(), IndividualSubscriptionDAO\getByDateEnd(), InstitutionalSubscriptionDAO\getByDateEnd(), GenreDAO\getByDependenceAndContextId(), SubscriptionTypeDAO\getByInstitutional(), InstitutionalSubscriptionDAO\getByInstitutionName(), DepositDAO\getByJournalId(), SubscriptionTypeDAO\getByJournalId(), InstitutionalSubscriptionDAO\getByJournalId(), IndividualSubscriptionDAO\getByJournalId(), CategoryDAO\getByParentId(), CitationDAO\getByPublicationId(), ReviewFormElementDAO\getByReviewFormId(), UserGroupDAO\getByRoleId(), GenreDAO\getBySupplementaryAndContextId(), AnnouncementDAO\getByTypeId(), NoteDAO\getByUserId(), NotificationDAO\getByUserId(), InstitutionalSubscriptionDAO\getByUserId(), IndividualSubscriptionDAO\getByUserId(), OJSCompletedPaymentDAO\getByUserId(), IndividualSubscriptionDAO\getByUserIdForJournal(), InstitutionalSubscriptionDAO\getByUserIdForJournal(), GenreDAO\getEnabledByContextId(), ArticleGalleyDAO\getExportable(), PKPSubmissionDAO\getExportable(), IssueDAO\getExportable(), IssueDAO\getIssues(), PKPMetricsDAO\getMetrics(), AnnouncementDAO\getNumAnnouncementsByAssocId(), AnnouncementDAO\getNumAnnouncementsNotExpiredByAssocId(), GenreDAO\getPrimaryByContextId(), IssueDAO\getPublishedIssues(), ReviewFormResponseDAO\getReviewReviewFormResponseValues(), AuthSourceDAO\getSources(), IssueDAO\getUnpublishedIssues(), UserGroupDAO\getUserGroupsByStage(), InterestDAO\getUserInterestIds(), UserGroupDAO\getUsersById(), RoleDAO\getUsersByRoleId(), UserGroupDAO\getUsersNotInRole(), and GenreDAO\keyExists().

◆ setCacheDir()

DAO::setCacheDir ( )

Configure the caching directory for database results NOTE: This is implemented as a GLOBAL setting and cannot be set on a per-connection basis.

Definition at line 274 of file DAO.inc.php.

References CacheManager\getFileCachePath().

Referenced by SubmissionSearchDAO\clearIndex(), flushCache(), and retrieveCached().

◆ setDataSource()

DAO::setDataSource (   $dataSource)

Set db conn.

Parameters
$dataSourceADONewConnection

Definition at line 47 of file DAO.inc.php.

Referenced by __construct().

◆ update()

DAO::update (   $sql,
  $params = false,
  $callHooks = true,
  $dieOnError = true 
)

Execute an INSERT, UPDATE, or DELETE SQL statement.

Parameters
$sqlthe SQL statement the execute
$paramsan array of parameters for the SQL statement
$callHooksboolean Whether or not to call hooks
$dieOnErrorboolean Whether or not to die if an error occurs
Returns
boolean

Definition at line 214 of file DAO.inc.php.

References HookRegistry\call(), getDataSource(), handleError(), Core\microtime(), and strtolower_codesafe().

Referenced by InstitutionalSubscriptionDAO\_deleteSubscriptionIPRanges(), SubscriptionDAO\_insertObject(), InstitutionalSubscriptionDAO\_insertSubscriptionIPRanges(), SubscriptionDAO\_updateObject(), UserGroupDAO\assignGroupToStage(), SubmissionFileDAO\assignRevisionToReviewRound(), NotificationDAO\build(), UserDAO\changeSitePrimaryLocale(), SubmissionDAO\changeStatus(), EventLogDAO\changeUser(), EmailLogDAO\changeUser(), SubmissionSearchDAO\clearIndex(), PKPOAIDAO\clearTokens(), AccessKeyDAO\deleteAccessKeyById(), ArticleGalleyDAO\deleteAllPubIds(), PKPPublicationDAO\deleteAllPubIds(), SubmissionFileDAODelegate\deleteAllPubIds(), IssueDAO\deleteAllPubIds(), SubmissionFileDAO\deleteAllRevisionsByReviewRound(), SessionDAO\deleteAllSessions(), UserStageAssignmentDAO\deleteAssignment(), UserGroupAssignmentDAO\deleteAssignment(), UserGroupAssignmentDAO\deleteAssignmentsByUserGroupId(), StageAssignmentDAO\deleteByAll(), EmailLogDAO\deleteByAssoc(), UserGroupDAO\deleteByContextId(), PluginSettingsDAO\deleteByContextId(), GenreDAO\deleteByContextId(), MarkupJobInfoDAO\deleteByFileId(), QueuedPaymentDAO\deleteById(), DataObjectTombstoneDAO\deleteById(), StaticPagesDAO\deleteById(), ReviewFormResponseDAO\deleteById(), SessionDAO\deleteById(), UserGroupDAO\deleteById(), EventLogDAO\deleteById(), ReviewFormElementDAO\deleteById(), CitationDAO\deleteById(), IssueFileDAO\deleteById(), SubmissionCommentDAO\deleteById(), ReviewFormDAO\deleteById(), NotificationDAO\deleteById(), DepositPointDAO\deleteById(), NavigationMenuDAO\deleteById(), LibraryFileDAO\deleteById(), AnnouncementTypeDAO\deleteById(), QueryDAO\deleteById(), SettingsDAO\deleteById(), NoteDAO\deleteById(), SubscriptionTypeDAO\deleteById(), IndividualSubscriptionDAO\deleteById(), NavigationMenuItemDAO\deleteById(), NavigationMenuItemAssignmentDAO\deleteById(), GenreDAO\deleteById(), CategoryDAO\deleteById(), ReviewRoundDAO\deleteById(), SectionDAO\deleteById(), InstitutionalSubscriptionDAO\deleteById(), IssueGalleyDAO\deleteById(), ReviewAssignmentDAO\deleteById(), IssueFileDAO\deleteByIssueId(), SessionDAO\deleteByLastUsed(), UsageStatsTemporaryRecordDAO\deleteByLoadId(), ReviewFormResponseDAO\deleteByReviewFormElementId(), ReviewFormResponseDAO\deleteByReviewId(), SubEditorsDAO\deleteBySubmissionGroupId(), SubmissionCommentDAO\deleteBySubmissionId(), UserGroupAssignmentDAO\deleteByUserId(), SubEditorsDAO\deleteByUserId(), SessionDAO\deleteByUserId(), TemporaryFileDAO\deleteByUserId(), IssueDAO\deleteCustomIssueOrdering(), SectionDAO\deleteCustomSection(), SectionDAO\deleteCustomSectionOrdering(), EditDecisionDAO\deleteDecisionsBySubmissionId(), SubEditorsDAO\deleteEditor(), QueuedPaymentDAO\deleteExpired(), AccessKeyDAO\deleteExpiredKeys(), NotificationSubscriptionSettingsDAO\deleteNotificationSubscriptionSettings(), DataObjectTombstoneDAO\deleteOAISetObjects(), SupplementaryFileDAODelegate\deleteObject(), SubmissionArtworkFileDAODelegate\deleteObject(), DepositDAO\deleteObject(), FilterGroupDAO\deleteObject(), EmailLogDAO\deleteObject(), AuthSourceDAO\deleteObject(), SubmissionFileDAODelegate\deleteObject(), DepositObjectDAO\deleteObject(), IssueDAO\deleteObject(), ControlledVocabDAO\deleteObjectById(), ControlledVocabEntryDAO\deleteObjectById(), FilterDAO\deleteObjectById(), ArticleGalleyDAO\deletePubId(), PKPPublicationDAO\deletePubId(), SubmissionFileDAODelegate\deletePubId(), IssueDAO\deletePubId(), CategoryDAO\deletePublicationAssignments(), UsageStatsTemporaryRecordDAO\deleteRecord(), SubmissionFileDAO\deleteReviewRoundAssignment(), DataObjectTombstoneSettingsDAO\deleteSetting(), PluginSettingsDAO\deleteSetting(), UserSettingsDAO\deleteSetting(), ReviewFormElementDAO\deleteSetting(), SettingsDAO\deleteSetting(), DataObjectTombstoneSettingsDAO\deleteSettings(), UserSettingsDAO\deleteSettings(), GenreDAO\deleteSettingsByLocale(), NavigationMenuItemDAO\deleteSettingsByLocale(), UserGroupDAO\deleteSettingsByLocale(), NotificationSettingsDAO\deleteSettingsByNotificationId(), PluginSettingsDAO\deleteSettingsByPlugin(), SubmissionSearchDAO\deleteSubmissionKeywords(), TemporaryFileDAO\deleteTemporaryFileById(), ViewsDAO\deleteViews(), VersionDAO\disableVersion(), ReviewFilesDAO\grant(), UsageStatsTemporaryRecordDAO\insert(), IssueDAO\insertCustomIssueOrder(), SectionDAO\insertCustomSectionOrder(), SubEditorsDAO\insertEditor(), SubmissionSearchDAO\insertKeyword(), MarkupJobInfoDAO\insertMarkupJobInfo(), NotificationSubscriptionSettingsDAO\insertNewRSSToken(), DataObjectTombstoneDAO\insertOAISetObjects(), CitationDAO\insertObject(), FilterGroupDAO\insertObject(), SupplementaryFileDAODelegate\insertObject(), SubmissionArtworkFileDAODelegate\insertObject(), SubmissionFileDAODelegate\insertObject(), QueuedPaymentDAO\insertObject(), OJSCompletedPaymentDAO\insertObject(), DepositDAO\insertObject(), SessionDAO\insertObject(), ReviewRoundDAO\insertObject(), ReviewFormResponseDAO\insertObject(), TemporaryFileDAO\insertObject(), UserGroupDAO\insertObject(), SchemaDAO\insertObject(), StaticPagesDAO\insertObject(), SubmissionSearchDAO\insertObject(), DepositPointDAO\insertObject(), ControlledVocabDAO\insertObject(), ReviewFormElementDAO\insertObject(), IssueFileDAO\insertObject(), EventLogDAO\insertObject(), FilterDAO\insertObject(), QueryDAO\insertObject(), AccessKeyDAO\insertObject(), ReviewFormDAO\insertObject(), NotificationDAO\insertObject(), AuthSourceDAO\insertObject(), EmailLogDAO\insertObject(), DataObjectTombstoneDAO\insertObject(), ControlledVocabEntryDAO\insertObject(), SubmissionCommentDAO\insertObject(), LibraryFileDAO\insertObject(), NavigationMenuDAO\insertObject(), AnnouncementTypeDAO\insertObject(), NoteDAO\insertObject(), SubscriptionTypeDAO\insertObject(), NavigationMenuItemAssignmentDAO\insertObject(), NavigationMenuItemDAO\insertObject(), CategoryDAO\insertObject(), StageAssignmentDAO\insertObject(), GenreDAO\insertObject(), DepositObjectDAO\insertObject(), SectionDAO\insertObject(), InstitutionalSubscriptionDAO\insertObject(), IssueGalleyDAO\insertObject(), ReviewAssignmentDAO\insertObject(), IssueDAO\insertObject(), SubmissionSearchDAO\insertObjectKeyword(), QueryDAO\insertParticipant(), CategoryDAO\insertPublicationAssignment(), PKPMetricsDAO\insertRecord(), PKPOAIDAO\insertToken(), VersionDAO\insertVersion(), IssueDAO\moveCustomIssueOrder(), ViewsDAO\moveViews(), PKPMetricsDAO\purgeLoadBatch(), PKPMetricsDAO\purgeRecords(), QueryDAO\removeAllParticipants(), UserGroupDAO\removeGroupFromStage(), QueryDAO\removeParticipant(), SubmissionDAO\removeSubmissionsFromSection(), ContextDAO\resequence(), ControlledVocabEntryDAO\resequence(), QueryDAO\resequence(), IssueGalleyDAO\resequence(), CategoryDAO\resequenceCategories(), IssueDAO\resequenceCustomIssueOrders(), SectionDAO\resequenceCustomSectionOrders(), DepositPointDAO\resequenceDepositPoints(), ReviewFormElementDAO\resequenceReviewFormElements(), ReviewFormDAO\resequenceReviewForms(), SectionDAO\resequenceSections(), SubscriptionTypeDAO\resequenceSubscriptionTypes(), ReviewFilesDAO\revoke(), ReviewFilesDAO\revokeByReviewId(), NotificationDAO\setDateRead(), AuthSourceDAO\setDefault(), InterestDAO\setUserInterests(), AccessKeyDAO\transferAccessKeys(), EditDecisionDAO\transferEditorDecisions(), NotificationDAO\transferNotifications(), IssueDAO\updateCurrent(), SectionDAO\updateCustomSectionOrder(), updateDataObjectSettings(), EditDecisionDAO\updateEditorDecision(), ScheduledTaskDAO\updateLastRunTime(), MarkupJobInfoDAO\updateMarkupJobInfo(), NotificationSettingsDAO\updateNotificationSetting(), NotificationSubscriptionSettingsDAO\updateNotificationSubscriptionSettings(), DataObjectTombstoneDAO\updateOAISetObjects(), SupplementaryFileDAODelegate\updateObject(), QueuedPaymentDAO\updateObject(), SubmissionArtworkFileDAODelegate\updateObject(), OJSCompletedPaymentDAO\updateObject(), DepositDAO\updateObject(), SessionDAO\updateObject(), ReviewRoundDAO\updateObject(), ReviewFormResponseDAO\updateObject(), FilterGroupDAO\updateObject(), TemporaryFileDAO\updateObject(), StaticPagesDAO\updateObject(), UserGroupDAO\updateObject(), ReviewFormElementDAO\updateObject(), ControlledVocabDAO\updateObject(), SubmissionFileDAODelegate\updateObject(), IssueFileDAO\updateObject(), CitationDAO\updateObject(), DepositPointDAO\updateObject(), AccessKeyDAO\updateObject(), ReviewFormDAO\updateObject(), AuthSourceDAO\updateObject(), DataObjectTombstoneDAO\updateObject(), NavigationMenuItemAssignmentDAO\updateObject(), NavigationMenuDAO\updateObject(), LibraryFileDAO\updateObject(), AnnouncementTypeDAO\updateObject(), QueryDAO\updateObject(), SubmissionCommentDAO\updateObject(), NoteDAO\updateObject(), SubscriptionTypeDAO\updateObject(), NavigationMenuItemDAO\updateObject(), CategoryDAO\updateObject(), ControlledVocabEntryDAO\updateObject(), StageAssignmentDAO\updateObject(), GenreDAO\updateObject(), DepositObjectDAO\updateObject(), SectionDAO\updateObject(), InstitutionalSubscriptionDAO\updateObject(), IssueGalleyDAO\updateObject(), FilterDAO\updateObject(), ReviewAssignmentDAO\updateObject(), IssueDAO\updateObject(), ReviewerSubmissionDAO\updateReviewerSubmission(), DataObjectTombstoneSettingsDAO\updateSetting(), UserSettingsDAO\updateSetting(), SettingsDAO\updateSetting(), NavigationMenuItemDAO\updateSetting(), UserGroupDAO\updateSetting(), and ReviewRoundDAO\updateStatus().

◆ updateDataObjectSettings()

Field Documentation

◆ $_dataSource

DAO::$_dataSource

The database connection object

Definition at line 33 of file DAO.inc.php.

Referenced by getDataSource().


The documentation for this class was generated from the following file: