This class represents a custom property in a property form. More...
Inheritance diagram for ilCustomInputGUI:
Collaboration diagram for ilCustomInputGUI:Public Member Functions | |
| __construct ($a_title="", $a_postvar="") | |
| Constructor. | |
| setHtml ($a_html) | |
| Set Html. | |
| getHtml () | |
| Get Html. | |
| setValueByArray ($a_values) | |
| Set value by array. | |
| insert (&$a_tpl) | |
| Insert property html. | |
Protected Attributes | |
| $html | |
This class represents a custom property in a property form.
Definition at line 31 of file class.ilCustomInputGUI.php.
| ilCustomInputGUI::__construct | ( | $ | a_title = "", |
|
| $ | a_postvar = "" | |||
| ) |
Constructor.
| string | $a_title Title | |
| string | $a_postvar Post Variable |
Reimplemented from ilFormPropertyGUI.
Definition at line 41 of file class.ilCustomInputGUI.php.
References ilFormPropertyGUI::setType().
{
parent::__construct($a_title, $a_postvar);
$this->setType("custom");
}
Here is the call graph for this function:| ilCustomInputGUI::getHtml | ( | ) |
Get Html.
Definition at line 62 of file class.ilCustomInputGUI.php.
Referenced by insert().
{
return $this->html;
}
Here is the caller graph for this function:| ilCustomInputGUI::insert | ( | &$ | a_tpl | ) |
Insert property html.
Definition at line 80 of file class.ilCustomInputGUI.php.
References getHtml().
{
$a_tpl->setCurrentBlock("prop_custom");
$a_tpl->setVariable("CUSTOM_CONTENT", $this->getHtml());
$a_tpl->parseCurrentBlock();
}
Here is the call graph for this function:| ilCustomInputGUI::setHtml | ( | $ | a_html | ) |
Set Html.
| string | $a_html Html |
Definition at line 52 of file class.ilCustomInputGUI.php.
{
$this->html = $a_html;
}
| ilCustomInputGUI::setValueByArray | ( | $ | a_values | ) |
Set value by array.
| object | $a_item Item |
Definition at line 72 of file class.ilCustomInputGUI.php.
{
}
ilCustomInputGUI::$html [protected] |
Definition at line 33 of file class.ilCustomInputGUI.php.
1.7.1