/** * Collects all text in the question which could contain media objects * which were created with the Rich Text Editor */ function getRTETextWithMediaObjects() { $text = parent::getRTETextWithMediaObjects(); foreach ($this->answers as $index => $answer) { $text .= $this->feedbackOBJ->getSpecificAnswerFeedbackContent($this->getId(), $index); } return $text; }
/** * Collects all text in the question which could contain media objects * which were created with the Rich Text Editor */ function getRTETextWithMediaObjects() { return parent::getRTETextWithMediaObjects(); }
/** * Collects all text in the question which could contain media objects * which were created with the Rich Text Editor */ public function getRTETextWithMediaObjects() { $text = parent::getRTETextWithMediaObjects(); return $text; }
protected function getRTETextWithMediaObjects() { $combinedText = parent::getRTETextWithMediaObjects(); foreach ($this->getAnswers() as $answer) { $combinedText .= $answer->getAnswertext(); } return $combinedText; }
/** * Collects all text in the question which could contain media objects * which were created with the Rich Text Editor */ function getRTETextWithMediaObjects() { $text = parent::getRTETextWithMediaObjects(); foreach ($this->answers as $index => $answer) { $answer_obj = $this->answers[$index]; $text .= $answer_obj->getAnswertext(); } return $text; }
/** * Collects all text in the question which could contain media objects * which were created with the Rich Text Editor */ function getRTETextWithMediaObjects() { $text = parent::getRTETextWithMediaObjects(); foreach ($this->answers as $index => $answer) { $text .= $this->getFeedbackSingleAnswer($index); } return $text; }
/** * Collects all text in the question which could contain media objects * which were created with the Rich Text Editor */ function getRTETextWithMediaObjects() { $text = parent::getRTETextWithMediaObjects(); foreach ($this->getParts() as $part_obj) { $text .= $part_obj->getText(); } return $text; }
/** * Collects all text in the question which could contain media objects * which were created with the Rich Text Editor */ function getRTETextWithMediaObjects() { return parent::getRTETextWithMediaObjects() . $this->getClozeText(); }