Public Member Functions

PublicationDateDAO Class Reference

Operations for retrieving and modifying PublicationDate objects. More...

List of all members.

Public Member Functions

_fromRow (&$row, $callHooks=true)
 deleteById ($entryId)
 deleteObject ($publicationDate)
getById ($publicationDateId, $monographId=null)
getByPublicationFormatId ($publicationFormatId)
 getInsertPublicationDateId ()
 insertObject (&$publicationDate)
 newDataObject ()
 PublicationDateDAO ()
 updateObject (&$publicationDate)

Detailed Description

Operations for retrieving and modifying PublicationDate objects.

See also:
PublicationDate

Definition at line 18 of file PublicationDateDAO.inc.php.


Member Function Documentation

& PublicationDateDAO._fromRow ( &$  row,
callHooks = true 
)

Internal function to return a PublicationDate object from a row.

Parameters:
$row array
$callHooks boolean
Returns:
PublicationDate

Definition at line 84 of file PublicationDateDAO.inc.php.

References newDataObject().

Referenced by getById().

PublicationDateDAO.deleteById ( entryId  ) 

delete a publication date by id.

Parameters:
$entryId int

Definition at line 149 of file PublicationDateDAO.inc.php.

Referenced by deleteObject().

PublicationDateDAO.deleteObject ( publicationDate  ) 

Delete a publication date.

Parameters:
$publicationDate PublicationDate

Definition at line 141 of file PublicationDateDAO.inc.php.

References deleteById().

& PublicationDateDAO.getById ( publicationDateId,
monographId = null 
)

Retrieve a publication date by type id.

Parameters:
$publicationDateId int
$monographId optional int
Returns:
PublicationDate

Definition at line 32 of file PublicationDateDAO.inc.php.

References _fromRow().

& PublicationDateDAO.getByPublicationFormatId ( publicationFormatId  ) 

Retrieve all publication dates for an assigned publication format

Parameters:
$publicationFormatId int
Returns:
DAOResultFactory containing matching publication dates

Definition at line 60 of file PublicationDateDAO.inc.php.

PublicationDateDAO.getInsertPublicationDateId (  ) 

Get the ID of the last inserted publication date.

Returns:
int

Definition at line 159 of file PublicationDateDAO.inc.php.

Referenced by insertObject().

PublicationDateDAO.insertObject ( &$  publicationDate  ) 

Insert a new publication date.

Parameters:
$publicationDate PublicationDate

Definition at line 101 of file PublicationDateDAO.inc.php.

References getInsertPublicationDateId().

PublicationDateDAO.newDataObject (  ) 

Construct a new data object corresponding to this DAO.

Returns:
PublicationDate

Definition at line 74 of file PublicationDateDAO.inc.php.

Referenced by _fromRow().

PublicationDateDAO.PublicationDateDAO (  ) 

Constructor

Definition at line 22 of file PublicationDateDAO.inc.php.

PublicationDateDAO.updateObject ( &$  publicationDate  ) 

Update an existing publication date.

Parameters:
$publicationDate PublicationDate

Definition at line 123 of file PublicationDateDAO.inc.php.


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