ILIAS
Release_3_10_x_branch Revision 61812
|
Column user interface class. More...
Public Member Functions | |
ilColumnGUI ($a_col_type="", $a_side="", $use_std_context=false) | |
Constructor. | |
setColType ($a_coltype) | |
Set Column Type. | |
getColType () | |
Get Column Type. | |
setSide ($a_side) | |
Set Side IL_COL_LEFT | IL_COL_RIGHT. | |
getSide () | |
Get Side IL_COL_LEFT | IL_COL_RIGHT. | |
setEnableEdit ($a_enableedit) | |
Set EnableEdit. | |
getEnableEdit () | |
Get EnableEdit. | |
setRepositoryMode ($a_repositorymode) | |
Set RepositoryMode. | |
getRepositoryMode () | |
Get RepositoryMode. | |
setAdminCommands ($a_admincommands) | |
Set Administration Commmands. | |
getAdminCommands () | |
Get Administration Commmands. | |
setMovementMode ($a_movementmode) | |
Set Movement Mode. | |
getMovementMode () | |
Get Movement Mode. | |
setEnableMovement ($a_enablemovement) | |
Set Enable Movement. | |
getEnableMovement () | |
Get Enable Movement. | |
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. | |
getBlockProperties ($a_block_type) | |
setAllBlockProperties ($a_block_properties) | |
setRepositoryItems ($a_repositoryitems) | |
Set Repository Items. | |
getRepositoryItems () | |
Get Repository Items. | |
& | executeCommand () |
execute command | |
getHTML () | |
Get HTML for column. | |
showBlocks () | |
Show blocks. | |
setPossibleMoves ($a_block_gui, $i, $sum_moveable) | |
addHiddenBlockSelector () | |
Add hidden block and create block selectors. | |
toggleMovement () | |
updateBlock () | |
Update Block (asynchronous) | |
activateBlock () | |
Activate hidden block. | |
addBlock () | |
Add a block. | |
determineBlocks () | |
Determine which blocks to show. | |
moveBlock () |
Static Public Member Functions | |
static | getCmdSide () |
Get Column Side of Current Command. | |
static | getScreenMode () |
Get Screen Mode for current command. |
Protected Member Functions | |
isGloballyActivated ($a_type) | |
Check whether a block type is globally activated. | |
exceededLimit ($a_type) | |
Check whether limit is not exceeded. |
Protected Attributes | |
$side = IL_COL_RIGHT | |
$type | |
$enableedit = false | |
$repositorymode = false | |
$repositoryitems = array() | |
$rep_block_types = array("feed") | |
$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 42 of file class.ilColumnGUI.php.
ilColumnGUI::activateBlock | ( | ) |
Activate hidden block.
Definition at line 819 of file class.ilColumnGUI.php.
References $ilCtrl, and ilBlockSetting\_writeDetailLevel().
ilColumnGUI::addBlock | ( | ) |
Add a block.
Definition at line 836 of file class.ilColumnGUI.php.
References $ilCtrl, getAdminCommands(), getEnableEdit(), getMovementMode(), and getRepositoryMode().
ilColumnGUI::addHiddenBlockSelector | ( | ) |
Add hidden block and create block selectors.
Definition at line 589 of file class.ilColumnGUI.php.
References $_SESSION, $ilCtrl, $ilSetting, $lng, ilBlockSetting\_lookupDetailLevel(), exceededLimit(), ilUtil\formSelect(), getColType(), getEnableEdit(), getEnableMovement(), getRepositoryMode(), getSide(), IL_COL_RIGHT, and isGloballyActivated().
Referenced by getHTML().
ilColumnGUI::determineBlocks | ( | ) |
Determine which blocks to show.
Definition at line 861 of file class.ilColumnGUI.php.
References $ilCtrl, $ilSetting, $side, $type, ilBlockSetting\_lookupNr(), ilBlockSetting\_lookupSide(), getColType(), getRepositoryItems(), getRepositoryMode(), IL_COL_CENTER, IL_COL_LEFT, IL_COL_RIGHT, isGloballyActivated(), and ilUtil\sortArray().
Referenced by getHTML(), moveBlock(), and updateBlock().
|
protected |
Check whether limit is not exceeded.
Definition at line 1109 of file class.ilColumnGUI.php.
References $ilCtrl, $ilSetting, $res, and getRepositoryMode().
Referenced by addHiddenBlockSelector().
& ilColumnGUI::executeCommand | ( | ) |
execute command
Definition at line 398 of file class.ilColumnGUI.php.
References $_GET, $cmd, $ilCtrl, getAdminCommands(), getColType(), getEnableEdit(), getMovementMode(), getRepositoryMode(), and getSide().
ilColumnGUI::getAdminCommands | ( | ) |
Get Administration Commmands.
Definition at line 278 of file class.ilColumnGUI.php.
Referenced by addBlock(), executeCommand(), showBlocks(), and updateBlock().
ilColumnGUI::getBlockProperties | ( | $a_block_type | ) |
Definition at line 365 of file class.ilColumnGUI.php.
|
static |
Get Column Side of Current Command.
Definition at line 178 of file class.ilColumnGUI.php.
References $_GET.
Referenced by ilContainerContentGUI\__forwardToColumnGUI(), ilCourseContentGUI\__forwardToColumnGUI(), ilObjectGUI\getCenterColumnHTML(), and moveBlock().
ilColumnGUI::getColType | ( | ) |
Get Column Type.
Definition at line 198 of file class.ilColumnGUI.php.
Referenced by addHiddenBlockSelector(), determineBlocks(), executeCommand(), ilColumnGUI(), moveBlock(), and toggleMovement().
ilColumnGUI::getEnableEdit | ( | ) |
Get EnableEdit.
Definition at line 238 of file class.ilColumnGUI.php.
References $enableedit.
Referenced by addBlock(), addHiddenBlockSelector(), executeCommand(), getHTML(), showBlocks(), and updateBlock().
ilColumnGUI::getEnableMovement | ( | ) |
Get Enable Movement.
Definition at line 318 of file class.ilColumnGUI.php.
Referenced by addHiddenBlockSelector().
ilColumnGUI::getHTML | ( | ) |
Get HTML for column.
Definition at line 451 of file class.ilColumnGUI.php.
References $ilBench, $ilCtrl, addHiddenBlockSelector(), determineBlocks(), getEnableEdit(), getRepositoryMode(), getSide(), and showBlocks().
ilColumnGUI::getMovementMode | ( | ) |
Get Movement Mode.
Definition at line 298 of file class.ilColumnGUI.php.
Referenced by addBlock(), executeCommand(), showBlocks(), and updateBlock().
ilColumnGUI::getRepositoryItems | ( | ) |
Get Repository Items.
Definition at line 390 of file class.ilColumnGUI.php.
References $repositoryitems.
Referenced by determineBlocks().
ilColumnGUI::getRepositoryMode | ( | ) |
Get RepositoryMode.
Definition at line 258 of file class.ilColumnGUI.php.
References $repositorymode.
Referenced by addBlock(), addHiddenBlockSelector(), determineBlocks(), exceededLimit(), executeCommand(), getHTML(), moveBlock(), setPossibleMoves(), showBlocks(), and updateBlock().
|
static |
Get Screen Mode for current command.
Definition at line 326 of file class.ilColumnGUI.php.
References $_GET, $ilCtrl, 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 218 of file class.ilColumnGUI.php.
References $side.
Referenced by addHiddenBlockSelector(), executeCommand(), getHTML(), setPossibleMoves(), showBlocks(), and updateBlock().
ilColumnGUI::ilColumnGUI | ( | $a_col_type = "" , |
|
$a_side = "" , |
|||
$use_std_context = false |
|||
) |
Constructor.
Definition at line 155 of file class.ilColumnGUI.php.
References $_SESSION, $ilCtrl, $tpl, getColType(), setColType(), setMovementMode(), and setSide().
|
protected |
Check whether a block type is globally activated.
Definition at line 1071 of file class.ilColumnGUI.php.
References $ilSetting, and ilCalendarSettings\_getInstance().
Referenced by addHiddenBlockSelector(), and determineBlocks().
ilColumnGUI::moveBlock | ( | ) |
Definition at line 1014 of file class.ilColumnGUI.php.
References $_GET, $ilCtrl, ilBlockSetting\_lookupDetailLevel(), ilBlockSetting\_writeNumber(), ilBlockSetting\_writeSide(), determineBlocks(), getCmdSide(), getColType(), getRepositoryMode(), IL_COL_LEFT, and IL_COL_RIGHT.
ilColumnGUI::setAdminCommands | ( | $a_admincommands | ) |
Set Administration Commmands.
boolean | $a_admincommands | Administration Commmands |
Definition at line 268 of file class.ilColumnGUI.php.
ilColumnGUI::setAllBlockProperties | ( | $a_block_properties | ) |
Definition at line 370 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 360 of file class.ilColumnGUI.php.
ilColumnGUI::setColType | ( | $a_coltype | ) |
Set Column Type.
string | $a_coltype | Column Type |
Definition at line 188 of file class.ilColumnGUI.php.
Referenced by ilColumnGUI().
ilColumnGUI::setEnableEdit | ( | $a_enableedit | ) |
Set EnableEdit.
boolean | $a_enableedit | EnableEdit |
Definition at line 228 of file class.ilColumnGUI.php.
ilColumnGUI::setEnableMovement | ( | $a_enablemovement | ) |
Set Enable Movement.
boolean | $a_enablemovement | Enable Movement |
Definition at line 308 of file class.ilColumnGUI.php.
ilColumnGUI::setMovementMode | ( | $a_movementmode | ) |
Set Movement Mode.
boolean | $a_movementmode | Movement Mode |
Definition at line 288 of file class.ilColumnGUI.php.
Referenced by ilColumnGUI().
ilColumnGUI::setPossibleMoves | ( | $a_block_gui, | |
$i, | |||
$sum_moveable | |||
) |
Definition at line 566 of file class.ilColumnGUI.php.
References getRepositoryMode(), getSide(), IL_COL_LEFT, and IL_COL_RIGHT.
Referenced by showBlocks().
ilColumnGUI::setRepositoryItems | ( | $a_repositoryitems | ) |
Set Repository Items.
array | $a_repositoryitems | Repository Items |
Definition at line 380 of file class.ilColumnGUI.php.
ilColumnGUI::setRepositoryMode | ( | $a_repositorymode | ) |
Set RepositoryMode.
boolean | $a_repositorymode | RepositoryMode |
Definition at line 248 of file class.ilColumnGUI.php.
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 208 of file class.ilColumnGUI.php.
Referenced by ilColumnGUI().
ilColumnGUI::showBlocks | ( | ) |
Show blocks.
Definition at line 482 of file class.ilColumnGUI.php.
References $ilBench, $ilCtrl, $lng, ilBlockSetting\_lookupDetailLevel(), getAdminCommands(), getEnableEdit(), getMovementMode(), getRepositoryMode(), getSide(), and setPossibleMoves().
Referenced by getHTML().
ilColumnGUI::toggleMovement | ( | ) |
Definition at line 713 of file class.ilColumnGUI.php.
References $_SESSION, $ilCtrl, and getColType().
ilColumnGUI::updateBlock | ( | ) |
Update Block (asynchronous)
Definition at line 731 of file class.ilColumnGUI.php.
References $_GET, $ilBench, $ilCtrl, determineBlocks(), exit, getAdminCommands(), getEnableEdit(), getMovementMode(), getRepositoryMode(), getSide(), IL_COL_LEFT, and IL_COL_RIGHT.
|
staticprotected |
Definition at line 76 of file class.ilColumnGUI.php.
|
protected |
Definition at line 136 of file class.ilColumnGUI.php.
|
protected |
Definition at line 147 of file class.ilColumnGUI.php.
|
protected |
Definition at line 124 of file class.ilColumnGUI.php.
|
protected |
Definition at line 95 of file class.ilColumnGUI.php.
|
protected |
Definition at line 46 of file class.ilColumnGUI.php.
Referenced by getEnableEdit().
|
staticprotected |
Definition at line 58 of file class.ilColumnGUI.php.
|
protected |
Definition at line 51 of file class.ilColumnGUI.php.
|
protected |
Definition at line 48 of file class.ilColumnGUI.php.
Referenced by getRepositoryItems().
|
protected |
Definition at line 47 of file class.ilColumnGUI.php.
Referenced by getRepositoryMode().
|
protected |
Definition at line 44 of file class.ilColumnGUI.php.
Referenced by determineBlocks(), and getSide().
|
protected |
Definition at line 45 of file class.ilColumnGUI.php.
Referenced by determineBlocks().