本文整理汇总了PHP中assQuestion::getRTETextWithMediaObjects方法的典型用法代码示例。如果您正苦于以下问题:PHP assQuestion::getRTETextWithMediaObjects方法的具体用法?PHP assQuestion::getRTETextWithMediaObjects怎么用?PHP assQuestion::getRTETextWithMediaObjects使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类assQuestion
的用法示例。
在下文中一共展示了assQuestion::getRTETextWithMediaObjects方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: getRTETextWithMediaObjects
/**
* 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;
}
示例2: getRTETextWithMediaObjects
/**
* Collects all text in the question which could contain media objects
* which were created with the Rich Text Editor
*/
function getRTETextWithMediaObjects()
{
return parent::getRTETextWithMediaObjects();
}
示例3: 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;
}
示例4: getRTETextWithMediaObjects
protected function getRTETextWithMediaObjects()
{
$combinedText = parent::getRTETextWithMediaObjects();
foreach ($this->getAnswers() as $answer) {
$combinedText .= $answer->getAnswertext();
}
return $combinedText;
}
示例5: getRTETextWithMediaObjects
/**
* 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;
}
示例6: getRTETextWithMediaObjects
/**
* 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;
}
示例7: getRTETextWithMediaObjects
/**
* 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;
}
示例8: getRTETextWithMediaObjects
/**
* 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();
}