%PDF-1.7 GIF89;
| Server IP : 104.20.45.2 / Your IP : 172.16.20.3 Web Server : Apache/2.4.25 (Debian) System : Linux f64a392e70de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 User : application ( 1000) PHP Version : 5.6.40 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /app/classes/submission/editAssignment/ |
Upload File : |
<?php
/**
* @file classes/submission/editAssignment/EditAssignment.inc.php
*
* Copyright (c) 2013-2019 Simon Fraser University
* Copyright (c) 2003-2019 John Willinsky
* Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
*
* @class EditAssignment
* @ingroup submission
* @see EditAssignmentDAO
*
* @brief Describes edit assignment properties.
*
*/
class EditAssignment extends DataObject {
/**
* Constructor.
*/
function EditAssignment() {
parent::DataObject();
}
//
// Get/set methods
//
/**
* Get ID of edit assignment.
* @return int
*/
function getEditId() {
return $this->getData('editId');
}
/**
* Set ID of edit assignment
* @param $editId int
*/
function setEditId($editId) {
return $this->setData('editId', $editId);
}
/**
* Get ID of article.
* @return int
*/
function getArticleId() {
return $this->getData('articleId');
}
/**
* Set ID of article.
* @param $articleId int
*/
function setArticleId($articleId) {
return $this->setData('articleId', $articleId);
}
/**
* Get ID of editor.
* @return int
*/
function getEditorId() {
return $this->getData('editorId');
}
/**
* Set ID of editor.
* @param $editorId int
*/
function setEditorId($editorId) {
return $this->setData('editorId', $editorId);
}
/**
* Get flag indicating whether this section editor can review this article. (Irrelevant if this is an editor.)
* @return boolean
*/
function getCanReview() {
return $this->getData('canReview');
}
/**
* Set flag indicating whether this section editor can review this article. (Irrelevant if this is an editor.)
* @param $canReview boolean
*/
function setCanReview($canReview) {
return $this->setData('canReview', $canReview);
}
/**
* Get flag indicating whether this section editor can edit this article. (Irrelevant if this is an editor.)
* @return boolean
*/
function getCanEdit() {
return $this->getData('canEdit');
}
/**
* Set flag indicating whether this section editor can edit this article. (Irrelevant if this is an editor.)
* @param $canEdit boolean
*/
function setCanEdit($canEdit) {
return $this->setData('canEdit', $canEdit);
}
/**
* Get flag indicating whether this entry is for an editor or a section editor.
* @return boolean
*/
function getIsEditor() {
return $this->getData('isEditor');
}
/**
* Set flag indicating whether this entry is for an editor or a section editor.
* @param $isEditor boolean
*/
function setIsEditor($isEditor) {
return $this->setData('isEditor', $isEditor);
}
/**
* Get date editor assigned.
* @return timestamp
*/
function getDateAssigned() {
return $this->getData('dateAssigned');
}
/**
* Set date editor assigned.
* @param $dateAssigned timestamp
*/
function setDateAssigned($dateAssigned) {
return $this->setData('dateAssigned', $dateAssigned);
}
/**
* Get date editor notified.
* @return timestamp
*/
function getDateNotified() {
return $this->getData('dateNotified');
}
/**
* Set date editor notified.
* @param $dateNotified timestamp
*/
function setDateNotified($dateNotified) {
return $this->setData('dateNotified', $dateNotified);
}
/**
* Get date editor underway.
* @return timestamp
*/
function getDateUnderway() {
return $this->getData('dateUnderway');
}
/**
* Set date editor underway.
* @param $dateUnderway timestamp
*/
function setDateUnderway($dateUnderway) {
return $this->setData('dateUnderway', $dateUnderway);
}
/**
* Get full name of editor.
* @return string
*/
function getEditorFullName() {
return $this->getData('editorFullName');
}
/**
* Set full name of editor.
* @param $editorFullName string
*/
function setEditorFullName($editorFullName) {
return $this->setData('editorFullName', $editorFullName);
}
/**
* Get first name of editor.
* @return string
*/
function getEditorFirstName() {
return $this->getData('editorFirstName');
}
/**
* Set first name of editor.
* @param $editorFirstName string
*/
function setEditorFirstName($editorFirstName) {
return $this->setData('editorFirstName', $editorFirstName);
}
/**
* Get last name of editor.
* @return string
*/
function getEditorLastName() {
return $this->getData('editorLastName');
}
/**
* Set last name of editor.
* @param $editorLastName string
*/
function setEditorLastName($editorLastName) {
return $this->setData('editorLastName', $editorLastName);
}
/**
* Get initials of editor.
* @return string
*/
function getEditorInitials() {
if ($this->getData('editorInitials')) {
return $this->getData('editorInitials');
} else {
return substr($this->getEditorFirstName(), 0, 1) . substr($this->getEditorLastName(), 0, 1);
}
}
/**
* Set initials of editor.
* @param $editorInitials string
*/
function setEditorInitials($editorInitials) {
return $this->setData('editorInitials', $editorInitials);
}
/**
* Get email of editor.
* @return string
*/
function getEditorEmail() {
return $this->getData('editorEmail');
}
/**
* Set full name of editor.
* @param $editorEmail string
*/
function setEditorEmail($editorEmail) {
return $this->setData('editorEmail', $editorEmail);
}
}
?>