00001 <?php
00002
00017
00018
00019
00020 class EditAssignment extends DataObject {
00021
00025 function EditAssignment() {
00026 parent::DataObject();
00027 }
00028
00029
00030
00031
00032
00037 function getEditId() {
00038 return $this->getData('editId');
00039 }
00040
00045 function setEditId($editId) {
00046 return $this->setData('editId', $editId);
00047 }
00048
00053 function getArticleId() {
00054 return $this->getData('articleId');
00055 }
00056
00061 function setArticleId($articleId) {
00062 return $this->setData('articleId', $articleId);
00063 }
00064
00069 function getEditorId() {
00070 return $this->getData('editorId');
00071 }
00072
00077 function setEditorId($editorId) {
00078 return $this->setData('editorId', $editorId);
00079 }
00080
00085 function getCanReview() {
00086 return $this->getData('canReview');
00087 }
00088
00093 function setCanReview($canReview) {
00094 return $this->setData('canReview', $canReview);
00095 }
00096
00101 function getCanEdit() {
00102 return $this->getData('canEdit');
00103 }
00104
00109 function setCanEdit($canEdit) {
00110 return $this->setData('canEdit', $canEdit);
00111 }
00112
00117 function getIsEditor() {
00118 return $this->getData('isEditor');
00119 }
00120
00125 function setIsEditor($isEditor) {
00126 return $this->setData('isEditor', $isEditor);
00127 }
00128
00133 function getDateNotified() {
00134 return $this->getData('dateNotified');
00135 }
00136
00141 function setDateNotified($dateNotified) {
00142 return $this->setData('dateNotified', $dateNotified);
00143 }
00144
00149 function getDateUnderway() {
00150 return $this->getData('dateUnderway');
00151 }
00152
00157 function setDateUnderway($dateUnderway) {
00158 return $this->setData('dateUnderway', $dateUnderway);
00159 }
00160
00165 function getEditorFullName() {
00166 return $this->getData('editorFullName');
00167 }
00168
00173 function setEditorFullName($editorFullName) {
00174 return $this->setData('editorFullName', $editorFullName);
00175 }
00176
00181 function getEditorFirstName() {
00182 return $this->getData('editorFirstName');
00183 }
00184
00189 function setEditorFirstName($editorFirstName) {
00190 return $this->setData('editorFirstName', $editorFirstName);
00191 }
00192
00197 function getEditorLastName() {
00198 return $this->getData('editorLastName');
00199 }
00200
00205 function setEditorLastName($editorLastName) {
00206 return $this->setData('editorLastName', $editorLastName);
00207 }
00208
00213 function getEditorInitials() {
00214 if ($this->getData('editorInitials')) {
00215 return $this->getData('editorInitials');
00216 } else {
00217 return substr($this->getEditorFirstName(), 0, 1) . substr($this->getEditorLastName(), 0, 1);
00218 }
00219 }
00220
00225 function setEditorInitials($editorInitials) {
00226 return $this->setData('editorInitials', $editorInitials);
00227 }
00228
00233 function getEditorEmail() {
00234 return $this->getData('editorEmail');
00235 }
00236
00241 function setEditorEmail($editorEmail) {
00242 return $this->setData('editorEmail', $editorEmail);
00243 }
00244 }
00245
00246 ?>