lp_item.class.php 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622
  1. <?php
  2. namespace Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. /**
  5. *
  6. * @license see /license.txt
  7. * @author autogenerated
  8. */
  9. class LpItem extends \CourseEntity
  10. {
  11. /**
  12. * @return \Entity\Repository\LpItemRepository
  13. */
  14. public static function repository(){
  15. return \Entity\Repository\LpItemRepository::instance();
  16. }
  17. /**
  18. * @return \Entity\LpItem
  19. */
  20. public static function create(){
  21. return new self();
  22. }
  23. /**
  24. * @var integer $c_id
  25. */
  26. protected $c_id;
  27. /**
  28. * @var integer $id
  29. */
  30. protected $id;
  31. /**
  32. * @var integer $lp_id
  33. */
  34. protected $lp_id;
  35. /**
  36. * @var string $item_type
  37. */
  38. protected $item_type;
  39. /**
  40. * @var text $ref
  41. */
  42. protected $ref;
  43. /**
  44. * @var string $title
  45. */
  46. protected $title;
  47. /**
  48. * @var string $description
  49. */
  50. protected $description;
  51. /**
  52. * @var text $path
  53. */
  54. protected $path;
  55. /**
  56. * @var float $min_score
  57. */
  58. protected $min_score;
  59. /**
  60. * @var float $max_score
  61. */
  62. protected $max_score;
  63. /**
  64. * @var float $mastery_score
  65. */
  66. protected $mastery_score;
  67. /**
  68. * @var integer $parent_item_id
  69. */
  70. protected $parent_item_id;
  71. /**
  72. * @var integer $previous_item_id
  73. */
  74. protected $previous_item_id;
  75. /**
  76. * @var integer $next_item_id
  77. */
  78. protected $next_item_id;
  79. /**
  80. * @var integer $display_order
  81. */
  82. protected $display_order;
  83. /**
  84. * @var text $prerequisite
  85. */
  86. protected $prerequisite;
  87. /**
  88. * @var text $parameters
  89. */
  90. protected $parameters;
  91. /**
  92. * @var text $launch_data
  93. */
  94. protected $launch_data;
  95. /**
  96. * @var string $max_time_allowed
  97. */
  98. protected $max_time_allowed;
  99. /**
  100. * @var text $terms
  101. */
  102. protected $terms;
  103. /**
  104. * @var integer $search_did
  105. */
  106. protected $search_did;
  107. /**
  108. * @var string $audio
  109. */
  110. protected $audio;
  111. /**
  112. * Set c_id
  113. *
  114. * @param integer $value
  115. * @return LpItem
  116. */
  117. public function set_c_id($value)
  118. {
  119. $this->c_id = $value;
  120. return $this;
  121. }
  122. /**
  123. * Get c_id
  124. *
  125. * @return integer
  126. */
  127. public function get_c_id()
  128. {
  129. return $this->c_id;
  130. }
  131. /**
  132. * Set id
  133. *
  134. * @param integer $value
  135. * @return LpItem
  136. */
  137. public function set_id($value)
  138. {
  139. $this->id = $value;
  140. return $this;
  141. }
  142. /**
  143. * Get id
  144. *
  145. * @return integer
  146. */
  147. public function get_id()
  148. {
  149. return $this->id;
  150. }
  151. /**
  152. * Set lp_id
  153. *
  154. * @param integer $value
  155. * @return LpItem
  156. */
  157. public function set_lp_id($value)
  158. {
  159. $this->lp_id = $value;
  160. return $this;
  161. }
  162. /**
  163. * Get lp_id
  164. *
  165. * @return integer
  166. */
  167. public function get_lp_id()
  168. {
  169. return $this->lp_id;
  170. }
  171. /**
  172. * Set item_type
  173. *
  174. * @param string $value
  175. * @return LpItem
  176. */
  177. public function set_item_type($value)
  178. {
  179. $this->item_type = $value;
  180. return $this;
  181. }
  182. /**
  183. * Get item_type
  184. *
  185. * @return string
  186. */
  187. public function get_item_type()
  188. {
  189. return $this->item_type;
  190. }
  191. /**
  192. * Set ref
  193. *
  194. * @param text $value
  195. * @return LpItem
  196. */
  197. public function set_ref($value)
  198. {
  199. $this->ref = $value;
  200. return $this;
  201. }
  202. /**
  203. * Get ref
  204. *
  205. * @return text
  206. */
  207. public function get_ref()
  208. {
  209. return $this->ref;
  210. }
  211. /**
  212. * Set title
  213. *
  214. * @param string $value
  215. * @return LpItem
  216. */
  217. public function set_title($value)
  218. {
  219. $this->title = $value;
  220. return $this;
  221. }
  222. /**
  223. * Get title
  224. *
  225. * @return string
  226. */
  227. public function get_title()
  228. {
  229. return $this->title;
  230. }
  231. /**
  232. * Set description
  233. *
  234. * @param string $value
  235. * @return LpItem
  236. */
  237. public function set_description($value)
  238. {
  239. $this->description = $value;
  240. return $this;
  241. }
  242. /**
  243. * Get description
  244. *
  245. * @return string
  246. */
  247. public function get_description()
  248. {
  249. return $this->description;
  250. }
  251. /**
  252. * Set path
  253. *
  254. * @param text $value
  255. * @return LpItem
  256. */
  257. public function set_path($value)
  258. {
  259. $this->path = $value;
  260. return $this;
  261. }
  262. /**
  263. * Get path
  264. *
  265. * @return text
  266. */
  267. public function get_path()
  268. {
  269. return $this->path;
  270. }
  271. /**
  272. * Set min_score
  273. *
  274. * @param float $value
  275. * @return LpItem
  276. */
  277. public function set_min_score($value)
  278. {
  279. $this->min_score = $value;
  280. return $this;
  281. }
  282. /**
  283. * Get min_score
  284. *
  285. * @return float
  286. */
  287. public function get_min_score()
  288. {
  289. return $this->min_score;
  290. }
  291. /**
  292. * Set max_score
  293. *
  294. * @param float $value
  295. * @return LpItem
  296. */
  297. public function set_max_score($value)
  298. {
  299. $this->max_score = $value;
  300. return $this;
  301. }
  302. /**
  303. * Get max_score
  304. *
  305. * @return float
  306. */
  307. public function get_max_score()
  308. {
  309. return $this->max_score;
  310. }
  311. /**
  312. * Set mastery_score
  313. *
  314. * @param float $value
  315. * @return LpItem
  316. */
  317. public function set_mastery_score($value)
  318. {
  319. $this->mastery_score = $value;
  320. return $this;
  321. }
  322. /**
  323. * Get mastery_score
  324. *
  325. * @return float
  326. */
  327. public function get_mastery_score()
  328. {
  329. return $this->mastery_score;
  330. }
  331. /**
  332. * Set parent_item_id
  333. *
  334. * @param integer $value
  335. * @return LpItem
  336. */
  337. public function set_parent_item_id($value)
  338. {
  339. $this->parent_item_id = $value;
  340. return $this;
  341. }
  342. /**
  343. * Get parent_item_id
  344. *
  345. * @return integer
  346. */
  347. public function get_parent_item_id()
  348. {
  349. return $this->parent_item_id;
  350. }
  351. /**
  352. * Set previous_item_id
  353. *
  354. * @param integer $value
  355. * @return LpItem
  356. */
  357. public function set_previous_item_id($value)
  358. {
  359. $this->previous_item_id = $value;
  360. return $this;
  361. }
  362. /**
  363. * Get previous_item_id
  364. *
  365. * @return integer
  366. */
  367. public function get_previous_item_id()
  368. {
  369. return $this->previous_item_id;
  370. }
  371. /**
  372. * Set next_item_id
  373. *
  374. * @param integer $value
  375. * @return LpItem
  376. */
  377. public function set_next_item_id($value)
  378. {
  379. $this->next_item_id = $value;
  380. return $this;
  381. }
  382. /**
  383. * Get next_item_id
  384. *
  385. * @return integer
  386. */
  387. public function get_next_item_id()
  388. {
  389. return $this->next_item_id;
  390. }
  391. /**
  392. * Set display_order
  393. *
  394. * @param integer $value
  395. * @return LpItem
  396. */
  397. public function set_display_order($value)
  398. {
  399. $this->display_order = $value;
  400. return $this;
  401. }
  402. /**
  403. * Get display_order
  404. *
  405. * @return integer
  406. */
  407. public function get_display_order()
  408. {
  409. return $this->display_order;
  410. }
  411. /**
  412. * Set prerequisite
  413. *
  414. * @param text $value
  415. * @return LpItem
  416. */
  417. public function set_prerequisite($value)
  418. {
  419. $this->prerequisite = $value;
  420. return $this;
  421. }
  422. /**
  423. * Get prerequisite
  424. *
  425. * @return text
  426. */
  427. public function get_prerequisite()
  428. {
  429. return $this->prerequisite;
  430. }
  431. /**
  432. * Set parameters
  433. *
  434. * @param text $value
  435. * @return LpItem
  436. */
  437. public function set_parameters($value)
  438. {
  439. $this->parameters = $value;
  440. return $this;
  441. }
  442. /**
  443. * Get parameters
  444. *
  445. * @return text
  446. */
  447. public function get_parameters()
  448. {
  449. return $this->parameters;
  450. }
  451. /**
  452. * Set launch_data
  453. *
  454. * @param text $value
  455. * @return LpItem
  456. */
  457. public function set_launch_data($value)
  458. {
  459. $this->launch_data = $value;
  460. return $this;
  461. }
  462. /**
  463. * Get launch_data
  464. *
  465. * @return text
  466. */
  467. public function get_launch_data()
  468. {
  469. return $this->launch_data;
  470. }
  471. /**
  472. * Set max_time_allowed
  473. *
  474. * @param string $value
  475. * @return LpItem
  476. */
  477. public function set_max_time_allowed($value)
  478. {
  479. $this->max_time_allowed = $value;
  480. return $this;
  481. }
  482. /**
  483. * Get max_time_allowed
  484. *
  485. * @return string
  486. */
  487. public function get_max_time_allowed()
  488. {
  489. return $this->max_time_allowed;
  490. }
  491. /**
  492. * Set terms
  493. *
  494. * @param text $value
  495. * @return LpItem
  496. */
  497. public function set_terms($value)
  498. {
  499. $this->terms = $value;
  500. return $this;
  501. }
  502. /**
  503. * Get terms
  504. *
  505. * @return text
  506. */
  507. public function get_terms()
  508. {
  509. return $this->terms;
  510. }
  511. /**
  512. * Set search_did
  513. *
  514. * @param integer $value
  515. * @return LpItem
  516. */
  517. public function set_search_did($value)
  518. {
  519. $this->search_did = $value;
  520. return $this;
  521. }
  522. /**
  523. * Get search_did
  524. *
  525. * @return integer
  526. */
  527. public function get_search_did()
  528. {
  529. return $this->search_did;
  530. }
  531. /**
  532. * Set audio
  533. *
  534. * @param string $value
  535. * @return LpItem
  536. */
  537. public function set_audio($value)
  538. {
  539. $this->audio = $value;
  540. return $this;
  541. }
  542. /**
  543. * Get audio
  544. *
  545. * @return string
  546. */
  547. public function get_audio()
  548. {
  549. return $this->audio;
  550. }
  551. }