ILIAS  release_4-3 Revision
 All Data Structures Namespaces Files Functions Variables Groups Pages
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 }