메소드 |
설명 |
|
__construct ( ) |
|
|
_cacheMiss ( $cache, $id ) |
|
|
_fromRow ( $row ) : Section |
Internal function to return a Section object from a row. |
|
_getCache ( ) |
|
|
customSectionOrderingExists ( $issueId ) : boolean |
Check if an issue has custom section ordering. |
|
deleteById ( $sectionId, $contextId = null ) |
Delete a section by ID. |
|
deleteByJournalId ( $journalId ) |
Delete sections by journal ID
NOTE: This does not delete dependent entries EXCEPT from section_editors. It is intended
to be called only when deleting a journal. |
|
deleteCustomSection ( $issueId, $sectionId ) |
Delete a section from the custom section order table. |
|
deleteCustomSectionOrdering ( $issueId ) |
Delete the custom ordering of an issue's sections. |
|
getAll ( $rangeInfo = null ) : DAOResultFactory |
Retrieve all sections. |
|
getByAbbrev ( $sectionAbbrev, $journalId, $locale = null ) : Section |
Retrieve a section by abbreviation. |
|
getByContextId ( $journalId, $rangeInfo = null ) : DAOResultFactory |
Retrieve all sections for a journal. |
|
getById ( $sectionId, $journalId = null, $useCache = false ) : Section |
Retrieve a section by ID. |
|
getByIssueId ( $issueId ) : array |
Retrieve all sections in which articles are currently published in
the given issue. |
|
getByJournalId ( $journalId, $rangeInfo = null ) : DAOResultFactory |
Retrieve all sections for a journal. |
|
getByTitle ( $sectionTitle, $journalId, $locale = null ) : Section |
Retrieve a section by title. |
|
getCustomSectionOrder ( $issueId, $sectionId ) : integer |
Get the custom section order of a section. |
|
getEditorSections ( $journalId ) : array |
Retrieve an array associating all section editor IDs with
arrays containing the sections they edit. |
|
getEmptyByJournalId ( $journalId ) : array |
Retrieve all empty (without articles) section ids for a journal. |
|
getInsertId ( ) : integer |
Get the ID of the last inserted section. |
|
getLocaleFieldNames ( ) : array |
Get the list of fields for which data can be localized. |
|
getTitles ( $journalId, $submittableOnly = false ) : array |
Retrieve the IDs and titles of the sections for a journal in an associative array. |
|
insertCustomSectionOrder ( $issueId, $sectionId, $seq ) |
INTERNAL USE ONLY: Insert a custom section ordering |
|
insertObject ( $section ) |
Insert a new section. |
|
newDataObject ( ) |
Return a new data object. |
|
resequenceCustomSectionOrders ( $issueId ) |
Sequentially renumber custom section orderings in their sequence order. |
|
resequenceSections ( $journalId ) |
Sequentially renumber sections in their sequence order. |
|
sectionExists ( $sectionId, $journalId ) : boolean |
Check if a section exists with the specified ID. |
|
setDefaultCustomSectionOrders ( $issueId ) |
Import the current section orders into the specified issue as custom
issue orderings. |
|
updateCustomSectionOrder ( $issueId, $sectionId, $seq ) |
Update a custom section ordering |
|
updateLocaleFields ( $section ) |
Update the localized fields for this table |
|
updateObject ( $section ) |
Update an existing section. |
|