19declare(strict_types=1);
96 public function hasGUI(
string $gui): bool
109 $this->moduleBasePath .
'/' .
110 $this->relativeClassPath .
'/' .
122 return 'il' . $this->moduleName . ucfirst($this->guiScope) . ucfirst($gui) .
'GUI';
144 return new $className($chatroomObjectGUI);
Class ilChatroomGUIHandler.
static getDefaultDefinitionWithCustomGUIPath(string $moduleName, string $guiScope='')
Returns an Instance of ilChatroomObjectDefinition, using given $moduleName and $guiScope as parameter...
string $relativeClassPath
static getDefaultDefinition(string $moduleName)
Returns an Instance of ilChatroomObjectDefinition, using given $moduleName as parameter.
__construct(string $moduleName, string $moduleBasePath, string $relativeClassPath='classes', string $guiScope='')
loadGUI(string $gui)
Requires file, whereby given $gui is used as parameter in getGUIPath method to build the filename of ...
getGUIClassName(string $gui)
Builds gui classname using given $gui and returns it.
hasGUI(string $gui)
Returns true if file exists.
buildGUI(string $gui, ilChatroomObjectGUI $chatroomObjectGUI)
Builds and returns new gui using given $gui and $gui.
getGUIPath(string $gui)
Builds gui path using given $gui and returns it.