|
ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
|
Column user interface class. More...
Collaboration diagram for ilColumnGUI:Public Member Functions | |
| __construct (string $a_col_type="", string $a_side="", bool $use_std_context=false) | |
| setColType (string $a_coltype) | |
| getColType () | |
| setSide (string $a_side) | |
| getSide () | |
| setEnableEdit (bool $a_enableedit) | |
| getEnableEdit () | |
| setRepositoryMode (bool $a_repositorymode) | |
| getRepositoryMode () | |
| setAdminCommands (bool $a_admincommands) | |
| getAdminCommands () | |
| setBlockProperty (string $a_block_type, string $a_property, string $a_value) | |
| This function is supposed to be used for block type specific properties, that should be passed to ilBlockGUI->setProperty. More... | |
| getBlockProperties (string $a_block_type) | |
| setAllBlockProperties (array $a_block_properties) | |
| setRepositoryItems (array $a_repositoryitems) | |
| getRepositoryItems () | |
| setItemPresentationManager (ItemPresentationManager $item_presentation) | |
| getItemPresentationManager () | |
| hasItemPresentationManager () | |
| executeCommand () | |
| getHTML () | |
| showBlocks () | |
| updateBlock () | |
| Update Block (asynchronous) More... | |
| activateBlock () | |
| Activate hidden block. More... | |
| addBlock () | |
| Add a block. More... | |
| determineBlocks () | |
| Determine which blocks to show. More... | |
| setActionMenu (ilAdvancedSelectionListGUI $action_menu) | |
| getActionMenu () | |
Static Public Member Functions | |
| static | addCustomBlockLocation (string $className, string $path) |
| Adds location information of the custom block gui. More... | |
| static | addCustomBlockType (string $className, string $identifier) |
| Adds the block type of the custom block gui. More... | |
| static | getCmdSide () |
| Get Column Side of Current Command. More... | |
| static | getScreenMode () |
Protected Member Functions | |
| isGloballyActivated (string $a_type) | |
| Check whether a block type is globally activated. More... | |
| exceededLimit (string $a_type) | |
| Check whether limit is not exceeded. More... | |
Protected Attributes | |
| array | $repositoryitems |
| string | $coltype |
| ilDashboardSidePanelSettingsRepository | $dash_side_panel_settings |
| ItemPresentationManager | $item_presentation = null |
| ILIAS Block StandardGUIRequest | $request |
| ilCtrl | $ctrl |
| ilLanguage | $lng |
| ilObjUser | $user |
| ilTemplate | $tpl |
| AgentDetermination | $browser |
| ilSetting | $settings |
| string | $side = IL_COL_RIGHT |
| string | $type |
| bool | $enableedit = false |
| bool | $repositorymode = false |
| array | $blocks = [] |
| array | $rep_block_types = array("feed","poll") |
| array | $block_property = array() |
| bool | $admincommands = false |
| ilAdvancedSelectionListGUI | $action_menu = null |
| array | $default_blocks |
| array | $custom_blocks |
| array | $check_global_activation |
| array | $check_nr_limit |
Static Protected Attributes | |
| static array | $locations |
| static array | $block_types |
Column user interface class.
This class is used on the personal desktop, the info screen class and witin container classes.
ilColumnGUI: ilCalendarGUI ilColumnGUI:
Definition at line 41 of file class.ilColumnGUI.php.
| ilColumnGUI::__construct | ( | string | $a_col_type = "", |
| string | $a_side = "", |
||
| bool | $use_std_context = false |
||
| ) |
Definition at line 170 of file class.ilColumnGUI.php.
References $DIC, ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), setColType(), setSide(), ILIAS\Repository\settings(), and ILIAS\Repository\user().
Here is the call graph for this function:| ilColumnGUI::activateBlock | ( | ) |
Activate hidden block.
Definition at line 525 of file class.ilColumnGUI.php.
References $ctrl, $user, ilBlockSetting\_writeDetailLevel(), and ILIAS\Repository\int().
Here is the call graph for this function:| ilColumnGUI::addBlock | ( | ) |
Add a block.
Definition at line 541 of file class.ilColumnGUI.php.
References $ctrl, getAdminCommands(), getEnableEdit(), and getRepositoryMode().
Here is the call graph for this function:
|
static |
Adds location information of the custom block gui.
Definition at line 196 of file class.ilColumnGUI.php.
References $path.
|
static |
Adds the block type of the custom block gui.
| string | $className | The name of the custom block gui class |
| string | $identifier | The identifier (block type) of the custom block gui |
Definition at line 208 of file class.ilColumnGUI.php.
| ilColumnGUI::determineBlocks | ( | ) |
Determine which blocks to show.
Definition at line 565 of file class.ilColumnGUI.php.
References $ctrl, $side, $user, $user_id, ilBlockSetting\_lookupSide(), getColType(), getItemPresentationManager(), getRepositoryMode(), hasItemPresentationManager(), IL_COL_CENTER, IL_COL_LEFT, IL_COL_RIGHT, isGloballyActivated(), and ilArrayUtil\sortArray().
Referenced by getHTML(), and updateBlock().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Check whether limit is not exceeded.
Definition at line 783 of file class.ilColumnGUI.php.
References $ctrl, $ilSetting, $res, $settings, getRepositoryMode(), and ILIAS\Repository\int().
Here is the call graph for this function:| ilColumnGUI::executeCommand | ( | ) |
Definition at line 364 of file class.ilColumnGUI.php.
References $ctrl, getAdminCommands(), getColType(), getEnableEdit(), getRepositoryMode(), getSide(), and ilCtrl\setParameter().
Here is the call graph for this function:| ilColumnGUI::getActionMenu | ( | ) |
Definition at line 817 of file class.ilColumnGUI.php.
References $action_menu.
| ilColumnGUI::getAdminCommands | ( | ) |
Definition at line 281 of file class.ilColumnGUI.php.
References $admincommands.
Referenced by addBlock(), executeCommand(), showBlocks(), and updateBlock().
Here is the caller graph for this function:| ilColumnGUI::getBlockProperties | ( | string | $a_block_type | ) |
Definition at line 325 of file class.ilColumnGUI.php.
|
static |
Get Column Side of Current Command.
Definition at line 218 of file class.ilColumnGUI.php.
References $DIC.
Referenced by ilContainerContentGUI\forwardToColumnGUI(), and ilObjectGUI\getCenterColumnHTML().
Here is the caller graph for this function:| ilColumnGUI::getColType | ( | ) |
Definition at line 237 of file class.ilColumnGUI.php.
References $coltype.
Referenced by determineBlocks(), and executeCommand().
Here is the caller graph for this function:| ilColumnGUI::getEnableEdit | ( | ) |
Definition at line 260 of file class.ilColumnGUI.php.
References $enableedit.
Referenced by addBlock(), executeCommand(), showBlocks(), and updateBlock().
Here is the caller graph for this function:| ilColumnGUI::getHTML | ( | ) |
Definition at line 402 of file class.ilColumnGUI.php.
References $ctrl, determineBlocks(), getSide(), ilCtrl\setParameter(), and showBlocks().
Here is the call graph for this function:| ilColumnGUI::getItemPresentationManager | ( | ) |
Definition at line 354 of file class.ilColumnGUI.php.
References $item_presentation.
Referenced by determineBlocks().
Here is the caller graph for this function:| ilColumnGUI::getRepositoryItems | ( | ) |
| ilColumnGUI::getRepositoryMode | ( | ) |
Definition at line 271 of file class.ilColumnGUI.php.
References $repositorymode.
Referenced by addBlock(), determineBlocks(), exceededLimit(), executeCommand(), showBlocks(), and updateBlock().
Here is the caller graph for this function:
|
static |
Definition at line 286 of file class.ilColumnGUI.php.
References $DIC, IL_SCREEN_CENTER, and IL_SCREEN_SIDE.
Referenced by ilContainerContentGUI\forwardToColumnGUI(), and ilObjectGUI\getCenterColumnHTML().
Here is the caller graph for this function:| ilColumnGUI::getSide | ( | ) |
Definition at line 250 of file class.ilColumnGUI.php.
References $side.
Referenced by executeCommand(), getHTML(), showBlocks(), and updateBlock().
Here is the caller graph for this function:| ilColumnGUI::hasItemPresentationManager | ( | ) |
Definition at line 359 of file class.ilColumnGUI.php.
Referenced by determineBlocks().
Here is the caller graph for this function:
|
protected |
Check whether a block type is globally activated.
Definition at line 718 of file class.ilColumnGUI.php.
References $ctrl, $GLOBALS, $ilSetting, $settings, ilCalendarSettings\_getInstance(), ilContainer\_lookupContainerSetting(), ilDashboardSidePanelSettingsRepository\CALENDAR, ilCalendarSettings\lookupCalendarContentPresentationEnabled(), ilObjCourse\lookupTutorialBlockSettingEabled(), ilDashboardSidePanelSettingsRepository\MAIL, ilDashboardSidePanelSettingsRepository\NEWS, ilDashboardSidePanelSettingsRepository\TASKS, and ilObjectServiceSettingsGUI\USE_NEWS.
Referenced by determineBlocks().
Here is the call graph for this function:
Here is the caller graph for this function:| ilColumnGUI::setActionMenu | ( | ilAdvancedSelectionListGUI | $action_menu | ) |
| ilColumnGUI::setAdminCommands | ( | bool | $a_admincommands | ) |
Definition at line 276 of file class.ilColumnGUI.php.
Referenced by ilContainerGUI\setColumnSettings().
Here is the caller graph for this function:| ilColumnGUI::setAllBlockProperties | ( | array | $a_block_properties | ) |
Definition at line 331 of file class.ilColumnGUI.php.
Referenced by ilInfoScreenGUI\setColumnSettings().
Here is the caller graph for this function:| ilColumnGUI::setBlockProperty | ( | string | $a_block_type, |
| string | $a_property, | ||
| string | $a_value | ||
| ) |
This function is supposed to be used for block type specific properties, that should be passed to ilBlockGUI->setProperty.
Definition at line 317 of file class.ilColumnGUI.php.
Referenced by ilContainerGUI\setColumnSettings(), and ilObjForumGUI\setColumnSettings().
Here is the caller graph for this function:| ilColumnGUI::setColType | ( | string | $a_coltype | ) |
| string | $a_coltype | Column Type |
Definition at line 232 of file class.ilColumnGUI.php.
Referenced by __construct().
Here is the caller graph for this function:| ilColumnGUI::setEnableEdit | ( | bool | $a_enableedit | ) |
Definition at line 255 of file class.ilColumnGUI.php.
Referenced by ilInfoScreenGUI\setColumnSettings(), and ilObjectGUI\setColumnSettings().
Here is the caller graph for this function:| ilColumnGUI::setItemPresentationManager | ( | ItemPresentationManager | $item_presentation | ) |
Definition at line 348 of file class.ilColumnGUI.php.
References $item_presentation.
Referenced by ilContainerGUI\setColumnSettings().
Here is the caller graph for this function:| ilColumnGUI::setRepositoryItems | ( | array | $a_repositoryitems | ) |
Definition at line 337 of file class.ilColumnGUI.php.
| ilColumnGUI::setRepositoryMode | ( | bool | $a_repositorymode | ) |
Definition at line 265 of file class.ilColumnGUI.php.
Referenced by ilInfoScreenGUI\setColumnSettings(), ilObjectGUI\setColumnSettings(), and ilObjForumGUI\setColumnSettings().
Here is the caller graph for this function:| ilColumnGUI::setSide | ( | string | $a_side | ) |
| string | $a_side | Side IL_COL_LEFT | IL_COL_RIGHT |
Definition at line 245 of file class.ilColumnGUI.php.
Referenced by __construct().
Here is the caller graph for this function:| ilColumnGUI::showBlocks | ( | ) |
Definition at line 414 of file class.ilColumnGUI.php.
References $ctrl, $path, $user, getAdminCommands(), getEnableEdit(), getRepositoryMode(), and getSide().
Referenced by getHTML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilColumnGUI::updateBlock | ( | ) |
Update Block (asynchronous)
Definition at line 472 of file class.ilColumnGUI.php.
References $ctrl, determineBlocks(), exit, getAdminCommands(), getEnableEdit(), getRepositoryMode(), and getSide().
Here is the call graph for this function:
|
protected |
Definition at line 66 of file class.ilColumnGUI.php.
Referenced by getActionMenu(), and setActionMenu().
|
protected |
Definition at line 65 of file class.ilColumnGUI.php.
Referenced by getAdminCommands().
|
protected |
Definition at line 64 of file class.ilColumnGUI.php.
|
staticprotected |
Definition at line 89 of file class.ilColumnGUI.php.
|
protected |
Definition at line 59 of file class.ilColumnGUI.php.
|
protected |
Definition at line 52 of file class.ilColumnGUI.php.
|
protected |
Definition at line 154 of file class.ilColumnGUI.php.
|
protected |
Definition at line 167 of file class.ilColumnGUI.php.
|
protected |
Definition at line 44 of file class.ilColumnGUI.php.
Referenced by getColType().
|
protected |
Definition at line 48 of file class.ilColumnGUI.php.
Referenced by activateBlock(), addBlock(), determineBlocks(), exceededLimit(), executeCommand(), getHTML(), isGloballyActivated(), showBlocks(), and updateBlock().
|
protected |
Definition at line 141 of file class.ilColumnGUI.php.
|
protected |
Definition at line 45 of file class.ilColumnGUI.php.
|
protected |
Definition at line 106 of file class.ilColumnGUI.php.
|
protected |
Definition at line 57 of file class.ilColumnGUI.php.
Referenced by getEnableEdit().
|
protected |
Definition at line 46 of file class.ilColumnGUI.php.
Referenced by getItemPresentationManager(), and setItemPresentationManager().
|
protected |
Definition at line 49 of file class.ilColumnGUI.php.
|
staticprotected |
Definition at line 73 of file class.ilColumnGUI.php.
|
protected |
Definition at line 62 of file class.ilColumnGUI.php.
|
protected |
Definition at line 43 of file class.ilColumnGUI.php.
Referenced by getRepositoryItems().
|
protected |
Definition at line 58 of file class.ilColumnGUI.php.
Referenced by getRepositoryMode().
|
protected |
Definition at line 47 of file class.ilColumnGUI.php.
|
protected |
Definition at line 53 of file class.ilColumnGUI.php.
Referenced by exceededLimit(), and isGloballyActivated().
|
protected |
Definition at line 55 of file class.ilColumnGUI.php.
Referenced by determineBlocks(), and getSide().
|
protected |
Definition at line 51 of file class.ilColumnGUI.php.
|
protected |
Definition at line 56 of file class.ilColumnGUI.php.
|
protected |
Definition at line 50 of file class.ilColumnGUI.php.
Referenced by activateBlock(), determineBlocks(), and showBlocks().