|
ILIAS
release_8 Revision v8.24
|
Class ilChatroomTabGUIFactory. More...
Collaboration diagram for ilChatroomTabGUIFactory: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.
Referenced by getAdminTabsForCommand(), and getTabsForCommand().
Here is the caller graph for this function:
|
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 $config, $id, ilTabsGUI\addSubTab(), ilTabsGUI\addTab(), ilChatroom\checkUserPermissions(), and getLabel().
Referenced by getAdminTabsForCommand(), and getTabsForCommand().
Here is the call graph for this function:
Here is the caller graph for this function:
|
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.
Referenced by getAdminTabsForCommand(), and getTabsForCommand().
Here is the caller graph for this function:| 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(), convertLowerCamelCaseToUnderscoreCaseConversion(), ILIAS\FileDelivery\http(), and ILIAS\Repository\int().
Here is the call graph for this function:
|
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().
Here is the call graph for this function:
Here is the caller graph for this function:| 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(), ilChatroom\byObjectId(), and convertLowerCamelCaseToUnderscoreCaseConversion().
Here is the call graph for this function:
|
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.