language.class.php 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  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 Language extends \Entity
  10. {
  11. /**
  12. * @return \Entity\Repository\LanguageRepository
  13. */
  14. public static function repository(){
  15. return \Entity\Repository\LanguageRepository::instance();
  16. }
  17. /**
  18. * @return \Entity\Language
  19. */
  20. public static function create(){
  21. return new self();
  22. }
  23. /**
  24. * @var boolean $id
  25. */
  26. protected $id;
  27. /**
  28. * @var string $original_name
  29. */
  30. protected $original_name;
  31. /**
  32. * @var string $english_name
  33. */
  34. protected $english_name;
  35. /**
  36. * @var string $isocode
  37. */
  38. protected $isocode;
  39. /**
  40. * @var string $dokeos_folder
  41. */
  42. protected $dokeos_folder;
  43. /**
  44. * @var boolean $available
  45. */
  46. protected $available;
  47. /**
  48. * @var boolean $parent_id
  49. */
  50. protected $parent_id;
  51. /**
  52. * Get id
  53. *
  54. * @return boolean
  55. */
  56. public function get_id()
  57. {
  58. return $this->id;
  59. }
  60. /**
  61. * Set original_name
  62. *
  63. * @param string $value
  64. * @return Language
  65. */
  66. public function set_original_name($value)
  67. {
  68. $this->original_name = $value;
  69. return $this;
  70. }
  71. /**
  72. * Get original_name
  73. *
  74. * @return string
  75. */
  76. public function get_original_name()
  77. {
  78. return $this->original_name;
  79. }
  80. /**
  81. * Set english_name
  82. *
  83. * @param string $value
  84. * @return Language
  85. */
  86. public function set_english_name($value)
  87. {
  88. $this->english_name = $value;
  89. return $this;
  90. }
  91. /**
  92. * Get english_name
  93. *
  94. * @return string
  95. */
  96. public function get_english_name()
  97. {
  98. return $this->english_name;
  99. }
  100. /**
  101. * Set isocode
  102. *
  103. * @param string $value
  104. * @return Language
  105. */
  106. public function set_isocode($value)
  107. {
  108. $this->isocode = $value;
  109. return $this;
  110. }
  111. /**
  112. * Get isocode
  113. *
  114. * @return string
  115. */
  116. public function get_isocode()
  117. {
  118. return $this->isocode;
  119. }
  120. /**
  121. * Set dokeos_folder
  122. *
  123. * @param string $value
  124. * @return Language
  125. */
  126. public function set_dokeos_folder($value)
  127. {
  128. $this->dokeos_folder = $value;
  129. return $this;
  130. }
  131. /**
  132. * Get dokeos_folder
  133. *
  134. * @return string
  135. */
  136. public function get_dokeos_folder()
  137. {
  138. return $this->dokeos_folder;
  139. }
  140. /**
  141. * Set available
  142. *
  143. * @param boolean $value
  144. * @return Language
  145. */
  146. public function set_available($value)
  147. {
  148. $this->available = $value;
  149. return $this;
  150. }
  151. /**
  152. * Get available
  153. *
  154. * @return boolean
  155. */
  156. public function get_available()
  157. {
  158. return $this->available;
  159. }
  160. /**
  161. * Set parent_id
  162. *
  163. * @param boolean $value
  164. * @return Language
  165. */
  166. public function set_parent_id($value)
  167. {
  168. $this->parent_id = $value;
  169. return $this;
  170. }
  171. /**
  172. * Get parent_id
  173. *
  174. * @return boolean
  175. */
  176. public function get_parent_id()
  177. {
  178. return $this->parent_id;
  179. }
  180. }