ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
|
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 | |
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().
|
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().
|
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.
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(), ILIAS\FileDelivery\http(), ILIAS\Repository\int(), and ILIAS\Repository\refinery().
|
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().
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(), and ilChatroom\byObjectId().
|
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.