ILIAS  Release_5_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilChatroomSmiliesCurrentSmileyFormElement Class Reference

Class ilChatroomSmiliesCurrentSmileyFormElement. More...

+ Inheritance diagram for ilChatroomSmiliesCurrentSmileyFormElement:
+ Collaboration diagram for ilChatroomSmiliesCurrentSmileyFormElement:

Public Member Functions

 getHtml ()
 Returns template HTML.
 getValue ()
 Returns $this->value of ilChatroomSmiliesCurrentSmileyFormElement.
 setValue ($a_value)
 Sets given value as $this->value in ilChatroomSmiliesCurrentSmileyFormElement.
 checkInput ()
 Set value by array.
- Public Member Functions inherited from ilCustomInputGUI
 __construct ($a_title="", $a_postvar="")
 Constructor.
 setHtml ($a_html)
 Set Html.
 setValueByArray ($a_values)
 Set value by array.
 insert (&$a_tpl)
 Insert property html.
- Public Member Functions inherited from ilSubEnabledFormPropertyGUI
 addSubItem ($a_item)
 Add Subitem.
 getSubItems ()
 Get Subitems.
 getSubInputItemsRecursive ()
 returns a flat array of possibly existing subitems recursively
 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)
 setMulti ($a_multi, $a_sortable=false, $a_addremove=true)
 Set Multi.
 getMulti ()
 Get Multi.
 setMultiValues (array $a_values)
 Set multi values.
 getMultiValues ()
 Get multi values.
 getContentOutsideFormTag ()
 Get content that has to reside outside of the parent form tag, e.g.

Additional Inherited Members

- Protected Member Functions inherited from ilFormPropertyGUI
 setType ($a_type)
 Set Type.
 getMultiIconsHTML ()
 Get HTML for multiple value icons.
- Protected Attributes inherited from ilCustomInputGUI
 $html

Detailed Description

Class ilChatroomSmiliesCurrentSmileyFormElement.

Class ilchatroomSmiliesCurrentSmileyFormElement simple form element that displays an image; does not add data to the containing form but may be initialized by default methods, such as valuesByArray

Author
Jan Posselt jposs.nosp@m.elt@.nosp@m.datab.nosp@m.ay.d.nosp@m.e
Version
$Id$

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

Member Function Documentation

ilChatroomSmiliesCurrentSmileyFormElement::checkInput ( )

Set value by array.

Parameters
array$a_valuesvalue array Check Input
Returns
boolean

Reimplemented from ilCustomInputGUI.

Definition at line 73 of file class.ilChatroomSmiliesCurrentSmileyFormElement.php.

{
return true;
}
ilChatroomSmiliesCurrentSmileyFormElement::getHtml ( )

Returns template HTML.

ilLanguage $lng

Returns
string

Reimplemented from ilCustomInputGUI.

Definition at line 26 of file class.ilChatroomSmiliesCurrentSmileyFormElement.php.

References $lng, and $tpl.

{
global $lng;
$tpl = new ilTemplate( "tpl.chatroom_current_smiley_image.html", true, true, "Modules/Chatroom" );
$tpl->setVariable( "IMAGE_ALT", $lng->txt( "chatroom_current_smiley_image" ) );
$tpl->setVariable( "IMAGE_PATH", $this->value );
return $tpl->get();
}
ilChatroomSmiliesCurrentSmileyFormElement::getValue ( )

Returns $this->value of ilChatroomSmiliesCurrentSmileyFormElement.

Returns
string

Definition at line 42 of file class.ilChatroomSmiliesCurrentSmileyFormElement.php.

{
return $this->value;
}
ilChatroomSmiliesCurrentSmileyFormElement::setValue (   $a_value)

Sets given value as $this->value in ilChatroomSmiliesCurrentSmileyFormElement.

Parameters
string$a_value

Definition at line 53 of file class.ilChatroomSmiliesCurrentSmileyFormElement.php.

Referenced by ilChatroomSmileyTask\initSmiliesEditForm().

{
$this->value = $a_value;
}

+ Here is the caller graph for this function:


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