|
ILIAS
Release_4_2_x_branch Revision 61807
|
Class ilChatroomTabFactory. More...
Collaboration diagram for ilChatroomTabFactory:Public Member Functions | |
| __construct (ilObjectGUI $gui) | |
| Constructor. | |
| getAdminTabsForCommand ($command) | |
| Builds $config and $commandparts arrays to assign them as parameters when calling $this->buildTabs and $this->activateTab. | |
| getTabsForCommand ($command) | |
| Builds $config and $commandparts arrays to assign them as parameters when calling $this->buildTabs and $this->activateTab. | |
Static Public Member Functions | |
| static | convertLowerCamelCaseToUnderscoreCaseConversion ($value) |
| Convert a value given in lower camel case conversion to underscore case conversion (e.g. | |
| static | convertUnderscoreCaseToLowerCamelCaseConversion ($value, $upper_case_first=FALSE) |
| Convert a value given in underscore case conversion to lower camel case conversion (e.g. | |
Private Member Functions | |
| activateTab (array $commandParts, $config) | |
| Activates tab or subtab if existing. | |
| buildTabs (ilTabsGUI $tabs, $config, $command) | |
| Builds tabs and subtabs using given $tabs, $config and $command parameters. | |
| getLabel ($tabDefinition, $id) | |
| Returns label for tab by $tabDefinition or $id. | |
Private Attributes | |
| $gui | |
| $lng | |
| $access | |
Class ilChatroomTabFactory.
Definition at line 13 of file class.ilChatroomTabFactory.php.
| ilChatroomTabFactory::__construct | ( | ilObjectGUI | $gui | ) |
Constructor.
Sets $this->gui using given $gui. Sets $this->lng and $this->access
ilLanguage $lng ilAccessHandler $ilAccess
| ilObjectGUI | $gui |
Definition at line 30 of file class.ilChatroomTabFactory.php.
|
private |
Activates tab or subtab if existing.
Calls $ilTabs->activateTab() or $ilTabs->activateSubTab() method to set current tab active.
ilTabsGUI $ilTabs
| array | $command |
Definition at line 49 of file class.ilChatroomTabFactory.php.
References $config.
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 |
Definition at line 305 of file class.ilChatroomTabFactory.php.
References $command, $config, 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:
|
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 367 of file class.ilChatroomTabFactory.php.
Referenced by getAdminTabsForCommand(), and getTabsForCommand().
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 381 of file class.ilChatroomTabFactory.php.
| ilChatroomTabFactory::getAdminTabsForCommand | ( | $command | ) |
Builds $config and $commandparts arrays to assign them as parameters when calling $this->buildTabs and $this->activateTab.
ilTabsGUI $ilTabs ilCtrl2 $ilCtrl
| string | $command |
Definition at line 81 of file class.ilChatroomTabFactory.php.
References $_REQUEST, $command, $config, $data, $ilCtrl, $ilDB, $query, activateTab(), buildTabs(), and convertLowerCamelCaseToUnderscoreCaseConversion().
Here is the call graph for this function:
|
private |
Returns label for tab by $tabDefinition or $id.
| array | $tabDefinition | |
| string | $id |
Definition at line 352 of file class.ilChatroomTabFactory.php.
Referenced by buildTabs().
Here is the caller graph for this function:| ilChatroomTabFactory::getTabsForCommand | ( | $command | ) |
Builds $config and $commandparts arrays to assign them as parameters when calling $this->buildTabs and $this->activateTab.
ilTabsGUI $ilTabs ilCtrl2 $ilCtrl
| string | $command |
Definition at line 198 of file class.ilChatroomTabFactory.php.
References $_REQUEST, $command, $config, $ilCtrl, activateTab(), buildTabs(), ilChatroom\byObjectId(), and convertLowerCamelCaseToUnderscoreCaseConversion().
Here is the call graph for this function:
|
private |
Definition at line 18 of file class.ilChatroomTabFactory.php.
|
private |
Definition at line 16 of file class.ilChatroomTabFactory.php.
Referenced by __construct().
|
private |
Definition at line 17 of file class.ilChatroomTabFactory.php.
Referenced by __construct().