link.class.php 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298
  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 Link extends \CourseEntity
  10. {
  11. /**
  12. * @return \Entity\Repository\LinkRepository
  13. */
  14. public static function repository(){
  15. return \Entity\Repository\LinkRepository::instance();
  16. }
  17. /**
  18. * @return \Entity\Link
  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 text $url
  33. */
  34. protected $url;
  35. /**
  36. * @var string $title
  37. */
  38. protected $title;
  39. /**
  40. * @var text $description
  41. */
  42. protected $description;
  43. /**
  44. * @var integer $category_id
  45. */
  46. protected $category_id;
  47. /**
  48. * @var integer $display_order
  49. */
  50. protected $display_order;
  51. /**
  52. * @var string $on_homepage
  53. */
  54. protected $on_homepage;
  55. /**
  56. * @var string $target
  57. */
  58. protected $target;
  59. /**
  60. * @var integer $session_id
  61. */
  62. protected $session_id;
  63. /**
  64. * Set c_id
  65. *
  66. * @param integer $value
  67. * @return Link
  68. */
  69. public function set_c_id($value)
  70. {
  71. $this->c_id = $value;
  72. return $this;
  73. }
  74. /**
  75. * Get c_id
  76. *
  77. * @return integer
  78. */
  79. public function get_c_id()
  80. {
  81. return $this->c_id;
  82. }
  83. /**
  84. * Set id
  85. *
  86. * @param integer $value
  87. * @return Link
  88. */
  89. public function set_id($value)
  90. {
  91. $this->id = $value;
  92. return $this;
  93. }
  94. /**
  95. * Get id
  96. *
  97. * @return integer
  98. */
  99. public function get_id()
  100. {
  101. return $this->id;
  102. }
  103. /**
  104. * Set url
  105. *
  106. * @param text $value
  107. * @return Link
  108. */
  109. public function set_url($value)
  110. {
  111. $this->url = $value;
  112. return $this;
  113. }
  114. /**
  115. * Get url
  116. *
  117. * @return text
  118. */
  119. public function get_url()
  120. {
  121. return $this->url;
  122. }
  123. /**
  124. * Set title
  125. *
  126. * @param string $value
  127. * @return Link
  128. */
  129. public function set_title($value)
  130. {
  131. $this->title = $value;
  132. return $this;
  133. }
  134. /**
  135. * Get title
  136. *
  137. * @return string
  138. */
  139. public function get_title()
  140. {
  141. return $this->title;
  142. }
  143. /**
  144. * Set description
  145. *
  146. * @param text $value
  147. * @return Link
  148. */
  149. public function set_description($value)
  150. {
  151. $this->description = $value;
  152. return $this;
  153. }
  154. /**
  155. * Get description
  156. *
  157. * @return text
  158. */
  159. public function get_description()
  160. {
  161. return $this->description;
  162. }
  163. /**
  164. * Set category_id
  165. *
  166. * @param integer $value
  167. * @return Link
  168. */
  169. public function set_category_id($value)
  170. {
  171. $this->category_id = $value;
  172. return $this;
  173. }
  174. /**
  175. * Get category_id
  176. *
  177. * @return integer
  178. */
  179. public function get_category_id()
  180. {
  181. return $this->category_id;
  182. }
  183. /**
  184. * Set display_order
  185. *
  186. * @param integer $value
  187. * @return Link
  188. */
  189. public function set_display_order($value)
  190. {
  191. $this->display_order = $value;
  192. return $this;
  193. }
  194. /**
  195. * Get display_order
  196. *
  197. * @return integer
  198. */
  199. public function get_display_order()
  200. {
  201. return $this->display_order;
  202. }
  203. /**
  204. * Set on_homepage
  205. *
  206. * @param string $value
  207. * @return Link
  208. */
  209. public function set_on_homepage($value)
  210. {
  211. $this->on_homepage = $value;
  212. return $this;
  213. }
  214. /**
  215. * Get on_homepage
  216. *
  217. * @return string
  218. */
  219. public function get_on_homepage()
  220. {
  221. return $this->on_homepage;
  222. }
  223. /**
  224. * Set target
  225. *
  226. * @param string $value
  227. * @return Link
  228. */
  229. public function set_target($value)
  230. {
  231. $this->target = $value;
  232. return $this;
  233. }
  234. /**
  235. * Get target
  236. *
  237. * @return string
  238. */
  239. public function get_target()
  240. {
  241. return $this->target;
  242. }
  243. /**
  244. * Set session_id
  245. *
  246. * @param integer $value
  247. * @return Link
  248. */
  249. public function set_session_id($value)
  250. {
  251. $this->session_id = $value;
  252. return $this;
  253. }
  254. /**
  255. * Get session_id
  256. *
  257. * @return integer
  258. */
  259. public function get_session_id()
  260. {
  261. return $this->session_id;
  262. }
  263. }