ILIAS  release_4-4 Revision
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 }
setValue($a_value)
Sets given value as $this->value in ilChatroomSmiliesCurrentSmileyFormElement.
getValue()
Returns $this->value of ilChatroomSmiliesCurrentSmileyFormElement.
special template class to simplify handling of ITX/PEAR
if(isset($_FILES['img_file']['size']) && $_FILES['img_file']['size'] > 0) $tpl
This class represents a custom property in a property form.
global $lng
Definition: privfeed.php:40