|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
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 | |
| readonly ilLanguage | $lng |
| readonly ilRbacSystem | $rbacSystem |
| readonly GlobalHttpState | $http |
| readonly 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.
Definition at line 247 of file class.ilChatroomTabGUIFactory.php.
References $DIC.
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.
Definition at line 177 of file class.ilChatroomTabGUIFactory.php.
References $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 168 of file class.ilChatroomTabGUIFactory.php.
Referenced by getAdminTabsForCommand(), and getTabsForCommand().
Here is the caller graph for this function:| ilChatroomTabGUIFactory::getActivatedSubTab | ( | ) |
Definition at line 272 of file class.ilChatroomTabGUIFactory.php.
References $activated_sub_tab.
| ilChatroomTabGUIFactory::getActivatedTab | ( | ) |
Definition at line 267 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.
Definition at line 54 of file class.ilChatroomTabGUIFactory.php.
References $DIC, 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.
Definition at line 233 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.
Definition at line 281 of file class.ilChatroomTabGUIFactory.php.
References $DIC, activateTab(), buildTabs(), ilChatroom\byObjectId(), and convertLowerCamelCaseToUnderscoreCaseConversion().
Here is the call graph for this function:
|
private |
Definition at line 38 of file class.ilChatroomTabGUIFactory.php.
Referenced by getActivatedSubTab().
|
private |
Definition at line 37 of file class.ilChatroomTabGUIFactory.php.
Referenced by getActivatedTab().
|
private |
Definition at line 35 of file class.ilChatroomTabGUIFactory.php.
|
private |
Definition at line 33 of file class.ilChatroomTabGUIFactory.php.
|
private |
Definition at line 34 of file class.ilChatroomTabGUIFactory.php.
|
private |
Definition at line 36 of file class.ilChatroomTabGUIFactory.php.