You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
448 B
20 lines
448 B
![]()
10 years ago
|
<?php
|
||
|
/* For licensing terms, see /license.txt */
|
||
|
|
||
|
/**
|
||
![]()
7 years ago
|
* Class ch_comment.
|
||
![]()
10 years ago
|
*/
|
||
|
class ch_comment extends survey_question
|
||
|
{
|
||
![]()
10 years ago
|
/**
|
||
![]()
5 years ago
|
* @param array $questionData
|
||
|
* @param string $answers
|
||
![]()
10 years ago
|
*/
|
||
![]()
7 years ago
|
public function render(FormValidator $form, $questionData = [], $answers = '')
|
||
![]()
10 years ago
|
{
|
||
|
$name = 'question'.$questionData['question_id'];
|
||
|
$form->addTextarea($name, null);
|
||
|
$form->setDefaults([$name => $answers]);
|
||
|
}
|
||
![]()
10 years ago
|
}
|