Public Member Functions | Protected Attributes

ilNonEditableValueGUI Class Reference
[Services/Form]

This class represents a non editable value in a property form. More...

Public Member Functions

 __construct ($a_title="")
 Constructor.
 checkInput ()
 setType ($a_type)
 Set Type.
 getType ()
 Get Type.
 setTitle ($a_title)
 Set Title.
 getTitle ()
 Get Title.
 setInfo ($a_info)
 Set Information Text.
 getInfo ()
 Get Information Text.
 setValue ($a_value)
 Set Value.
 getValue ()
 Get Value.
 insert (&$a_tpl)
 Insert property html.

Protected Attributes

 $type
 $value
 $title
 $info
 $section_icon

Detailed Description

This class represents a non editable value in a property form.

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

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


Constructor & Destructor Documentation

ilNonEditableValueGUI::__construct ( a_title = ""  ) 

Constructor.

Parameters:
 

Definition at line 44 of file class.ilNonEditableValueGUI.php.

References setTitle(), and setType().

        {
                $this->setTitle($a_title);
                $this->setType("non_editable_value");
        }

Here is the call graph for this function:


Member Function Documentation

ilNonEditableValueGUI::checkInput (  ) 

Definition at line 50 of file class.ilNonEditableValueGUI.php.

        {
                return true;
        }

ilNonEditableValueGUI::getInfo (  ) 

Get Information Text.

Returns:
string Information Text

Definition at line 110 of file class.ilNonEditableValueGUI.php.

        {
                return $this->info;
        }

ilNonEditableValueGUI::getTitle (  ) 

Get Title.

Returns:
string Title

Definition at line 90 of file class.ilNonEditableValueGUI.php.

        {
                return $this->title;
        }

ilNonEditableValueGUI::getType (  ) 

Get Type.

Returns:
string Type

Definition at line 70 of file class.ilNonEditableValueGUI.php.

        {
                return $this->type;
        }

ilNonEditableValueGUI::getValue (  ) 

Get Value.

Returns:
string Value

Definition at line 130 of file class.ilNonEditableValueGUI.php.

Referenced by insert().

        {
                return $this->value;
        }

Here is the caller graph for this function:

ilNonEditableValueGUI::insert ( &$  a_tpl  ) 

Insert property html.

Definition at line 139 of file class.ilNonEditableValueGUI.php.

References getValue().

        {
                $a_tpl->setCurrentBlock("non_editable_value");
                $a_tpl->setVariable("VALUE", $this->getValue());
                $a_tpl->parseCurrentBlock();
        }

Here is the call graph for this function:

ilNonEditableValueGUI::setInfo ( a_info  ) 

Set Information Text.

Parameters:
string $a_info Information Text

Definition at line 100 of file class.ilNonEditableValueGUI.php.

        {
                $this->info = $a_info;
        }

ilNonEditableValueGUI::setTitle ( a_title  ) 

Set Title.

Parameters:
string $a_title Title

Definition at line 80 of file class.ilNonEditableValueGUI.php.

Referenced by __construct().

        {
                $this->title = $a_title;
        }

Here is the caller graph for this function:

ilNonEditableValueGUI::setType ( a_type  ) 

Set Type.

Parameters:
string $a_type Type

Definition at line 60 of file class.ilNonEditableValueGUI.php.

Referenced by __construct().

        {
                $this->type = $a_type;
        }

Here is the caller graph for this function:

ilNonEditableValueGUI::setValue ( a_value  ) 

Set Value.

Parameters:
string $a_value Value

Definition at line 120 of file class.ilNonEditableValueGUI.php.

        {
                $this->value = $a_value;
        }


Field Documentation

ilNonEditableValueGUI::$info [protected]

Definition at line 36 of file class.ilNonEditableValueGUI.php.

ilNonEditableValueGUI::$section_icon [protected]

Definition at line 37 of file class.ilNonEditableValueGUI.php.

ilNonEditableValueGUI::$title [protected]

Definition at line 35 of file class.ilNonEditableValueGUI.php.

ilNonEditableValueGUI::$type [protected]

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

ilNonEditableValueGUI::$value [protected]

Definition at line 34 of file class.ilNonEditableValueGUI.php.


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