Version 1.0.3
This commit is contained in:
parent
da21b60ef0
commit
1fce2a39fb
30 changed files with 174 additions and 1006 deletions
|
|
@ -38,6 +38,8 @@ use OCP\AppFramework\Db\Entity;
|
|||
* @method void setVoteOptionText(string $value)
|
||||
* @method string getVoteAnswer()
|
||||
* @method void setVoteAnswer(string $value)
|
||||
* @method string getVoteOptionType()
|
||||
* @method void setVoteOptionType(string $value)
|
||||
*/
|
||||
class Vote extends Model {
|
||||
protected $formId;
|
||||
|
|
@ -45,6 +47,7 @@ class Vote extends Model {
|
|||
protected $voteOptionId;
|
||||
protected $voteOptionText;
|
||||
protected $voteAnswer;
|
||||
protected $voteOptionType;
|
||||
|
||||
/**
|
||||
* Options constructor.
|
||||
|
|
@ -60,7 +63,8 @@ class Vote extends Model {
|
|||
'userId' => $this->getUserId(),
|
||||
'voteOptionId' => $this->getVoteOptionId(),
|
||||
'voteOptionText' => htmlspecialchars_decode($this->getVoteOptionText()),
|
||||
'voteAnswer' => $this->getVoteAnswer()
|
||||
'voteAnswer' => $this->getVoteAnswer(),
|
||||
'voteOptionType' => $this->getVoteOptionType()
|
||||
];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue