5 include_once
"Modules/Exercise/classes/class.ilExcCriteria.php";
42 $peer_char_tgl =
new ilCheckboxInputGUI($lng->txt(
"exc_peer_review_min_chars_tgl"),
"peer_char_tgl");
43 $a_form->
addItem($peer_char_tgl);
45 $peer_char =
new ilNumberInputGUI($lng->txt(
"exc_peer_review_min_chars"),
"peer_char");
46 $peer_char->
setInfo($lng->txt(
"exc_peer_review_min_chars_info"));
47 $peer_char->setRequired(
true);
48 $peer_char->setSize(3);
49 $peer_char_tgl->addSubItem($peer_char);
66 if($a_form->
getInput(
"peer_char_tgl"))
92 $input->setInfo(
$info);
94 $input->setValue($a_value);
96 $this->form->addItem($input);
101 return trim($this->form->getInput(
"prccc_text_".$this->getId()));
117 include_once
"Services/Utilities/classes/class.ilStr.php";
122 $mess = sprintf($lng->txt(
"exc_peer_review_chars_invalid"), $min);
123 $this->form->getItemByPostVar(
"prccc_text_".$this->
getId())->setAlert($mess);
133 return (
bool)strlen($a_value);
138 return nl2br($a_value);
addToPeerReviewForm($a_value=null)
importCustomForm(ilPropertyFormGUI $a_form)
setDefinition(array $a_value=null)
exportCustomForm(ilPropertyFormGUI $a_form)
importFromPeerReviewForm()
initCustomForm(ilPropertyFormGUI $a_form)
Create styles array
The data for the language used.
This class represents a text area property in a property form.