Open Journal Systems  3.3.0
RepresentationDAO Class Reference
Inheritance diagram for RepresentationDAO:
DAO

Public Member Functions

 getById ($representationId, $publicationId=null, $contextId=null)
 
 getByPublicationId ($publicationId, $contextId=null)
 
- 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 ()
 
 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)
 

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='')
 

Detailed Description

Abstract DAO for fetching/working with DB storage of Representation objects.

See also
Representation

Definition at line 16 of file RepresentationDAO.inc.php.

Member Function Documentation

◆ getById()

RepresentationDAO::getById (   $representationId,
  $publicationId = null,
  $contextId = null 
)
abstract

Retrieves a representation by ID.

Parameters
$representationIdint Representation ID.
$publicationIdint Optional publication ID.
$contextIdint Optional context ID.
Returns
DAOResultFactory

◆ getByPublicationId()

RepresentationDAO::getByPublicationId (   $publicationId,
  $contextId = null 
)
abstract

Retrieves an iterator of representations for a publication

Parameters
$publicationIdint
$contextIdint
Returns
DAOResultFactory

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