Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
Comment.inc.php
1 <?php
2 
22 class Comment extends DataObject {
26  function Comment() {
27  parent::DataObject();
29  }
30 
35  function getChildCommentCount() {
36  return $this->getData('childCommentCount');
37  }
38 
43  function setChildCommentCount($childCommentCount) {
44  return $this->setData('childCommentCount', $childCommentCount);
45  }
46 
51  function getParentCommentId() {
52  return $this->getData('parentCommentId');
53  }
54 
59  function setParentCommentId($parentCommentId) {
60  return $this->setData('parentCommentId', $parentCommentId);
61  }
62 
67  function getSubmissionId() {
68  return $this->getData('submissionId');
69  }
70 
75  function setSubmissionId($submissionId) {
76  return $this->setData('submissionId', $submissionId);
77  }
78 
83  function getUser() {
84  return $this->getData('user');
85  }
86 
91  function setUser($user) {
92  return $this->setData('user', $user);
93  }
94 
98  function getPosterName() {
99  return $this->getData('posterName');
100  }
101 
106  function setPosterName($posterName) {
107  return $this->setData('posterName', $posterName);
108  }
109 
113  function getPosterEmail() {
114  return $this->getData('posterEmail');
115  }
116 
121  function setPosterEmail($posterEmail) {
122  return $this->setData('posterEmail', $posterEmail);
123  }
124 
129  function getPosterIP() {
130  return $this->getData('posterIP');
131  }
132 
137  function setPosterIP($posterIP) {
138  return $this->setData('posterIP', $posterIP);
139  }
140 
145  function getTitle() {
146  return $this->getData('title');
147  }
148 
153  function setTitle($title) {
154  return $this->setData('title', $title);
155  }
156 
161  function getBody() {
162  return $this->getData('body');
163  }
164 
169  function setBody($body) {
170  return $this->setData('body', $body);
171  }
172 
177  function getDatePosted() {
178  return $this->getData('datePosted');
179  }
180 
185  function setDatePosted($datePosted) {
186  return $this->setData('datePosted', $datePosted);
187  }
188 
193  function getDateModified() {
194  return $this->getData('dateModified');
195  }
196 
201  function setDateModified($dateModified) {
202  return $this->setData('dateModified', $dateModified);
203  }
204 
209  function &getChildren() {
210  $children =& $this->getData('children');
211  return $children;
212  }
213 
218  function setChildren(&$children) {
219  $this->setData('children', $children);
220  }
221 }
222 
223 ?>
getPosterName()
Definition: Comment.inc.php:98
setParentCommentId($parentCommentId)
Definition: Comment.inc.php:59
getSubmissionId()
Definition: Comment.inc.php:67
setSubmissionId($submissionId)
Definition: Comment.inc.php:75
setUser($user)
Definition: Comment.inc.php:91
Class for public Comment associated with submission.
Definition: Comment.inc.php:22
setPosterIP($posterIP)
& getData($key, $locale=null)
setBody($body)
setChildCommentCount($childCommentCount)
Definition: Comment.inc.php:43
setPosterEmail($posterEmail)
& getChildren()
getChildCommentCount()
Definition: Comment.inc.php:35
Any class with an associated DAO should extend this class.
setTitle($title)
setChildren(&$children)
setData($key, $value, $locale=null)
setDateModified($dateModified)
getDatePosted()
getDateModified()
getPosterEmail()
getParentCommentId()
Definition: Comment.inc.php:51
setPosterName($posterName)
setDatePosted($datePosted)