ILIAS
trunk Revision v11.0_alpha-1761-g6dbbfa7b760
|
Column user interface class. More...
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 42 of file class.ilColumnGUI.php.
ilColumnGUI::__construct | ( | string | $a_col_type = "" , |
string | $a_side = "" , |
||
bool | $use_std_context = false |
||
) |
Definition at line 179 of file class.ilColumnGUI.php.
References $DIC, ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), setColType(), setSide(), ILIAS\Repository\settings(), and ILIAS\Repository\user().
ilColumnGUI::activateBlock | ( | ) |
Activate hidden block.
Definition at line 534 of file class.ilColumnGUI.php.
References $ctrl, $user, ilBlockSetting\_writeDetailLevel(), and ILIAS\Repository\int().
ilColumnGUI::addBlock | ( | ) |
Add a block.
Definition at line 550 of file class.ilColumnGUI.php.
References $ctrl, getAdminCommands(), getEnableEdit(), and getRepositoryMode().
|
static |
Adds location information of the custom block gui.
Definition at line 205 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 217 of file class.ilColumnGUI.php.
ilColumnGUI::determineBlocks | ( | ) |
Determine which blocks to show.
Definition at line 574 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().
|
protected |
Check whether limit is not exceeded.
Definition at line 800 of file class.ilColumnGUI.php.
References $ctrl, $ilSetting, $res, $settings, getRepositoryMode(), and ILIAS\Repository\int().
ilColumnGUI::executeCommand | ( | ) |
Definition at line 373 of file class.ilColumnGUI.php.
References $ctrl, getAdminCommands(), getColType(), getEnableEdit(), getRepositoryMode(), getSide(), and ilCtrl\setParameter().
ilColumnGUI::getActionMenu | ( | ) |
Definition at line 834 of file class.ilColumnGUI.php.
References $action_menu.
ilColumnGUI::getAdminCommands | ( | ) |
Definition at line 290 of file class.ilColumnGUI.php.
References $admincommands.
Referenced by addBlock(), executeCommand(), showBlocks(), and updateBlock().
ilColumnGUI::getBlockProperties | ( | string | $a_block_type | ) |
Definition at line 334 of file class.ilColumnGUI.php.
|
static |
Get Column Side of Current Command.
Definition at line 227 of file class.ilColumnGUI.php.
References $DIC.
Referenced by ilContainerContentGUI\forwardToColumnGUI(), and ilObjectGUI\getCenterColumnHTML().
ilColumnGUI::getColType | ( | ) |
Definition at line 246 of file class.ilColumnGUI.php.
References $coltype.
Referenced by determineBlocks(), and executeCommand().
ilColumnGUI::getEnableEdit | ( | ) |
Definition at line 269 of file class.ilColumnGUI.php.
References $enableedit.
Referenced by addBlock(), executeCommand(), showBlocks(), and updateBlock().
ilColumnGUI::getHTML | ( | ) |
Definition at line 411 of file class.ilColumnGUI.php.
References $ctrl, determineBlocks(), getSide(), ilCtrl\setParameter(), and showBlocks().
ilColumnGUI::getItemPresentationManager | ( | ) |
Definition at line 363 of file class.ilColumnGUI.php.
References $item_presentation.
Referenced by determineBlocks().
ilColumnGUI::getRepositoryItems | ( | ) |
ilColumnGUI::getRepositoryMode | ( | ) |
Definition at line 280 of file class.ilColumnGUI.php.
References $repositorymode.
Referenced by addBlock(), determineBlocks(), exceededLimit(), executeCommand(), showBlocks(), and updateBlock().
|
static |
Definition at line 295 of file class.ilColumnGUI.php.
References $DIC, IL_SCREEN_CENTER, and IL_SCREEN_SIDE.
Referenced by ilContainerContentGUI\forwardToColumnGUI(), and ilObjectGUI\getCenterColumnHTML().
ilColumnGUI::getSide | ( | ) |
Definition at line 259 of file class.ilColumnGUI.php.
References $side.
Referenced by executeCommand(), getHTML(), showBlocks(), and updateBlock().
ilColumnGUI::hasItemPresentationManager | ( | ) |
Definition at line 368 of file class.ilColumnGUI.php.
Referenced by determineBlocks().
|
protected |
Check whether a block type is globally activated.
Definition at line 730 of file class.ilColumnGUI.php.
References $ctrl, $GLOBALS, $ilSetting, $settings, ilCalendarSettings\_getInstance(), ilContainer\_lookupContainerSetting(), ilDashboardSidePanelSettingsRepository\CALENDAR, ilObjectLP\getInstance(), ilCalendarSettings\lookupCalendarContentPresentationEnabled(), ilObjCourse\lookupTutorialBlockSettingEabled(), ilLPObjSettings\LP_MODE_COLLECTION, ilDashboardSidePanelSettingsRepository\MAIL, ilDashboardSidePanelSettingsRepository\NEWS, ilDashboardSidePanelSettingsRepository\TASKS, and ilObjectServiceSettingsGUI\USE_NEWS.
Referenced by determineBlocks().
ilColumnGUI::setActionMenu | ( | ilAdvancedSelectionListGUI | $action_menu | ) |
ilColumnGUI::setAdminCommands | ( | bool | $a_admincommands | ) |
Definition at line 285 of file class.ilColumnGUI.php.
Referenced by ilContainerGUI\setColumnSettings().
ilColumnGUI::setAllBlockProperties | ( | array | $a_block_properties | ) |
Definition at line 340 of file class.ilColumnGUI.php.
Referenced by ilInfoScreenGUI\setColumnSettings().
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 326 of file class.ilColumnGUI.php.
Referenced by ilContainerGUI\setColumnSettings(), and ilObjForumGUI\setColumnSettings().
ilColumnGUI::setColType | ( | string | $a_coltype | ) |
string | $a_coltype | Column Type |
Definition at line 241 of file class.ilColumnGUI.php.
Referenced by __construct().
ilColumnGUI::setEnableEdit | ( | bool | $a_enableedit | ) |
Definition at line 264 of file class.ilColumnGUI.php.
Referenced by ilInfoScreenGUI\setColumnSettings(), and ilObjectGUI\setColumnSettings().
ilColumnGUI::setItemPresentationManager | ( | ItemPresentationManager | $item_presentation | ) |
Definition at line 357 of file class.ilColumnGUI.php.
References $item_presentation.
Referenced by ilContainerGUI\setColumnSettings().
ilColumnGUI::setRepositoryItems | ( | array | $a_repositoryitems | ) |
Definition at line 346 of file class.ilColumnGUI.php.
ilColumnGUI::setRepositoryMode | ( | bool | $a_repositorymode | ) |
Definition at line 274 of file class.ilColumnGUI.php.
Referenced by ilInfoScreenGUI\setColumnSettings(), ilObjectGUI\setColumnSettings(), and ilObjForumGUI\setColumnSettings().
ilColumnGUI::setSide | ( | string | $a_side | ) |
string | $a_side | Side IL_COL_LEFT | IL_COL_RIGHT |
Definition at line 254 of file class.ilColumnGUI.php.
Referenced by __construct().
ilColumnGUI::showBlocks | ( | ) |
Definition at line 423 of file class.ilColumnGUI.php.
References $ctrl, $path, $user, getAdminCommands(), getEnableEdit(), getRepositoryMode(), getSide(), and null.
Referenced by getHTML().
ilColumnGUI::updateBlock | ( | ) |
Update Block (asynchronous)
Definition at line 481 of file class.ilColumnGUI.php.
References $ctrl, determineBlocks(), exit, getAdminCommands(), getEnableEdit(), getRepositoryMode(), and getSide().
|
protected |
Definition at line 67 of file class.ilColumnGUI.php.
Referenced by getActionMenu(), and setActionMenu().
|
protected |
Definition at line 66 of file class.ilColumnGUI.php.
Referenced by getAdminCommands().
|
protected |
Definition at line 65 of file class.ilColumnGUI.php.
|
staticprotected |
Definition at line 91 of file class.ilColumnGUI.php.
|
protected |
Definition at line 60 of file class.ilColumnGUI.php.
|
protected |
Definition at line 53 of file class.ilColumnGUI.php.
|
protected |
Definition at line 162 of file class.ilColumnGUI.php.
|
protected |
Definition at line 176 of file class.ilColumnGUI.php.
|
protected |
Definition at line 45 of file class.ilColumnGUI.php.
Referenced by getColType().
|
protected |
Definition at line 49 of file class.ilColumnGUI.php.
Referenced by activateBlock(), addBlock(), determineBlocks(), exceededLimit(), executeCommand(), getHTML(), isGloballyActivated(), showBlocks(), and updateBlock().
|
protected |
Definition at line 149 of file class.ilColumnGUI.php.
|
protected |
Definition at line 46 of file class.ilColumnGUI.php.
|
protected |
Definition at line 109 of file class.ilColumnGUI.php.
|
protected |
Definition at line 58 of file class.ilColumnGUI.php.
Referenced by getEnableEdit().
|
protected |
Definition at line 47 of file class.ilColumnGUI.php.
Referenced by getItemPresentationManager(), and setItemPresentationManager().
|
protected |
Definition at line 50 of file class.ilColumnGUI.php.
|
staticprotected |
Definition at line 74 of file class.ilColumnGUI.php.
|
protected |
Definition at line 63 of file class.ilColumnGUI.php.
|
protected |
Definition at line 44 of file class.ilColumnGUI.php.
Referenced by getRepositoryItems().
|
protected |
Definition at line 59 of file class.ilColumnGUI.php.
Referenced by getRepositoryMode().
|
protected |
Definition at line 48 of file class.ilColumnGUI.php.
|
protected |
Definition at line 54 of file class.ilColumnGUI.php.
Referenced by exceededLimit(), and isGloballyActivated().
|
protected |
Definition at line 56 of file class.ilColumnGUI.php.
Referenced by determineBlocks(), and getSide().
|
protected |
Definition at line 52 of file class.ilColumnGUI.php.
|
protected |
Definition at line 57 of file class.ilColumnGUI.php.
|
protected |
Definition at line 51 of file class.ilColumnGUI.php.
Referenced by activateBlock(), determineBlocks(), and showBlocks().