ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
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
4
18{
19
26 public function getHtml()
27 {
28 global $lng;
29
30 $tpl = new ilTemplate( "tpl.chatroom_current_smiley_image.html", true, true, "Modules/Chatroom" );
31 $tpl->setVariable( "IMAGE_ALT", $lng->txt( "chatroom_current_smiley_image" ) );
32 $tpl->setVariable( "IMAGE_PATH", $this->value );
33
34 return $tpl->get();
35 }
36
42 public function getValue()
43 {
44 return $this->value;
45 }
46
53 public function setValue($a_value)
54 {
55 $this->value = $a_value;
56 }
57
63 /*function setValueByArray($a_values)
64 {
65 $this->setValue( $a_values[$this->getPostVar()] );
66 }*/
67
73 public function checkInput()
74 {
75 return true;
76 }
77
78}
global $tpl
Definition: ilias.php:8
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:40