Method |
Description |
|
__construct ( ) |
Constructor. |
|
_fromRow ( $row ) : ArticleGalley |
Internal function to return an ArticleGalley object from a row. |
|
changePubId ( $galleyId, $pubIdType, $pubId ) |
|
|
deleteAllPubIds ( $journalId, $pubIdType ) |
|
|
deleteByArticleId ( $articleId ) |
Delete galleys (and dependent galley image entries) by article. |
|
deleteById ( $galleyId, $articleId = null ) |
Delete a galley by ID. |
|
deleteObject ( $galley ) |
Delete an ArticleGalley. |
|
deletePubId ( $galleyId, $pubIdType ) |
|
|
getAdditionalFieldNames ( ) : array |
Get a list of additional fields that do not have
dedicated accessors. |
|
getByBestGalleyId ( $galleyId, $articleId ) : ArticleGalley |
Retrieve article galley by public galley id or, failing that,
internal galley ID; public galley ID takes precedence. |
|
getByContextId ( $journalId ) : DAOResultFactory |
Retrieve all galleys of a journal. |
|
getById ( $galleyId, $submissionId = null, $contextId = null ) |
|
|
getBySubmissionId ( $submissionId, $contextId = null ) |
|
|
getExportable ( $contextId, $pubIdType = null, $title = null, $author = null, $issueId = null, $pubIdSettingName = null, $pubIdSettingValue = null, $rangeInfo = null ) : DAOResultFactory |
Get all published article galleys (eventually with a pubId assigned and) matching the specified settings. |
|
getGalleyByPubId ( $pubIdType, $pubId, $articleId = null ) : ArticleGalley |
Retrieve a galley by ID. |
|
getGalleysBySetting ( $settingName, $settingValue, $articleId = null, $journalId = null ) : DAOResultFactory |
Find galleys by querying galley settings. |
|
getInsertId ( ) : integer |
Get the ID of the last inserted gallery. |
|
getLocaleFieldNames ( ) : array |
Get the list of fields for which data is localized. |
|
getNextGalleySequence ( $articleId ) : integer |
Get the the next sequence number for an article's galleys (i.e., current max + 1). |
|
insertObject ( $galley ) |
Insert a new ArticleGalley. |
|
newDataObject ( ) : ArticleGalley |
Return a new data object. |
|
pubIdExists ( $pubIdType, $pubId, $galleyId, $journalId ) |
|
|
resequenceGalleys ( $articleId ) |
Sequentially renumber galleys for an article in their sequence order. |
|
updateLocaleFields ( $galley ) |
Update the localized fields for this galley. |
|
updateObject ( $galley ) |
Update an existing ArticleGalley. |
|