Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
AnnouncementDAO Class Reference
Inheritance diagram for AnnouncementDAO:
PKPAnnouncementDAO DAO

Public Member Functions

 AnnouncementDAO ()
 
 newDataObject ()
 
- Public Member Functions inherited from PKPAnnouncementDAO
 _fromRow ($row)
 
 deleteByAssoc ($assocType, $assocId)
 
 deleteById ($announcementId)
 
 deleteByTypeId ($typeId)
 
 deleteObject ($announcement)
 
 getAnnouncementAssocId ($announcementId)
 
 getAnnouncementAssocType ($announcementId)
 
 getAnnouncementsNotExpiredByAssocId ($assocType, $assocId, $rangeInfo=null)
 
 getByAssocId ($assocType, $assocId, $rangeInfo=null)
 
 getById ($announcementId)
 
 getByTypeId ($typeId, $rangeInfo=null)
 
 getInsertId ()
 
 getLocaleFieldNames ()
 
 getMostRecentAnnouncementByAssocId ($assocType, $assocId)
 
 getNumAnnouncementsByAssocId ($assocType, $assocId, $numAnnouncements, $rangeInfo=null)
 
 getNumAnnouncementsNotExpiredByAssocId ($assocType, $assocId, $numAnnouncements, $rangeInfo=null)
 
 insertObject ($announcement)
 
 newDataObject ()
 
 PKPAnnouncementDAO ()
 
 updateLocaleFields ($announcement)
 
 updateObject ($announcement)
 
- Public Member Functions inherited from DAO
 concat ()
 
 convertFromDB ($value, $type)
 
 convertToDB ($value, &$type)
 
 DAO ($dataSource=null, $callHooks=true)
 
 dateFromDB ($d)
 
 datetimeFromDB ($dt)
 
 datetimeToDB ($dt)
 
 dateToDB ($d)
 
 flushCache ()
 
 formatDateToDB ($date, $defaultNumWeeks=null, $acceptPastDate=true)
 
 getAffectedRows ()
 
getDataSource ()
 
 getDirectionMapping ($direction)
 
 getDriver ()
 
 getType ($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)
 
- Public Attributes inherited from DAO
 $_dataSource
 
- Protected Member Functions inherited from DAO
 _getInsertId ($table= '', $id= '')
 

Detailed Description

Operations for retrieving and modifying Announcement objects.

See Also
Announcement

Definition at line 20 of file AnnouncementDAO.inc.php.

Member Function Documentation

AnnouncementDAO::AnnouncementDAO ( )

Constructor

Definition at line 24 of file AnnouncementDAO.inc.php.

AnnouncementDAO::newDataObject ( )
See Also
PKPAnnouncementDAO::newDataObject

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


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