ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
class.ilChatroomSmiliesCurrentSmileyFormElement.php
Go to the documentation of this file.
1<?php
2/* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */
3
14{
15
20 public function getHtml()
21 {
22 global $DIC;
23
24 $tpl = new ilTemplate("tpl.chatroom_current_smiley_image.html", true, true, "Modules/Chatroom");
25 $tpl->setVariable("IMAGE_ALT", $DIC->language()->txt("chatroom_current_smiley_image"));
26 $tpl->setVariable("IMAGE_PATH", $this->value);
27
28 return $tpl->get();
29 }
30
35 public function getValue()
36 {
37 return $this->value;
38 }
39
45 public function setValue($a_value)
46 {
47 $this->value = $a_value;
48 }
49
54 /*function setValueByArray($a_values)
55 {
56 $this->setValue( $a_values[$this->getPostVar()] );
57 }*/
58
63 public function checkInput()
64 {
65 return true;
66 }
67}
$tpl
Definition: ilias.php:10
An exception for terminatinating execution or to throw for unit testing.
Class ilChatroomSmiliesCurrentSmileyFormElement Class ilchatroomSmiliesCurrentSmileyFormElement simpl...
getValue()
Returns $this->value of ilChatroomSmiliesCurrentSmileyFormElement.
setValue($a_value)
Sets given value as $this->value in ilChatroomSmiliesCurrentSmileyFormElement.
This class represents a custom property in a property form.
special template class to simplify handling of ITX/PEAR
global $DIC
Definition: saml.php:7