27 $this->lng = $DIC->language();
57 $a_form->
addItem($peer_char_tgl);
60 $peer_char->
setInfo(
$lng->txt(
"exc_peer_review_min_chars_info"));
61 $peer_char->setRequired(
true);
62 $peer_char->setSize(3);
63 $peer_char_tgl->addSubItem($peer_char);
79 if ($a_form->
getInput(
"peer_char_tgl")) {
96 $info[] =
$lng->txt(
"exc_peer_review_min_chars") .
": " . $this->
getMinChars();
98 $info = implode(
"<br />", $info);
102 $input->setInfo($info);
104 $input->setValue($a_value);
106 $this->form->addItem($input);
111 return trim($this->form->getInput(
"prccc_text_" . $this->getId()));
127 $mess = sprintf(
$lng->txt(
"exc_peer_review_chars_invalid"), $min);
128 $this->form->getItemByPostVar(
"prccc_text_" . $this->
getId())->setAlert($mess);
138 return (
bool) strlen($a_value);
143 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)
__construct(Container $dic, ilPlugin $plugin)
This class represents a text area property in a property form.
__construct()
Constructor.