Méthode | Description | |
---|---|---|
__construct ( ) | Constructor. | |
_fromRow ( $row ) : IssueGalley | Internal function to return an IssueGalley object from a row. | |
deleteById ( $galleyId, $issueId = null ) | Delete a galley by ID. | |
deleteByIssueId ( $issueId ) | Delete galleys by issue. | |
deleteObject ( $galley ) | Delete an IssueGalley. | |
getAdditionalFieldNames ( ) : array | Get a list of additional fields that do not have dedicated accessors. | |
getByBestId ( $galleyId, $issueId ) : ArticleGalley | Retrieve issue galley by public galley id or, failing that, internal galley ID; public galley ID takes precedence. | |
getById ( $galleyId, $issueId = null ) : IssueGalley | Retrieve a galley by ID. | |
getByIssueId ( $issueId ) : array | Retrieve all galleys for an issue. | |
getByPubId ( $pubIdType, $pubId, $issueId ) : IssueGalley | Retrieve a galley by ID. | |
getInsertId ( ) : integer | Get the ID of the last inserted gallery. | |
getLocaleFieldNames ( ) : array | Get the list of fields for which data is localized. | |
getNextGalleySequence ( $issueId ) : integer | Get the the next sequence number for an issue's galleys (i.e., current max + 1). | |
insertObject ( $galley ) | Insert a new IssueGalley. | |
newDataObject ( ) : IssueGalley | Construct a new issue galley. | |
pubIdExists ( $pubIdType, $pubId, $galleyId, $journalId ) : boolean | Checks if public identifier exists (other than for the specified galley ID, which is treated as an exception). | |
resequence ( $issueId ) | Sequentially renumber galleys for an issue in their sequence order. | |
updateLocaleFields ( $galley ) | Update the localized fields for this galley. | |
updateObject ( $galley ) | Update an existing IssueGalley. |
public _fromRow ( $row ) : IssueGalley | ||
$row | array | |
Résultat | IssueGalley |
public deleteById ( $galleyId, $issueId = null ) | ||
$galleyId | int | |
$issueId | int optional |
public deleteByIssueId ( $issueId ) | ||
$issueId | int |
public deleteObject ( $galley ) | ||
$galley | IssueGalley |
public getAdditionalFieldNames ( ) : array | ||
Résultat | array |
public getByBestId ( $galleyId, $issueId ) : ArticleGalley | ||
$galleyId | string | |
$issueId | int | |
Résultat | ArticleGalley | object |
public getById ( $galleyId, $issueId = null ) : IssueGalley | ||
$galleyId | int | |
$issueId | int optional | |
Résultat | IssueGalley |
public getByIssueId ( $issueId ) : array | ||
$issueId | int | |
Résultat | array | IssueGalleys |
public getByPubId ( $pubIdType, $pubId, $issueId ) : IssueGalley | ||
$pubIdType | string One of the NLM pub-id-type values or
'other::something' if not part of the official NLM list
(see |
|
$pubId | string | |
$issueId | int | |
Résultat | IssueGalley |
public getInsertId ( ) : integer | ||
Résultat | integer |
public getLocaleFieldNames ( ) : array | ||
Résultat | array |
public getNextGalleySequence ( $issueId ) : integer | ||
$issueId | int | |
Résultat | integer |
public insertObject ( $galley ) | ||
$galley | IssueGalley |
public newDataObject ( ) : IssueGalley | ||
Résultat | IssueGalley |
public pubIdExists ( $pubIdType, $pubId, $galleyId, $journalId ) : boolean | ||
$pubIdType | string One of the NLM pub-id-type values or
'other::something' if not part of the official NLM list
(see |
|
$pubId | string | |
$galleyId | int An ID to be excluded from the search. | |
$journalId | int | |
Résultat | boolean |
public resequence ( $issueId ) | ||
$issueId | int |
public updateLocaleFields ( $galley ) | ||
$galley |
public updateObject ( $galley ) | ||
$galley | IssueGalley |