Public Member Functions

IdentificationCodeDAO Class Reference

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

List of all members.

Public Member Functions

_fromRow (&$row, $callHooks=true)
 deleteById ($entryId)
 deleteObject ($identificationCode)
getById ($identificationCodeId, $monographId=null)
getByPublicationFormatId ($publicationFormatId)
 getInsertIdentificationCodeId ()
 IdentificationCodeDAO ()
 insertObject (&$identificationCode)
 newDataObject ()
 updateObject (&$identificationCode)

Detailed Description

Operations for retrieving and modifying IdentificationCode objects.

See also:
IdentificationCode

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


Member Function Documentation

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

Internal function to return a IdentificationCode object from a row.

Parameters:
$row array
$callHooks boolean
Returns:
IdentificationCode

Definition at line 82 of file IdentificationCodeDAO.inc.php.

References newDataObject().

Referenced by getById().

IdentificationCodeDAO.deleteById ( entryId  ) 

delete a identification code by id.

Parameters:
$entryId int

Definition at line 144 of file IdentificationCodeDAO.inc.php.

Referenced by deleteObject().

IdentificationCodeDAO.deleteObject ( identificationCode  ) 

Delete an identification code by id.

Parameters:
$identificationCode IdentificationCode

Definition at line 136 of file IdentificationCodeDAO.inc.php.

References deleteById().

& IdentificationCodeDAO.getById ( identificationCodeId,
monographId = null 
)

Retrieve an identification code by type id.

Parameters:
$identificationCodeId int
$monographId optional int
Returns:
IdentificationCode

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

References _fromRow().

& IdentificationCodeDAO.getByPublicationFormatId ( publicationFormatId  ) 

Retrieve all identification codes for a publication format

Parameters:
$publicationFormatId int
Returns:
DAOResultFactory containing matching identification codes

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

IdentificationCodeDAO.getInsertIdentificationCodeId (  ) 

Get the ID of the last inserted identification code.

Returns:
int

Definition at line 154 of file IdentificationCodeDAO.inc.php.

Referenced by insertObject().

IdentificationCodeDAO.IdentificationCodeDAO (  ) 

Constructor

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

IdentificationCodeDAO.insertObject ( &$  identificationCode  ) 

Insert a new identification code.

Parameters:
$identificationCode IdentificationCode

Definition at line 98 of file IdentificationCodeDAO.inc.php.

References getInsertIdentificationCodeId().

IdentificationCodeDAO.newDataObject (  ) 

Construct a new data object corresponding to this DAO.

Returns:
IdentificationCode

Definition at line 72 of file IdentificationCodeDAO.inc.php.

Referenced by _fromRow().

IdentificationCodeDAO.updateObject ( &$  identificationCode  ) 

Update an existing identification code.

Parameters:
$identificationCode IdentificationCode

Definition at line 119 of file IdentificationCodeDAO.inc.php.


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