ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
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
21 public function getHtml()
22 {
23 global $lng;
24
25 $tpl = new ilTemplate("tpl.chatroom_current_smiley_image.html", true, true, "Modules/Chatroom");
26 $tpl->setVariable("IMAGE_ALT", $lng->txt("chatroom_current_smiley_image"));
27 $tpl->setVariable("IMAGE_PATH", $this->value);
28
29 return $tpl->get();
30 }
31
36 public function getValue()
37 {
38 return $this->value;
39 }
40
46 public function setValue($a_value)
47 {
48 $this->value = $a_value;
49 }
50
55 /*function setValueByArray($a_values)
56 {
57 $this->setValue( $a_values[$this->getPostVar()] );
58 }*/
59
64 public function checkInput()
65 {
66 return true;
67 }
68
69}
global $tpl
Definition: ilias.php:8
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 $lng
Definition: privfeed.php:17