Свойство | Тип | Описание | |
---|---|---|---|
$caches |
Метод | Описание | |
---|---|---|
_cacheMiss ( $cache, $id ) : Issue | Handle a cache miss. | |
_getCache ( $cacheId ) : GenericCache | Get an issue cache by cache ID. | |
_returnIssueFromRow ( $row ) : Issue | creates and returns an issue object from a row | |
changePubId ( $issueId, $pubIdType, $pubId ) | ||
customIssueOrderingExists ( $journalId ) : boolean | Check if a journal has custom issue ordering. | |
deleteAllPubIds ( $journalId, $pubIdType ) | ||
deleteByJournalId ( $journalId ) | Delete issues by journal id. Deletes dependent entities. | |
deleteCustomIssueOrdering ( $journalId ) | Delete the custom ordering of a published issue. | |
deleteObject ( $issue ) | Delete issue. Deletes associated issue galleys, cover pages, and published articles. | |
deletePubId ( $issueId, $pubIdType ) | ||
flushCache ( ) | Flush the issue cache. | |
getAdditionalFieldNames ( ) : array | Get a list of additional fields that do not have dedicated accessors. | |
getByBestId ( $issueId, $journalId = null, $useCache = false ) : Issue | Retrieve Issue by "best" issue id -- public ID if it exists, falling back on the internal issue ID otherwise. | |
getById ( $issueId, $journalId = null, $useCache = false ) : Issue | Retrieve Issue by issue id | |
getByPubId ( $pubIdType, $pubId, $journalId = null, $useCache = false ) : Issue | Retrieve Issue by public issue id | |
getBySetting ( $settingName, $settingValue, $journalId = null ) : array | Find issues by querying issue settings. | |
getCurrent ( $journalId, $useCache = false ) : Issue | Retrieve current issue | |
getCustomIssueOrder ( $journalId, $issueId ) : integer | Get the custom issue order of a journal. | |
getExportable ( $contextId, $pubIdType = null, $pubIdSettingName = null, $pubIdSettingValue = null, $rangeInfo = null ) : DAOResultFactory | Get all published issues (eventually with a pubId assigned and) matching the specified settings. | |
getInsertId ( ) : integer | Get the ID of the last inserted issue. | |
getIssueByArticleId ( $articleId, $journalId = null ) : Issue | Get issue by article id | |
getIssues ( $journalId, $rangeInfo = null ) : ItemIterator | Get all issues organized by published date | |
getIssuesByIdentification ( $journalId, $volume = null, $number = null, $year = null, $titles = [] ) : DAOResultFactory | Retrieve Issues by identification | |
getLocaleFieldNames ( ) : array | Get a list of fields for which localized data is supported | |
getNumArticles ( $issueId ) : integer | Return number of articles assigned to an issue. | |
getPublishedIssues ( $journalId, $rangeInfo = null ) : ItemIterator | Get published issues organized by published date | |
getPublishedIssuesByNumber ( $journalId, $volume = null, $number = null, $year = null ) : Iterator | Retrieve Issue by some combination of volume, number, and year | |
getUnpublishedIssues ( $journalId, $rangeInfo = null ) : ItemIterator | Get unpublished issues organized by published date | |
insertCustomIssueOrder ( $journalId, $issueId, $seq ) | INTERNAL USE ONLY: Insert a custom issue ordering | |
insertObject ( $issue ) : Issue | inserts a new issue into issues table | |
issueExists ( $journalId, $volume, $number, $year, $issueId ) : boolean | Check if volume, number and year have already been issued | |
issueIdExists ( $issueId, $journalId ) : boolean | Checks if issue exists | |
moveCustomIssueOrder ( $journalId, $issueId, $newPos ) | Move a custom issue ordering up or down, resequencing as necessary. | |
newDataObject ( ) : Issue | Construct a new data object. | |
pubIdExists ( $pubIdType, $pubId, $issueId, $journalId ) | ||
resequenceCustomIssueOrders ( $journalId ) | Sequentially renumber custom issue orderings in their sequence order. | |
setDefaultCustomIssueOrders ( $journalId ) | Import the current issue orders into the specified journal as custom issue orderings. | |
updateCurrent ( $journalId, $issue = null ) : Issue | update current issue | |
updateLocaleFields ( &$issue ) | Update the localized fields for this object. | |
updateObject ( $issue ) | updates an issue |
public _cacheMiss ( $cache, $id ) : Issue | ||
$cache | GenericCache | |
$id | string | |
Результат | Issue |
public _getCache ( $cacheId ) : GenericCache | ||
$cacheId | string | |
Результат | GenericCache |
public _returnIssueFromRow ( $row ) : Issue | ||
$row | array | |
Результат | Issue | object |
public customIssueOrderingExists ( $journalId ) : boolean | ||
$journalId | int | |
Результат | boolean |
public deleteByJournalId ( $journalId ) | ||
$journalId | int |
public deleteCustomIssueOrdering ( $journalId ) | ||
$journalId | int |
public deleteObject ( $issue ) | ||
$issue | object issue |
public getAdditionalFieldNames ( ) : array | ||
Результат | array |
public getByBestId ( $issueId, $journalId = null, $useCache = false ) : Issue | ||
$issueId | string | |
$journalId | int optional | |
$useCache | boolean optional | |
Результат | Issue | object |
public getById ( $issueId, $journalId = null, $useCache = false ) : Issue | ||
$issueId | int | |
$journalId | int optional | |
$useCache | boolean optional | |
Результат | Issue | object |
public getByPubId ( $pubIdType, $pubId, $journalId = null, $useCache = false ) : Issue | ||
$pubIdType | string One of the NLM pub-id-type values or
'other::something' if not part of the official NLM list
(see |
|
$pubId | string | |
$journalId | int optional | |
$useCache | boolean optional | |
Результат | Issue | object |
public getBySetting ( $settingName, $settingValue, $journalId = null ) : array | ||
$settingName | string | |
$settingValue | mixed | |
$journalId | int optional | |
Результат | array | The issues identified by setting. |
public getCurrent ( $journalId, $useCache = false ) : Issue | ||
$journalId | int | |
$useCache | boolean optional | |
Результат | Issue | object |
public getCustomIssueOrder ( $journalId, $issueId ) : integer | ||
$journalId | int | |
$issueId | int | |
Результат | integer |
public getExportable ( $contextId, $pubIdType = null, $pubIdSettingName = null, $pubIdSettingValue = null, $rangeInfo = null ) : DAOResultFactory | ||
$contextId | integer optional | |
$pubIdType | string | |
$pubIdSettingName | string optional (e.g. crossref::registeredDoi) | |
$pubIdSettingValue | string optional | |
$rangeInfo | DBResultRange optional | |
Результат | DAOResultFactory |
public getInsertId ( ) : integer | ||
Результат | integer |
public getIssueByArticleId ( $articleId, $journalId = null ) : Issue | ||
Результат | Issue | object |
public getIssues ( $journalId, $rangeInfo = null ) : ItemIterator | ||
$journalId | int | |
$rangeInfo | object DBResultRange (optional) | |
Результат | ItemIterator |
public getIssuesByIdentification ( $journalId, $volume = null, $number = null, $year = null, $titles = [] ) : DAOResultFactory | ||
$journalId | int | |
$volume | int | |
$number | string | |
$year | int | |
$titles | array | |
Результат | DAOResultFactory |
public getLocaleFieldNames ( ) : array | ||
Результат | array |
public getNumArticles ( $issueId ) : integer | ||
$issueId | int | |
Результат | integer |
public getPublishedIssues ( $journalId, $rangeInfo = null ) : ItemIterator | ||
$journalId | int | |
$rangeInfo | object DBResultRange | |
Результат | ItemIterator |
public getPublishedIssuesByNumber ( $journalId, $volume = null, $number = null, $year = null ) : Iterator | ||
$journalId | int | |
$volume | int | |
$number | int | |
$year | int | |
Результат | Iterator | object |
public getUnpublishedIssues ( $journalId, $rangeInfo = null ) : ItemIterator | ||
$journalId | int | |
$rangeInfo | object DBResultRange | |
Результат | ItemIterator |
public insertCustomIssueOrder ( $journalId, $issueId, $seq ) | ||
$journalId | int | |
$issueId | int | |
$seq | int |
public insertObject ( $issue ) : Issue | ||
Результат | Issue | Id int |
public issueExists ( $journalId, $volume, $number, $year, $issueId ) : boolean | ||
$journalId | int | |
$volume | int | |
$number | int | |
$year | int | |
$issueId | int Issue ID to exclude from results | |
Результат | boolean |
public issueIdExists ( $issueId, $journalId ) : boolean | ||
$issueId | int | |
$journalId | int | |
Результат | boolean |
public moveCustomIssueOrder ( $journalId, $issueId, $newPos ) | ||
$journalId | int | |
$issueId | int | |
$newPos | int The new position (0-based) of this section |
public newDataObject ( ) : Issue | ||
Результат | Issue |
public resequenceCustomIssueOrders ( $journalId ) | ||
$journalId | int |
public setDefaultCustomIssueOrders ( $journalId ) | ||
$journalId | int |
public updateCurrent ( $journalId, $issue = null ) : Issue | ||
Результат | Issue | object |
public updateLocaleFields ( &$issue ) | ||
$issue |