ILIAS  release_4-3 Revision
 All Data Structures Namespaces Files Functions Variables Groups Pages
class.ilDBayTaskHandler.php
Go to the documentation of this file.
1 <?php
2 
3 /*
4  * To change this template, choose Tools | Templates
5  * and open the template in the editor.
6  */
7 
13 abstract class ilDBayTaskHandler
14 {
15 
16  abstract public function __construct(ilDBayObjectGUI $gui);
17 
18  abstract public function executeDefault($requestedMethod);
19 
27  public function execute($method)
28  {
29  global $lng;
30 
31  $lng->loadLanguageModule('chatroom');
32 
33  require_once 'Modules/Chatroom/classes/class.ilChatroom.php';
34 
35  if( method_exists( $this, $method ) )
36  {
37  return $this->$method();
38  }
39  else
40  {
41  return $this->executeDefault( $method );
42  }
43  }
44 
45 }
46 
47 ?>