ILIAS  eassessment Revision 61809
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilAdditionalCharactersGUI Class Reference
+ Inheritance diagram for ilAdditionalCharactersGUI:
+ Collaboration diagram for ilAdditionalCharactersGUI:

Public Member Functions

 __construct ($a_title="", $a_postvar="")
 Constructor.
- Public Member Functions inherited from ilCustomInputGUI
 setHtml ($a_html)
 Set Html.
 getHtml ()
 Get Html.
 setValueByArray ($a_values)
 Set value by array.
 insert (&$a_tpl)
 Insert property html.
 checkInput ()
 Check input, strip slashes etc.
- Public Member Functions inherited from ilSubEnabledFormPropertyGUI
 addSubItem ($a_item)
 Add Subitem.
 getSubItems ()
 Get Subitems.
 checkSubItemsInput ()
 Check SubItems.
 getSubForm ()
 Get sub form html.
 getItemByPostVar ($a_post_var)
 Get item by post var.
- Public Member Functions inherited from ilFormPropertyGUI
executeCommand ()
 Execute command.
 getType ()
 Get Type.
 setTitle ($a_title)
 Set Title.
 getTitle ()
 Get Title.
 setPostVar ($a_postvar)
 Set Post Variable.
 getPostVar ()
 Get Post Variable.
 getFieldId ()
 Get Post Variable.
 setInfo ($a_info)
 Set Information Text.
 getInfo ()
 Get Information Text.
 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.
 setParentForm ($a_parentform)
 Set Parent Form.
 getParentForm ()
 Get Parent Form.
 setParent ($a_val)
 Set Parent GUI object.
 getParent ()
 Get Parent GUI object.
 hideSubForm ()
 Sub form hidden on init?
 setHiddenTitle ($a_val)
 Set hidden title (for screenreaders)
 getHiddenTitle ()
 Get hidden title.
 serializeData ()
 serialize data
 unserializeData ($a_data)
 unserialize data
 writeToSession ()
 Write to session.
 clearFromSession ()
 Clear session value.
 readFromSession ()
 Read from session.
 getHiddenTag ($a_post_var, $a_value)
 Get hidden tag (used for disabled properties)

Additional Inherited Members

- Protected Member Functions inherited from ilFormPropertyGUI
 setType ($a_type)
 Set Type.
- Protected Attributes inherited from ilCustomInputGUI
 $html

Detailed Description

Definition at line 9 of file class.ilAdditionalCharactersGUI.php.

Constructor & Destructor Documentation

ilAdditionalCharactersGUI::__construct (   $a_title = "",
  $a_postvar = "" 
)

Constructor.

Parameters
string$a_titleTitle
string$a_postvarPost Variable

Reimplemented from ilCustomInputGUI.

Definition at line 17 of file class.ilAdditionalCharactersGUI.php.

References ilCustomInputGUI\$html, $lng, ilCustomInputGUI\setHtml(), ilFormPropertyGUI\setTitle(), and ilFormPropertyGUI\setType().

{
global $lng;
parent::__construct($a_title, $a_postvar);
$this->setType("custom");
$this->setTitle($lng->txt("additional_characters"));
$html = "<img style=\"cursor: pointer\" alt=\"".$lng->txt('additional_characters')."\" src=\"Services/InsertChar/insertChar.gif\" onclick=\"myInsertChar('Services/InsertChar/');\" />";
$html .= "<script type=\"text/javascript\" src=\"Services/InsertChar/insertChar.js\"></script>";
$this->setHtml($html);
}

+ Here is the call graph for this function:


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