PageRenderTime 62ms CodeModel.GetById 29ms RepoModel.GetById 1ms app.codeStats 0ms

/wspp/forumRecord.php

https://bitbucket.org/systime/screening2
PHP | 261 lines | 158 code | 39 blank | 64 comment | 0 complexity | df6cb56fc12ea769f973e2d1dcf60484 MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.1, GPL-3.0, BSD-3-Clause, LGPL-2.0
  1. <?php
  2. /**
  3. *
  4. * @package MoodleWS
  5. * @copyright (c) P.Pollet 2007 under GPL
  6. */
  7. class forumRecord {
  8. /**
  9. * @var string
  10. */
  11. public $error;
  12. /**
  13. * @var integer
  14. */
  15. public $id;
  16. /**
  17. * @var integer
  18. */
  19. public $course;
  20. /**
  21. * @var string
  22. */
  23. public $type;
  24. /**
  25. * @var string
  26. */
  27. public $name;
  28. /**
  29. * @var string
  30. */
  31. public $intro;
  32. /**
  33. * @var integer
  34. */
  35. public $assessed;
  36. /**
  37. * @var integer
  38. */
  39. public $assesstimestart;
  40. /**
  41. * @var integer
  42. */
  43. public $assesstimefinish;
  44. /**
  45. * @var integer
  46. */
  47. public $scale;
  48. /**
  49. * @var integer
  50. */
  51. public $maxbytes;
  52. /**
  53. * @var integer
  54. */
  55. public $forcesubscribe;
  56. /**
  57. * @var integer
  58. */
  59. public $trackingtype;
  60. /**
  61. * @var integer
  62. */
  63. public $rsstype;
  64. /**
  65. * @var integer
  66. */
  67. public $rssarticles;
  68. /**
  69. * @var integer
  70. */
  71. public $timemodified;
  72. /**
  73. * @var integer
  74. */
  75. public $warnafter;
  76. /**
  77. * @var integer
  78. */
  79. public $blockafter;
  80. /**
  81. * @var integer
  82. */
  83. public $blockperiod;
  84. public function forumRecord() {
  85. $this->error='';
  86. $this->id=0;
  87. $this->course=0;
  88. $this->type='';
  89. $this->name='';
  90. $this->intro='';
  91. $this->assessed=0;
  92. $this->assesstimestart=0;
  93. $this->assesstimefinish=0;
  94. $this->scale=0;
  95. $this->maxbytes=0;
  96. $this->forcesubscribe=0;
  97. $this->trackingtype=0;
  98. $this->rsstype=0;
  99. $this->rssarticles=0;
  100. $this->timemodified=0;
  101. $this->warnafter=0;
  102. $this->blockafter=0;
  103. $this->blockperiod=0;
  104. }
  105. /* get accessors */
  106. public function getError(){
  107. return $this->error;
  108. }
  109. public function getId(){
  110. return $this->id;
  111. }
  112. public function getCourse(){
  113. return $this->course;
  114. }
  115. public function getType(){
  116. return $this->type;
  117. }
  118. public function getName(){
  119. return $this->name;
  120. }
  121. public function getIntro(){
  122. return $this->intro;
  123. }
  124. public function getAssessed(){
  125. return $this->assessed;
  126. }
  127. public function getAssesstimestart(){
  128. return $this->assesstimestart;
  129. }
  130. public function getAssesstimefinish(){
  131. return $this->assesstimefinish;
  132. }
  133. public function getScale(){
  134. return $this->scale;
  135. }
  136. public function getMaxbytes(){
  137. return $this->maxbytes;
  138. }
  139. public function getForcesubscribe(){
  140. return $this->forcesubscribe;
  141. }
  142. public function getTrackingtype(){
  143. return $this->trackingtype;
  144. }
  145. public function getRsstype(){
  146. return $this->rsstype;
  147. }
  148. public function getRssarticles(){
  149. return $this->rssarticles;
  150. }
  151. public function getTimemodified(){
  152. return $this->timemodified;
  153. }
  154. public function getWarnafter(){
  155. return $this->warnafter;
  156. }
  157. public function getBlockafter(){
  158. return $this->blockafter;
  159. }
  160. public function getBlockperiod(){
  161. return $this->blockperiod;
  162. }
  163. /*set accessors */
  164. public function setError($error){
  165. $this->error=$error;
  166. }
  167. public function setId($id){
  168. $this->id=$id;
  169. }
  170. public function setCourse($course){
  171. $this->course=$course;
  172. }
  173. public function setType($type){
  174. $this->type=$type;
  175. }
  176. public function setName($name){
  177. $this->name=$name;
  178. }
  179. public function setIntro($intro){
  180. $this->intro=$intro;
  181. }
  182. public function setAssessed($assessed){
  183. $this->assessed=$assessed;
  184. }
  185. public function setAssesstimestart($assesstimestart){
  186. $this->assesstimestart=$assesstimestart;
  187. }
  188. public function setAssesstimefinish($assesstimefinish){
  189. $this->assesstimefinish=$assesstimefinish;
  190. }
  191. public function setScale($scale){
  192. $this->scale=$scale;
  193. }
  194. public function setMaxbytes($maxbytes){
  195. $this->maxbytes=$maxbytes;
  196. }
  197. public function setForcesubscribe($forcesubscribe){
  198. $this->forcesubscribe=$forcesubscribe;
  199. }
  200. public function setTrackingtype($trackingtype){
  201. $this->trackingtype=$trackingtype;
  202. }
  203. public function setRsstype($rsstype){
  204. $this->rsstype=$rsstype;
  205. }
  206. public function setRssarticles($rssarticles){
  207. $this->rssarticles=$rssarticles;
  208. }
  209. public function setTimemodified($timemodified){
  210. $this->timemodified=$timemodified;
  211. }
  212. public function setWarnafter($warnafter){
  213. $this->warnafter=$warnafter;
  214. }
  215. public function setBlockafter($blockafter){
  216. $this->blockafter=$blockafter;
  217. }
  218. public function setBlockperiod($blockperiod){
  219. $this->blockperiod=$blockperiod;
  220. }
  221. }
  222. ?>