| 1 | <?php |
||
| 18 | class QuestionCategory extends AbstractModel |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * Title. |
||
| 22 | * |
||
| 23 | * @var string |
||
| 24 | * @DatabaseField(type="string") |
||
| 25 | */ |
||
| 26 | protected $title; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * Parent. |
||
| 30 | * |
||
| 31 | * @var QuestionCategory |
||
| 32 | * @DatabaseField(type="int", sql="int(11) DEFAULT '0' NOT NULL") |
||
| 33 | */ |
||
| 34 | protected $parent; |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @var int |
||
| 38 | */ |
||
| 39 | protected $_languageUid = 0; |
||
| 40 | |||
| 41 | /** |
||
| 42 | * Set the title. |
||
| 43 | * |
||
| 44 | * @param string $title |
||
| 45 | */ |
||
| 46 | public function setTitle(string $title): void |
||
| 50 | |||
| 51 | /** |
||
| 52 | * Get the title. |
||
| 53 | * |
||
| 54 | * @return string |
||
| 55 | */ |
||
| 56 | public function getTitle(): string |
||
| 60 | |||
| 61 | /** |
||
| 62 | * Set the parent. |
||
| 63 | * |
||
| 64 | * @param QuestionCategory $parent |
||
| 65 | */ |
||
| 66 | public function setParent(QuestionCategory $parent): void |
||
| 70 | |||
| 71 | /** |
||
| 72 | * Get the parent. |
||
| 73 | * |
||
| 74 | * @return QuestionCategory |
||
| 75 | */ |
||
| 76 | public function getParent(): QuestionCategory |
||
| 80 | |||
| 81 | /** |
||
| 82 | * Public getter for the languageUid. |
||
| 83 | * |
||
| 84 | * @return int |
||
| 85 | */ |
||
| 86 | public function getLanguageUid(): int |
||
| 90 | } |
||
| 91 |