ILIAS  Release_3_10_x_branch Revision 61812
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilNonEditableValueGUI Class Reference

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

+ Inheritance diagram for ilNonEditableValueGUI:
+ Collaboration diagram for ilNonEditableValueGUI:

Public Member Functions

 __construct ($a_title="", $a_id="")
 Constructor.
 checkInput ()
 Check input, strip slashes etc.
 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.
 setValueByArray ($a_values)
 Set value by array.
- Public Member Functions inherited from ilSubEnabledFormPropertyGUI
 addSubItem ($a_item)
 Add Subitem.
 getSubItems ()
 Get Subitems.
 setSubformMode ($a_subformmode)
 Set Subform Mode.
 getSubformMode ()
 Get Subform Mode.
 checkSubItemsInput ()
 Check SubItems.
 getSubForm ()
 Get sub form html.
- Public Member Functions inherited from ilFormPropertyGUI
 setPostVar ($a_postvar)
 Set Post Variable.
 getPostVar ()
 Get Post Variable.
 getFieldId ()
 Get Post Variable.
 setAlert ($a_alert)
 Set Alert Text.
 getAlert ()
 Get Alert Text.
 setRequired ($a_required)
 Set Required.
 getRequired ()
 Get Required.
 setDisabled ($a_disabled)
 Set Disabled.
 getDisabled ()
 Get Disabled.

Protected Attributes

 $type
 $value
 $title
 $info
 $section_icon
- Protected Attributes inherited from ilSubEnabledFormPropertyGUI
 $sub_items = array()
 $subformmode = "bottom"
- Protected Attributes inherited from ilFormPropertyGUI
 $type
 $title
 $postvar
 $info
 $alert
 $required = false

Detailed Description

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

Author
Alex Killing alex..nosp@m.kill.nosp@m.ing@g.nosp@m.mx.d.nosp@m.e
Version
$Id$

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

Constructor & Destructor Documentation

ilNonEditableValueGUI::__construct (   $a_title = "",
  $a_id = "" 
)

Constructor.

Parameters

Reimplemented from ilFormPropertyGUI.

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

References setTitle(), and setType().

{
parent::__construct($a_title, $a_id);
$this->setTitle($a_title);
$this->setType("non_editable_value");
}

+ Here is the call graph for this function:

Member Function Documentation

ilNonEditableValueGUI::checkInput ( )

Check input, strip slashes etc.

set alert, if input is not ok.

Returns
boolean Input ok, true/false

Reimplemented from ilFormPropertyGUI.

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

{
return true;
}
ilNonEditableValueGUI::getInfo ( )

Get Information Text.

Returns
string Information Text

Reimplemented from ilFormPropertyGUI.

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

References $info.

{
return $this->info;
}
ilNonEditableValueGUI::getTitle ( )

Get Title.

Returns
string Title

Reimplemented from ilFormPropertyGUI.

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

References $title.

{
return $this->title;
}
ilNonEditableValueGUI::getType ( )

Get Type.

Returns
string Type

Reimplemented from ilFormPropertyGUI.

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

References $type.

{
return $this->type;
}
ilNonEditableValueGUI::getValue ( )

Get Value.

Returns
string Value

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

References $value.

Referenced by insert().

{
return $this->value;
}

+ Here is the caller graph for this function:

ilNonEditableValueGUI::insert ( $a_tpl)

Insert property html.

Definition at line 140 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_infoInformation Text

Reimplemented from ilFormPropertyGUI.

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

{
$this->info = $a_info;
}
ilNonEditableValueGUI::setTitle (   $a_title)

Set Title.

Parameters
string$a_titleTitle

Reimplemented from ilFormPropertyGUI.

Definition at line 81 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_typeType

Reimplemented from ilFormPropertyGUI.

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

Referenced by __construct().

{
$this->type = $a_type;
}

+ Here is the caller graph for this function:

ilNonEditableValueGUI::setValueByArray (   $a_values)

Set value by array.

Parameters
array$a_valuesvalue array

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

References ilFormPropertyGUI\getPostVar(), and setValue().

{
$this->setValue($a_values[$this->getPostVar()]);
}

+ Here is the call graph for this function:

Field Documentation

ilNonEditableValueGUI::$info
protected

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

Referenced by getInfo().

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.

Referenced by getTitle().

ilNonEditableValueGUI::$type
protected

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

Referenced by getType().

ilNonEditableValueGUI::$value
protected

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

Referenced by getValue().


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