ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Column user interface class. More...
Public Member Functions | |
__construct ($a_col_type="", $a_side="", $use_std_context=false) | |
Constructor. More... | |
setColType ($a_coltype) | |
Set Column Type. More... | |
getColType () | |
Get Column Type. More... | |
setSide ($a_side) | |
Set Side IL_COL_LEFT | IL_COL_RIGHT. More... | |
getSide () | |
Get Side IL_COL_LEFT | IL_COL_RIGHT. More... | |
setEnableEdit ($a_enableedit) | |
Set EnableEdit. More... | |
getEnableEdit () | |
Get EnableEdit. More... | |
setRepositoryMode ($a_repositorymode) | |
Set RepositoryMode. More... | |
getRepositoryMode () | |
Get RepositoryMode. More... | |
setAdminCommands ($a_admincommands) | |
Set Administration Commmands. More... | |
getAdminCommands () | |
Get Administration Commmands. More... | |
setBlockProperty ($a_block_type, $a_property, $a_value) | |
This function is supposed to be used for block type specific properties, that should be passed to ilBlockGUI->setProperty. More... | |
getBlockProperties ($a_block_type) | |
setAllBlockProperties ($a_block_properties) | |
setRepositoryItems ($a_repositoryitems) | |
Set Repository Items. More... | |
getRepositoryItems () | |
Get Repository Items. More... | |
executeCommand () | |
execute command More... | |
getHTML () | |
Get HTML for column. More... | |
showBlocks () | |
Show blocks. More... | |
updateBlock () | |
Update Block (asynchronous) More... | |
activateBlock () | |
Activate hidden block. More... | |
addBlock () | |
Add a block. More... | |
determineBlocks () | |
Determine which blocks to show. More... | |
setActionMenu ($action_menu) | |
getActionMenu () | |
Static Public Member Functions | |
static | addCustomBlockLocation ($className, $path) |
Adds location information of the custom block gui. More... | |
static | addCustomBlockType ($className, $identifier) |
Adds the block type of the custom block gui. More... | |
static | getCmdSide () |
Get Column Side of Current Command. More... | |
static | getScreenMode () |
Get Screen Mode for current command. More... | |
Protected Member Functions | |
isGloballyActivated ($a_type) | |
Check whether a block type is globally activated. More... | |
exceededLimit ($a_type) | |
Check whether limit is not exceeded. More... | |
Protected Attributes | |
$ctrl | |
$lng | |
$user | |
$tpl | |
$browser | |
$settings | |
$side = IL_COL_RIGHT | |
$type | |
$enableedit = false | |
$repositorymode = false | |
$repositoryitems = array() | |
$rep_block_types = array("feed","poll") | |
$block_property = array() | |
$admincommands = false | |
$action_menu | |
$default_blocks | |
$custom_blocks | |
$check_global_activation | |
$check_nr_limit | |
Static Protected Attributes | |
static | $locations |
static | $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 22 of file class.ilColumnGUI.php.
ilColumnGUI::__construct | ( | $a_col_type = "" , |
|
$a_side = "" , |
|||
$use_std_context = false |
|||
) |
Constructor.
Definition at line 180 of file class.ilColumnGUI.php.
References $DIC, setColType(), setSide(), settings(), and user().
ilColumnGUI::activateBlock | ( | ) |
Activate hidden block.
Definition at line 702 of file class.ilColumnGUI.php.
References $_GET, $ctrl, $ilUser, $user, and ilBlockSetting\_writeDetailLevel().
ilColumnGUI::addBlock | ( | ) |
Add a block.
Definition at line 719 of file class.ilColumnGUI.php.
References $_GET, $ctrl, getAdminCommands(), getEnableEdit(), and getRepositoryMode().
|
static |
Adds location information of the custom block gui.
public
string | The name of the custom block gui class |
string | The path of the custom block gui class |
Definition at line 206 of file class.ilColumnGUI.php.
|
static |
Adds the block type of the custom block gui.
public
string | The name of the custom block gui class |
string | The identifier (block type) of the custom block gui |
Definition at line 221 of file class.ilColumnGUI.php.
ilColumnGUI::determineBlocks | ( | ) |
Determine which blocks to show.
Definition at line 743 of file class.ilColumnGUI.php.
References $ctrl, $ilSetting, $ilUser, $settings, $side, $type, $user, ilBlockSetting\_lookupSide(), getColType(), getRepositoryItems(), getRepositoryMode(), IL_COL_CENTER, IL_COL_LEFT, IL_COL_RIGHT, isGloballyActivated(), and ilUtil\sortArray().
Referenced by getHTML(), and updateBlock().
|
protected |
Check whether limit is not exceeded.
Definition at line 959 of file class.ilColumnGUI.php.
References $_POST, $ctrl, $i, $ilSetting, $ilUser, $res, $response, $settings, $side, $user, ilBlockSetting\_writeNumber(), ilBlockSetting\_writeSide(), exit, getColType(), getRepositoryMode(), IL_COL_LEFT, and IL_COL_RIGHT.
Referenced by showBlocks().
ilColumnGUI::executeCommand | ( | ) |
execute command
Definition at line 413 of file class.ilColumnGUI.php.
References $_GET, $_POST, $ctrl, getAdminCommands(), getColType(), getEnableEdit(), getRepositoryMode(), and getSide().
ilColumnGUI::getActionMenu | ( | ) |
ilColumnGUI::getAdminCommands | ( | ) |
Get Administration Commmands.
Definition at line 331 of file class.ilColumnGUI.php.
References $admincommands.
Referenced by addBlock(), executeCommand(), showBlocks(), and updateBlock().
ilColumnGUI::getBlockProperties | ( | $a_block_type | ) |
Definition at line 380 of file class.ilColumnGUI.php.
|
static |
Get Column Side of Current Command.
Definition at line 231 of file class.ilColumnGUI.php.
References $_GET.
Referenced by ilContainerContentGUI\__forwardToColumnGUI(), ilCourseContentGUI\__forwardToColumnGUI(), and ilObjectGUI\getCenterColumnHTML().
ilColumnGUI::getColType | ( | ) |
Get Column Type.
Definition at line 251 of file class.ilColumnGUI.php.
Referenced by determineBlocks(), exceededLimit(), executeCommand(), and showBlocks().
ilColumnGUI::getEnableEdit | ( | ) |
Get EnableEdit.
Definition at line 291 of file class.ilColumnGUI.php.
References $enableedit.
Referenced by addBlock(), executeCommand(), getHTML(), showBlocks(), and updateBlock().
ilColumnGUI::getHTML | ( | ) |
Get HTML for column.
Definition at line 460 of file class.ilColumnGUI.php.
References $ctrl, determineBlocks(), getEnableEdit(), getRepositoryMode(), getSide(), and showBlocks().
ilColumnGUI::getRepositoryItems | ( | ) |
Get Repository Items.
Definition at line 405 of file class.ilColumnGUI.php.
References $repositoryitems.
Referenced by determineBlocks().
ilColumnGUI::getRepositoryMode | ( | ) |
Get RepositoryMode.
Definition at line 311 of file class.ilColumnGUI.php.
References $repositorymode.
Referenced by addBlock(), determineBlocks(), exceededLimit(), executeCommand(), getHTML(), showBlocks(), and updateBlock().
|
static |
Get Screen Mode for current command.
Definition at line 339 of file class.ilColumnGUI.php.
References $_GET, $_POST, $DIC, IL_SCREEN_CENTER, and IL_SCREEN_SIDE.
Referenced by ilContainerContentGUI\__forwardToColumnGUI(), ilCourseContentGUI\__forwardToColumnGUI(), and ilObjectGUI\getCenterColumnHTML().
ilColumnGUI::getSide | ( | ) |
Get Side IL_COL_LEFT | IL_COL_RIGHT.
Definition at line 271 of file class.ilColumnGUI.php.
References $side.
Referenced by executeCommand(), getHTML(), showBlocks(), and updateBlock().
|
protected |
Check whether a block type is globally activated.
Definition at line 898 of file class.ilColumnGUI.php.
References $ctrl, $GLOBALS, $ilSetting, $settings, ilCalendarSettings\_getInstance(), ilContainer\_lookupContainerSetting(), ilCalendarSettings\lookupCalendarContentPresentationEnabled(), and ilObjectServiceSettingsGUI\USE_NEWS.
Referenced by determineBlocks(), and showBlocks().
ilColumnGUI::setActionMenu | ( | $action_menu | ) |
\ilAdvancedSelectionListGUI | $action_menu |
Definition at line 1028 of file class.ilColumnGUI.php.
References $action_menu.
ilColumnGUI::setAdminCommands | ( | $a_admincommands | ) |
Set Administration Commmands.
boolean | $a_admincommands | Administration Commmands |
Definition at line 321 of file class.ilColumnGUI.php.
Referenced by ilContainerGUI\setColumnSettings().
ilColumnGUI::setAllBlockProperties | ( | $a_block_properties | ) |
Definition at line 385 of file class.ilColumnGUI.php.
ilColumnGUI::setBlockProperty | ( | $a_block_type, | |
$a_property, | |||
$a_value | |||
) |
This function is supposed to be used for block type specific properties, that should be passed to ilBlockGUI->setProperty.
string | $a_property | property name |
string | $a_value | property value |
Definition at line 375 of file class.ilColumnGUI.php.
Referenced by ilContainerGUI\setColumnSettings(), and ilObjForumGUI\setColumnSettings().
ilColumnGUI::setColType | ( | $a_coltype | ) |
Set Column Type.
string | $a_coltype | Column Type |
Definition at line 241 of file class.ilColumnGUI.php.
Referenced by __construct().
ilColumnGUI::setEnableEdit | ( | $a_enableedit | ) |
Set EnableEdit.
boolean | $a_enableedit | EnableEdit |
Definition at line 281 of file class.ilColumnGUI.php.
Referenced by ilObjectGUI\setColumnSettings().
ilColumnGUI::setRepositoryItems | ( | $a_repositoryitems | ) |
Set Repository Items.
array | $a_repositoryitems | Repository Items |
Definition at line 395 of file class.ilColumnGUI.php.
Referenced by ilContainerGUI\setColumnSettings().
ilColumnGUI::setRepositoryMode | ( | $a_repositorymode | ) |
Set RepositoryMode.
boolean | $a_repositorymode | RepositoryMode |
Definition at line 301 of file class.ilColumnGUI.php.
Referenced by ilObjectGUI\setColumnSettings(), and ilObjForumGUI\setColumnSettings().
ilColumnGUI::setSide | ( | $a_side | ) |
Set Side IL_COL_LEFT | IL_COL_RIGHT.
string | $a_side | Side IL_COL_LEFT | IL_COL_RIGHT |
Definition at line 261 of file class.ilColumnGUI.php.
Referenced by __construct().
ilColumnGUI::showBlocks | ( | ) |
Show blocks.
Definition at line 480 of file class.ilColumnGUI.php.
References $ctrl, $i, $ilUser, $lng, $user, ilBlockSetting\_lookupDetailLevel(), exceededLimit(), getAdminCommands(), getColType(), getEnableEdit(), getRepositoryMode(), getSide(), IL_COL_RIGHT, and isGloballyActivated().
Referenced by getHTML().
ilColumnGUI::updateBlock | ( | ) |
Update Block (asynchronous)
Definition at line 642 of file class.ilColumnGUI.php.
References $_GET, $ctrl, $i, determineBlocks(), exit, getAdminCommands(), getEnableEdit(), getRepositoryMode(), and getSide().
|
protected |
Definition at line 68 of file class.ilColumnGUI.php.
Referenced by getActionMenu(), and setActionMenu().
|
protected |
Definition at line 63 of file class.ilColumnGUI.php.
Referenced by getAdminCommands().
|
protected |
Definition at line 62 of file class.ilColumnGUI.php.
|
staticprotected |
Definition at line 92 of file class.ilColumnGUI.php.
|
protected |
Definition at line 47 of file class.ilColumnGUI.php.
|
protected |
Definition at line 160 of file class.ilColumnGUI.php.
|
protected |
Definition at line 172 of file class.ilColumnGUI.php.
|
protected |
Definition at line 27 of file class.ilColumnGUI.php.
Referenced by activateBlock(), addBlock(), determineBlocks(), exceededLimit(), executeCommand(), getHTML(), isGloballyActivated(), showBlocks(), and updateBlock().
|
protected |
Definition at line 144 of file class.ilColumnGUI.php.
|
protected |
Definition at line 110 of file class.ilColumnGUI.php.
|
protected |
Definition at line 56 of file class.ilColumnGUI.php.
Referenced by getEnableEdit().
|
protected |
Definition at line 32 of file class.ilColumnGUI.php.
Referenced by showBlocks().
|
staticprotected |
Definition at line 75 of file class.ilColumnGUI.php.
|
protected |
Definition at line 61 of file class.ilColumnGUI.php.
|
protected |
Definition at line 58 of file class.ilColumnGUI.php.
Referenced by getRepositoryItems().
|
protected |
Definition at line 57 of file class.ilColumnGUI.php.
Referenced by getRepositoryMode().
|
protected |
Definition at line 52 of file class.ilColumnGUI.php.
Referenced by determineBlocks(), exceededLimit(), and isGloballyActivated().
|
protected |
Definition at line 54 of file class.ilColumnGUI.php.
Referenced by determineBlocks(), exceededLimit(), and getSide().
|
protected |
Definition at line 42 of file class.ilColumnGUI.php.
|
protected |
Definition at line 55 of file class.ilColumnGUI.php.
Referenced by determineBlocks().
|
protected |
Definition at line 37 of file class.ilColumnGUI.php.
Referenced by activateBlock(), determineBlocks(), exceededLimit(), and showBlocks().