New proper types
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
parent
0961fbfdd7
commit
7aa3f7ace0
4 changed files with 31 additions and 10 deletions
|
|
@ -43,6 +43,13 @@ class Question extends Entity {
|
|||
protected $mandatory;
|
||||
protected $text;
|
||||
|
||||
const TYPES = [
|
||||
'short',
|
||||
'long',
|
||||
'multiple',
|
||||
'multiple_unique'
|
||||
];
|
||||
|
||||
public function __construct() {
|
||||
$this->addType('formId', 'integer');
|
||||
$this->addType('order', 'integer');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue