lp.class.php 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838
  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 Lp extends \CourseEntity
  10. {
  11. /**
  12. * @return \Entity\Repository\LpRepository
  13. */
  14. public static function repository(){
  15. return \Entity\Repository\LpRepository::instance();
  16. }
  17. /**
  18. * @return \Entity\Lp
  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_type
  33. */
  34. protected $lp_type;
  35. /**
  36. * @var string $name
  37. */
  38. protected $name;
  39. /**
  40. * @var text $ref
  41. */
  42. protected $ref;
  43. /**
  44. * @var text $description
  45. */
  46. protected $description;
  47. /**
  48. * @var text $path
  49. */
  50. protected $path;
  51. /**
  52. * @var boolean $force_commit
  53. */
  54. protected $force_commit;
  55. /**
  56. * @var string $default_view_mod
  57. */
  58. protected $default_view_mod;
  59. /**
  60. * @var string $default_encoding
  61. */
  62. protected $default_encoding;
  63. /**
  64. * @var integer $display_order
  65. */
  66. protected $display_order;
  67. /**
  68. * @var text $content_maker
  69. */
  70. protected $content_maker;
  71. /**
  72. * @var string $content_local
  73. */
  74. protected $content_local;
  75. /**
  76. * @var text $content_license
  77. */
  78. protected $content_license;
  79. /**
  80. * @var boolean $prevent_reinit
  81. */
  82. protected $prevent_reinit;
  83. /**
  84. * @var text $js_lib
  85. */
  86. protected $js_lib;
  87. /**
  88. * @var boolean $debug
  89. */
  90. protected $debug;
  91. /**
  92. * @var string $theme
  93. */
  94. protected $theme;
  95. /**
  96. * @var string $preview_image
  97. */
  98. protected $preview_image;
  99. /**
  100. * @var string $author
  101. */
  102. protected $author;
  103. /**
  104. * @var integer $session_id
  105. */
  106. protected $session_id;
  107. /**
  108. * @var integer $prerequisite
  109. */
  110. protected $prerequisite;
  111. /**
  112. * @var boolean $hide_toc_frame
  113. */
  114. protected $hide_toc_frame;
  115. /**
  116. * @var boolean $seriousgame_mode
  117. */
  118. protected $seriousgame_mode;
  119. /**
  120. * @var integer $use_max_score
  121. */
  122. protected $use_max_score;
  123. /**
  124. * @var integer $autolunch
  125. */
  126. protected $autolunch;
  127. /**
  128. * @var datetime $created_on
  129. */
  130. protected $created_on;
  131. /**
  132. * @var datetime $modified_on
  133. */
  134. protected $modified_on;
  135. /**
  136. * @var datetime $publicated_on
  137. */
  138. protected $publicated_on;
  139. /**
  140. * @var datetime $expired_on
  141. */
  142. protected $expired_on;
  143. /**
  144. * Set c_id
  145. *
  146. * @param integer $value
  147. * @return Lp
  148. */
  149. public function set_c_id($value)
  150. {
  151. $this->c_id = $value;
  152. return $this;
  153. }
  154. /**
  155. * Get c_id
  156. *
  157. * @return integer
  158. */
  159. public function get_c_id()
  160. {
  161. return $this->c_id;
  162. }
  163. /**
  164. * Set id
  165. *
  166. * @param integer $value
  167. * @return Lp
  168. */
  169. public function set_id($value)
  170. {
  171. $this->id = $value;
  172. return $this;
  173. }
  174. /**
  175. * Get id
  176. *
  177. * @return integer
  178. */
  179. public function get_id()
  180. {
  181. return $this->id;
  182. }
  183. /**
  184. * Set lp_type
  185. *
  186. * @param integer $value
  187. * @return Lp
  188. */
  189. public function set_lp_type($value)
  190. {
  191. $this->lp_type = $value;
  192. return $this;
  193. }
  194. /**
  195. * Get lp_type
  196. *
  197. * @return integer
  198. */
  199. public function get_lp_type()
  200. {
  201. return $this->lp_type;
  202. }
  203. /**
  204. * Set name
  205. *
  206. * @param string $value
  207. * @return Lp
  208. */
  209. public function set_name($value)
  210. {
  211. $this->name = $value;
  212. return $this;
  213. }
  214. /**
  215. * Get name
  216. *
  217. * @return string
  218. */
  219. public function get_name()
  220. {
  221. return $this->name;
  222. }
  223. /**
  224. * Set ref
  225. *
  226. * @param text $value
  227. * @return Lp
  228. */
  229. public function set_ref($value)
  230. {
  231. $this->ref = $value;
  232. return $this;
  233. }
  234. /**
  235. * Get ref
  236. *
  237. * @return text
  238. */
  239. public function get_ref()
  240. {
  241. return $this->ref;
  242. }
  243. /**
  244. * Set description
  245. *
  246. * @param text $value
  247. * @return Lp
  248. */
  249. public function set_description($value)
  250. {
  251. $this->description = $value;
  252. return $this;
  253. }
  254. /**
  255. * Get description
  256. *
  257. * @return text
  258. */
  259. public function get_description()
  260. {
  261. return $this->description;
  262. }
  263. /**
  264. * Set path
  265. *
  266. * @param text $value
  267. * @return Lp
  268. */
  269. public function set_path($value)
  270. {
  271. $this->path = $value;
  272. return $this;
  273. }
  274. /**
  275. * Get path
  276. *
  277. * @return text
  278. */
  279. public function get_path()
  280. {
  281. return $this->path;
  282. }
  283. /**
  284. * Set force_commit
  285. *
  286. * @param boolean $value
  287. * @return Lp
  288. */
  289. public function set_force_commit($value)
  290. {
  291. $this->force_commit = $value;
  292. return $this;
  293. }
  294. /**
  295. * Get force_commit
  296. *
  297. * @return boolean
  298. */
  299. public function get_force_commit()
  300. {
  301. return $this->force_commit;
  302. }
  303. /**
  304. * Set default_view_mod
  305. *
  306. * @param string $value
  307. * @return Lp
  308. */
  309. public function set_default_view_mod($value)
  310. {
  311. $this->default_view_mod = $value;
  312. return $this;
  313. }
  314. /**
  315. * Get default_view_mod
  316. *
  317. * @return string
  318. */
  319. public function get_default_view_mod()
  320. {
  321. return $this->default_view_mod;
  322. }
  323. /**
  324. * Set default_encoding
  325. *
  326. * @param string $value
  327. * @return Lp
  328. */
  329. public function set_default_encoding($value)
  330. {
  331. $this->default_encoding = $value;
  332. return $this;
  333. }
  334. /**
  335. * Get default_encoding
  336. *
  337. * @return string
  338. */
  339. public function get_default_encoding()
  340. {
  341. return $this->default_encoding;
  342. }
  343. /**
  344. * Set display_order
  345. *
  346. * @param integer $value
  347. * @return Lp
  348. */
  349. public function set_display_order($value)
  350. {
  351. $this->display_order = $value;
  352. return $this;
  353. }
  354. /**
  355. * Get display_order
  356. *
  357. * @return integer
  358. */
  359. public function get_display_order()
  360. {
  361. return $this->display_order;
  362. }
  363. /**
  364. * Set content_maker
  365. *
  366. * @param text $value
  367. * @return Lp
  368. */
  369. public function set_content_maker($value)
  370. {
  371. $this->content_maker = $value;
  372. return $this;
  373. }
  374. /**
  375. * Get content_maker
  376. *
  377. * @return text
  378. */
  379. public function get_content_maker()
  380. {
  381. return $this->content_maker;
  382. }
  383. /**
  384. * Set content_local
  385. *
  386. * @param string $value
  387. * @return Lp
  388. */
  389. public function set_content_local($value)
  390. {
  391. $this->content_local = $value;
  392. return $this;
  393. }
  394. /**
  395. * Get content_local
  396. *
  397. * @return string
  398. */
  399. public function get_content_local()
  400. {
  401. return $this->content_local;
  402. }
  403. /**
  404. * Set content_license
  405. *
  406. * @param text $value
  407. * @return Lp
  408. */
  409. public function set_content_license($value)
  410. {
  411. $this->content_license = $value;
  412. return $this;
  413. }
  414. /**
  415. * Get content_license
  416. *
  417. * @return text
  418. */
  419. public function get_content_license()
  420. {
  421. return $this->content_license;
  422. }
  423. /**
  424. * Set prevent_reinit
  425. *
  426. * @param boolean $value
  427. * @return Lp
  428. */
  429. public function set_prevent_reinit($value)
  430. {
  431. $this->prevent_reinit = $value;
  432. return $this;
  433. }
  434. /**
  435. * Get prevent_reinit
  436. *
  437. * @return boolean
  438. */
  439. public function get_prevent_reinit()
  440. {
  441. return $this->prevent_reinit;
  442. }
  443. /**
  444. * Set js_lib
  445. *
  446. * @param text $value
  447. * @return Lp
  448. */
  449. public function set_js_lib($value)
  450. {
  451. $this->js_lib = $value;
  452. return $this;
  453. }
  454. /**
  455. * Get js_lib
  456. *
  457. * @return text
  458. */
  459. public function get_js_lib()
  460. {
  461. return $this->js_lib;
  462. }
  463. /**
  464. * Set debug
  465. *
  466. * @param boolean $value
  467. * @return Lp
  468. */
  469. public function set_debug($value)
  470. {
  471. $this->debug = $value;
  472. return $this;
  473. }
  474. /**
  475. * Get debug
  476. *
  477. * @return boolean
  478. */
  479. public function get_debug()
  480. {
  481. return $this->debug;
  482. }
  483. /**
  484. * Set theme
  485. *
  486. * @param string $value
  487. * @return Lp
  488. */
  489. public function set_theme($value)
  490. {
  491. $this->theme = $value;
  492. return $this;
  493. }
  494. /**
  495. * Get theme
  496. *
  497. * @return string
  498. */
  499. public function get_theme()
  500. {
  501. return $this->theme;
  502. }
  503. /**
  504. * Set preview_image
  505. *
  506. * @param string $value
  507. * @return Lp
  508. */
  509. public function set_preview_image($value)
  510. {
  511. $this->preview_image = $value;
  512. return $this;
  513. }
  514. /**
  515. * Get preview_image
  516. *
  517. * @return string
  518. */
  519. public function get_preview_image()
  520. {
  521. return $this->preview_image;
  522. }
  523. /**
  524. * Set author
  525. *
  526. * @param string $value
  527. * @return Lp
  528. */
  529. public function set_author($value)
  530. {
  531. $this->author = $value;
  532. return $this;
  533. }
  534. /**
  535. * Get author
  536. *
  537. * @return string
  538. */
  539. public function get_author()
  540. {
  541. return $this->author;
  542. }
  543. /**
  544. * Set session_id
  545. *
  546. * @param integer $value
  547. * @return Lp
  548. */
  549. public function set_session_id($value)
  550. {
  551. $this->session_id = $value;
  552. return $this;
  553. }
  554. /**
  555. * Get session_id
  556. *
  557. * @return integer
  558. */
  559. public function get_session_id()
  560. {
  561. return $this->session_id;
  562. }
  563. /**
  564. * Set prerequisite
  565. *
  566. * @param integer $value
  567. * @return Lp
  568. */
  569. public function set_prerequisite($value)
  570. {
  571. $this->prerequisite = $value;
  572. return $this;
  573. }
  574. /**
  575. * Get prerequisite
  576. *
  577. * @return integer
  578. */
  579. public function get_prerequisite()
  580. {
  581. return $this->prerequisite;
  582. }
  583. /**
  584. * Set hide_toc_frame
  585. *
  586. * @param boolean $value
  587. * @return Lp
  588. */
  589. public function set_hide_toc_frame($value)
  590. {
  591. $this->hide_toc_frame = $value;
  592. return $this;
  593. }
  594. /**
  595. * Get hide_toc_frame
  596. *
  597. * @return boolean
  598. */
  599. public function get_hide_toc_frame()
  600. {
  601. return $this->hide_toc_frame;
  602. }
  603. /**
  604. * Set seriousgame_mode
  605. *
  606. * @param boolean $value
  607. * @return Lp
  608. */
  609. public function set_seriousgame_mode($value)
  610. {
  611. $this->seriousgame_mode = $value;
  612. return $this;
  613. }
  614. /**
  615. * Get seriousgame_mode
  616. *
  617. * @return boolean
  618. */
  619. public function get_seriousgame_mode()
  620. {
  621. return $this->seriousgame_mode;
  622. }
  623. /**
  624. * Set use_max_score
  625. *
  626. * @param integer $value
  627. * @return Lp
  628. */
  629. public function set_use_max_score($value)
  630. {
  631. $this->use_max_score = $value;
  632. return $this;
  633. }
  634. /**
  635. * Get use_max_score
  636. *
  637. * @return integer
  638. */
  639. public function get_use_max_score()
  640. {
  641. return $this->use_max_score;
  642. }
  643. /**
  644. * Set autolunch
  645. *
  646. * @param integer $value
  647. * @return Lp
  648. */
  649. public function set_autolunch($value)
  650. {
  651. $this->autolunch = $value;
  652. return $this;
  653. }
  654. /**
  655. * Get autolunch
  656. *
  657. * @return integer
  658. */
  659. public function get_autolunch()
  660. {
  661. return $this->autolunch;
  662. }
  663. /**
  664. * Set created_on
  665. *
  666. * @param datetime $value
  667. * @return Lp
  668. */
  669. public function set_created_on($value)
  670. {
  671. $this->created_on = $value;
  672. return $this;
  673. }
  674. /**
  675. * Get created_on
  676. *
  677. * @return datetime
  678. */
  679. public function get_created_on()
  680. {
  681. return $this->created_on;
  682. }
  683. /**
  684. * Set modified_on
  685. *
  686. * @param datetime $value
  687. * @return Lp
  688. */
  689. public function set_modified_on($value)
  690. {
  691. $this->modified_on = $value;
  692. return $this;
  693. }
  694. /**
  695. * Get modified_on
  696. *
  697. * @return datetime
  698. */
  699. public function get_modified_on()
  700. {
  701. return $this->modified_on;
  702. }
  703. /**
  704. * Set publicated_on
  705. *
  706. * @param datetime $value
  707. * @return Lp
  708. */
  709. public function set_publicated_on($value)
  710. {
  711. $this->publicated_on = $value;
  712. return $this;
  713. }
  714. /**
  715. * Get publicated_on
  716. *
  717. * @return datetime
  718. */
  719. public function get_publicated_on()
  720. {
  721. return $this->publicated_on;
  722. }
  723. /**
  724. * Set expired_on
  725. *
  726. * @param datetime $value
  727. * @return Lp
  728. */
  729. public function set_expired_on($value)
  730. {
  731. $this->expired_on = $value;
  732. return $this;
  733. }
  734. /**
  735. * Get expired_on
  736. *
  737. * @return datetime
  738. */
  739. public function get_expired_on()
  740. {
  741. return $this->expired_on;
  742. }
  743. }