Operations for retrieving and modifying PublicationFormat objects. More...
Public Member Functions | |
| & | _fromRow (&$row, $callHooks=true) |
| deleteById ($publicationFormatId) | |
| getApprovedByMonographId ($monographId) | |
| & | getById ($publicationFormatId, $monographId=null, $pressId=null) |
| getByMonographId ($monographId) | |
| getLocaleFieldNames () | |
| insertObject (&$publicationFormat) | |
| newDataObject () | |
| PublicationFormatDAO () | |
| updateLocaleFields (&$publicationFormat) | |
| updateObject (&$publicationFormat) | |
Operations for retrieving and modifying PublicationFormat objects.
Definition at line 17 of file PublicationFormatDAO.inc.php.
| & PublicationFormatDAO._fromRow | ( | &$ | row, | |
| $ | callHooks = true | |||
| ) |
Internal function to return an PublicationFormat object from a row.
| $row | array | |
| $callHooks | boolean |
Definition at line 129 of file PublicationFormatDAO.inc.php.
References newDataObject().
Referenced by getById().
| PublicationFormatDAO.deleteById | ( | $ | publicationFormatId | ) |
Delete an publication format by ID.
| $publicationFormatId | int |
Definition at line 96 of file PublicationFormatDAO.inc.php.
| PublicationFormatDAO.getApprovedByMonographId | ( | $ | monographId | ) |
Retrieves a list of approved publication formats for a published monograph
| int | $monographId |
Definition at line 80 of file PublicationFormatDAO.inc.php.
| & PublicationFormatDAO.getById | ( | $ | publicationFormatId, | |
| $ | monographId = null, |
|||
| $ | pressId = null | |||
| ) |
Retrieve a publication format by type id.
| $publicationFormatId | int | |
| $monographId | optional int | |
| $pressId | optional int |
Definition at line 32 of file PublicationFormatDAO.inc.php.
References _fromRow().
| PublicationFormatDAO.getByMonographId | ( | $ | monographId | ) |
Retrieves a list of publication formats for a published monograph
| int | $monographId |
Definition at line 63 of file PublicationFormatDAO.inc.php.
| PublicationFormatDAO.getLocaleFieldNames | ( | ) |
Get a list of fields for which we store localized data
Definition at line 273 of file PublicationFormatDAO.inc.php.
| PublicationFormatDAO.insertObject | ( | &$ | publicationFormat | ) |
Insert a publication format.
| $publicationFormat | PublicationFormat |
Definition at line 169 of file PublicationFormatDAO.inc.php.
References updateLocaleFields().
| PublicationFormatDAO.newDataObject | ( | ) |
Construct a new data object corresponding to this DAO.
Definition at line 119 of file PublicationFormatDAO.inc.php.
Referenced by _fromRow().
| PublicationFormatDAO.PublicationFormatDAO | ( | ) |
Constructor
Definition at line 21 of file PublicationFormatDAO.inc.php.
| PublicationFormatDAO.updateLocaleFields | ( | &$ | publicationFormat | ) |
Update the settings for this object
| $publicationFormat | object |
Definition at line 107 of file PublicationFormatDAO.inc.php.
Referenced by insertObject(), and updateObject().
| PublicationFormatDAO.updateObject | ( | &$ | publicationFormat | ) |
Update an existing publication format.
| $publicationFormat | PublicationFormat |
Definition at line 211 of file PublicationFormatDAO.inc.php.
References updateLocaleFields().
1.7.1