Files
le-matelot/local/modules/Contest/Event/Base/QuestionEvent.php
2020-01-27 08:56:08 +01:00

111 lines
1.8 KiB
PHP

<?php
/**
* This class has been generated by TheliaStudio
* For more information, see https://github.com/thelia-modules/TheliaStudio
*/
namespace Contest\Event\Base;
use Thelia\Core\Event\ActionEvent;
use Contest\Model\Question;
/**
* Class QuestionEvent
* @package Contest\Event\Base
* @author TheliaStudio
*/
class QuestionEvent extends ActionEvent
{
protected $id;
protected $visible;
protected $title;
protected $description;
protected $gameId;
protected $question;
protected $locale;
public function getLocale()
{
return $this->locale;
}
public function setLocale($v)
{
$this->locale = $v;
return $this;
}
public function getId()
{
return $this->id;
}
public function setId($id)
{
$this->id = $id;
return $this;
}
public function getVisible()
{
return $this->visible;
}
public function setVisible($visible)
{
$this->visible = $visible;
return $this;
}
public function getTitle()
{
return $this->title;
}
public function setTitle($title)
{
$this->title = $title;
return $this;
}
public function getDescription()
{
return $this->description;
}
public function setDescription($description)
{
$this->description = $description;
return $this;
}
public function getGameId()
{
return $this->gameId;
}
public function setGameId($gameId)
{
$this->gameId = $gameId;
return $this;
}
public function getQuestion()
{
return $this->question;
}
public function setQuestion(Question $question)
{
$this->question = $question;
return $this;
}
}