Public Member Functions | Protected Attributes

ilCustomInputGUI Class Reference
[Services/Form]

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

Detailed Description

This class represents a custom property in a property form.

Author:
Alex Killing <alex.killing@gmx.de>
Version:
$Id$

Definition at line 31 of file class.ilCustomInputGUI.php.


Constructor & Destructor Documentation

ilCustomInputGUI::__construct ( a_title = "",
a_postvar = "" 
)

Constructor.

Parameters:
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:


Member Function Documentation

ilCustomInputGUI::getHtml (  ) 

Get Html.

Returns:
string 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.

Parameters:
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.

Parameters:
object $a_item Item

Definition at line 72 of file class.ilCustomInputGUI.php.

        {
        }


Field Documentation

ilCustomInputGUI::$html [protected]

Definition at line 33 of file class.ilCustomInputGUI.php.


The documentation for this class was generated from the following file: