ILIAS
release_8 Revision v8.23
|
Class ilChatroomTabGUIFactory. More...
Public Member Functions | |
getAdminTabsForCommand (string $command) | |
Builds $config and $commandparts arrays to assign them as parameters when calling $this->buildTabs and $this->activateTab. More... | |
getActivatedTab () | |
getActivatedSubTab () | |
getTabsForCommand (string $command) | |
Builds $config and $commandparts arrays to assign them as parameters when calling $this->buildTabs and $this->activateTab. More... | |
Private Member Functions | |
buildTabs (ilTabsGUI $tabs, array $config, array $command, bool $inRoom=true) | |
Builds tabs and subtabs using given $tabs, $config and $command parameters. More... | |
getLabel (array $tabDefinition, string $id) | |
Returns label for tab by $tabDefinition or $id. More... | |
activateTab (array $commandParts, array $config) | |
Activates tab or subtab if existing. More... | |
Static Private Member Functions | |
static | convertLowerCamelCaseToUnderscoreCaseConversion (string $value) |
Convert a value given in lower camel case conversion to underscore case conversion (e.g. More... | |
Private Attributes | |
ilObjectGUI | $gui |
ilLanguage | $lng |
ilRbacSystem | $rbacSystem |
GlobalHttpState | $http |
Refinery | $refinery |
string | $activated_tab = null |
string | $activated_sub_tab = null |
Class ilChatroomTabGUIFactory.
Definition at line 31 of file class.ilChatroomTabGUIFactory.php.
|
private |
Activates tab or subtab if existing.
Calls $ilTabs->activateTab() or $ilTabs->activateSubTab() method to set current tab active.
array | $commandParts | |
array | $config |
Definition at line 265 of file class.ilChatroomTabGUIFactory.php.
References $DIC.
Referenced by getAdminTabsForCommand(), and getTabsForCommand().
|
private |
Builds tabs and subtabs using given $tabs, $config and $command parameters.
ilTabsGUI | $tabs | |
array | $config | |
array | $command | |
bool | $inRoom |
Definition at line 190 of file class.ilChatroomTabGUIFactory.php.
References $id, ilTabsGUI\addSubTab(), ilTabsGUI\addTab(), ilChatroom\checkUserPermissions(), and getLabel().
Referenced by getAdminTabsForCommand(), and getTabsForCommand().
|
staticprivate |
Convert a value given in lower camel case conversion to underscore case conversion (e.g.
MyClass to my_class)
string | $value | Value in lower camel case conversion |
Definition at line 177 of file class.ilChatroomTabGUIFactory.php.
ilChatroomTabGUIFactory::getActivatedSubTab | ( | ) |
Definition at line 290 of file class.ilChatroomTabGUIFactory.php.
References $activated_sub_tab.
ilChatroomTabGUIFactory::getActivatedTab | ( | ) |
Definition at line 285 of file class.ilChatroomTabGUIFactory.php.
References $activated_tab.
ilChatroomTabGUIFactory::getAdminTabsForCommand | ( | string | $command | ) |
Builds $config and $commandparts arrays to assign them as parameters when calling $this->buildTabs and $this->activateTab.
string | $command |
Definition at line 58 of file class.ilChatroomTabGUIFactory.php.
References $config, $DIC, ILIAS\LTI\ToolProvider\$settings, ilObject\_getAllReferences(), ilObject\_getObjectsByType(), activateTab(), buildTabs(), ILIAS\FileDelivery\http(), ILIAS\Repository\int(), and ILIAS\Repository\refinery().
|
private |
Returns label for tab by $tabDefinition or $id.
array | $tabDefinition | |
string | $id |
Definition at line 249 of file class.ilChatroomTabGUIFactory.php.
References ILIAS\Repository\lng().
Referenced by buildTabs().
ilChatroomTabGUIFactory::getTabsForCommand | ( | string | $command | ) |
Builds $config and $commandparts arrays to assign them as parameters when calling $this->buildTabs and $this->activateTab.
string | $command |
Definition at line 300 of file class.ilChatroomTabGUIFactory.php.
References $config, $DIC, activateTab(), buildTabs(), and ilChatroom\byObjectId().
|
private |
Definition at line 39 of file class.ilChatroomTabGUIFactory.php.
Referenced by getActivatedSubTab().
|
private |
Definition at line 38 of file class.ilChatroomTabGUIFactory.php.
Referenced by getActivatedTab().
|
private |
Definition at line 33 of file class.ilChatroomTabGUIFactory.php.
|
private |
Definition at line 36 of file class.ilChatroomTabGUIFactory.php.
|
private |
Definition at line 34 of file class.ilChatroomTabGUIFactory.php.
|
private |
Definition at line 35 of file class.ilChatroomTabGUIFactory.php.
|
private |
Definition at line 37 of file class.ilChatroomTabGUIFactory.php.