Метод | Описание | |
---|---|---|
__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. |
public _fromRow ( $row ) : ArticleGalley | ||
$row | array | |
Результат | ArticleGalley |
public deleteByArticleId ( $articleId ) | ||
$articleId | int |
public deleteById ( $galleyId, $articleId = null ) | ||
$galleyId | int Galley ID. | |
$articleId | int Optional article ID. |
public deleteObject ( $galley ) | ||
$galley | ArticleGalley |
public getAdditionalFieldNames ( ) : array | ||
Результат | array |
public getByBestGalleyId ( $galleyId, $articleId ) : ArticleGalley | ||
$galleyId | string | |
$articleId | int | |
Результат | ArticleGalley | object |
public getByContextId ( $journalId ) : DAOResultFactory | ||
$journalId | int | |
Результат | DAOResultFactory |
public getExportable ( $contextId, $pubIdType = null, $title = null, $author = null, $issueId = null, $pubIdSettingName = null, $pubIdSettingValue = null, $rangeInfo = null ) : DAOResultFactory | ||
$contextId | integer optional | |
$pubIdType | string | |
$title | string optional | |
$author | string optional | |
$issueId | integer optional | |
$pubIdSettingName | string optional (e.g. medra::status or medra::registeredDoi) | |
$pubIdSettingValue | string optional | |
$rangeInfo | DBResultRange optional | |
Результат | DAOResultFactory |
public getGalleyByPubId ( $pubIdType, $pubId, $articleId = null ) : ArticleGalley | ||
$pubIdType | string One of the NLM pub-id-type values or
'other::something' if not part of the official NLM list
(see |
|
$pubId | string | |
$articleId | int | |
Результат | ArticleGalley |
public getGalleysBySetting ( $settingName, $settingValue, $articleId = null, $journalId = null ) : DAOResultFactory | ||
$settingName | string | |
$settingValue | mixed | |
$articleId | int optional | |
$journalId | int optional | |
Результат | DAOResultFactory | The factory for galleys identified by setting. |
public getInsertId ( ) : integer | ||
Результат | integer |
public getLocaleFieldNames ( ) : array | ||
Результат | array |
public getNextGalleySequence ( $articleId ) : integer | ||
$articleId | int | |
Результат | integer |
public insertObject ( $galley ) | ||
$galley | ArticleGalley |
public newDataObject ( ) : ArticleGalley | ||
Результат | ArticleGalley |
public resequenceGalleys ( $articleId ) | ||
$articleId | int |
public updateLocaleFields ( $galley ) | ||
$galley |
public updateObject ( $galley ) | ||
$galley | ArticleGalley |