lastGenerationDate = new \DateTime(); $this->questions = new ArrayCollection(); } public function getQuestions() { return $this->questions; } public function setQuestions($questions) { $this->questions = $questions; return $this; } public function setQuestion(CQuizDistributionQuestions $questions) { $this->questions->add($questions); } /** * Get id * * @return integer */ public function getId() { return $this->id; } /** * Set exerciseId * * @param integer $exerciseId * @return CQuizDistribution */ public function setExerciseId($exerciseId) { $this->exerciseId = $exerciseId; return $this; } /** * Set title * * @param string $title * @return CQuizDistribution */ public function setTitle($title) { $this->title = $title; return $this; } /** * Get title * * @return string */ public function getTitle() { return $this->title; } /** * Get exerciseId * * @return integer */ public function getExerciseId() { return $this->exerciseId; } /** * Set dataTracking * * @param string $dataTracking * @return CQuizDistribution */ public function setDataTracking($dataTracking) { $this->dataTracking = $dataTracking; return $this; } /** * Get dataTracking * * @return string */ public function getDataTracking() { return $this->dataTracking; } /** * Set active * * @param boolean $active * @return CQuizDistribution */ public function setActive($active) { $this->active = $active; return $this; } /** * Get active * * @return boolean */ public function getActive() { return $this->active; } /** * Set authorUserId * * @param integer $authorUserId * @return CQuizDistribution */ public function setAuthorUserId($authorUserId) { $this->authorUserId = $authorUserId; return $this; } /** * Get authorUserId * * @return integer */ public function getAuthorUserId() { return $this->authorUserId; } /** * Set lastGenerationDate * * @param \DateTime $lastGenerationDate * @return CQuizDistribution */ public function setLastGenerationDate($lastGenerationDate) { $this->lastGenerationDate = $lastGenerationDate; return $this; } /** * Get lastGenerationDate * * @return \DateTime */ public function getLastGenerationDate() { return $this->lastGenerationDate; } }