| ILIAS
    release_5-4 Revision v5.4.26-12-gabc799a52e6
    | 
Class ilChatroomTabGUIFactory. More...
 Collaboration diagram for ilChatroomTabGUIFactory:
 Collaboration diagram for ilChatroomTabGUIFactory:| Public Member Functions | |
| __construct (ilObjectGUI $gui) | |
| getAdminTabsForCommand ($command) | |
| Builds $config and $commandparts arrays to assign them as parameters when calling $this->buildTabs and $this->activateTab.  More... | |
| getTabsForCommand ($command) | |
| Builds $config and $commandparts arrays to assign them as parameters when calling $this->buildTabs and $this->activateTab.  More... | |
| Static Public Member Functions | |
| static | convertUnderscoreCaseToLowerCamelCaseConversion ($value, $upper_case_first=false) | 
| Convert a value given in underscore case conversion to lower camel case conversion (e.g.  More... | |
| static | convertLowerCamelCaseToUnderscoreCaseConversion ($value) | 
| Convert a value given in lower camel case conversion to underscore case conversion (e.g.  More... | |
| Private Member Functions | |
| buildTabs (ilTabsGUI $tabs, $config, $command, $inRoom=true) | |
| Builds tabs and subtabs using given $tabs, $config and $command parameters.  More... | |
| getLabel ($tabDefinition, $id) | |
| Returns label for tab by $tabDefinition or $id.  More... | |
| activateTab (array $commandParts, $config) | |
| Activates tab or subtab if existing.  More... | |
| Private Attributes | |
| $gui | |
| $lng | |
Class ilChatroomTabGUIFactory.
Definition at line 11 of file class.ilChatroomTabGUIFactory.php.
| ilChatroomTabGUIFactory::__construct | ( | ilObjectGUI | $gui | ) | 
| ilObjectGUI | $gui | 
Definition at line 26 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 | 
Definition at line 246 of file class.ilChatroomTabGUIFactory.php.
Referenced by getAdminTabsForCommand(), and getTabsForCommand().
 Here is the caller graph for this function:
 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 185 of file class.ilChatroomTabGUIFactory.php.
References $config, $DIC, $id, $tabs, ilChatroom\checkUserPermissions(), and getLabel().
Referenced by getAdminTabsForCommand(), and getTabsForCommand().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
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 172 of file class.ilChatroomTabGUIFactory.php.
Referenced by getAdminTabsForCommand(), and getTabsForCommand().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Convert a value given in underscore case conversion to lower camel case conversion (e.g.
my_class to MyClass)
| string | $value | Value in underscore case conversion | 
| boolean | $upper_case_first | If TRUE first character in upper case, lower case if FALSE | 
Definition at line 40 of file class.ilChatroomTabGUIFactory.php.
References PHPMailer\PHPMailer\$token.
| ilChatroomTabGUIFactory::getAdminTabsForCommand | ( | $command | ) | 
Builds $config and $commandparts arrays to assign them as parameters when calling $this->buildTabs and $this->activateTab.
| string | $command | 
Definition at line 61 of file class.ilChatroomTabGUIFactory.php.
References $config, $DIC, ilObject\_getAllReferences(), ilObject\_getObjectsByType(), activateTab(), buildTabs(), and convertLowerCamelCaseToUnderscoreCaseConversion().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | private | 
Returns label for tab by $tabDefinition or $id.
| array | $tabDefinition | |
| string | $id | 
Definition at line 231 of file class.ilChatroomTabGUIFactory.php.
References $id.
Referenced by buildTabs().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilChatroomTabGUIFactory::getTabsForCommand | ( | $command | ) | 
Builds $config and $commandparts arrays to assign them as parameters when calling $this->buildTabs and $this->activateTab.
| string | $command | 
Definition at line 268 of file class.ilChatroomTabGUIFactory.php.
References $config, $DIC, activateTab(), buildTabs(), ilChatroom\byObjectId(), and convertLowerCamelCaseToUnderscoreCaseConversion().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | private | 
Definition at line 16 of file class.ilChatroomTabGUIFactory.php.
Referenced by __construct().
| 
 | private | 
Definition at line 21 of file class.ilChatroomTabGUIFactory.php.