|
ILIAS
Release_5_0_x_branch Revision 61816
|
Column user interface class. More...
Collaboration diagram for ilColumnGUI:Public Member Functions | |
| __construct ($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. | |
| updateBlock () | |
| Update Block (asynchronous) | |
| activateBlock () | |
| Activate hidden block. | |
| addBlock () | |
| Add a block. | |
| determineBlocks () | |
| Determine which blocks to show. | |
| setActionMenu ($action_menu) | |
| getActionMenu () | |
Static Public Member Functions | |
| static | addCustomBlockLocation ($className, $path) |
| Adds location information of the custom block gui. | |
| static | addCustomBlockType ($className, $identifier) |
| Adds the block type of the custom block gui. | |
| 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","poll") | |
| $block_property = array() | |
| $admincommands = null | |
| $movementmode = null | |
| $enablemovement = 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 155 of file class.ilColumnGUI.php.
References setColType(), and setSide().
Here is the call graph for this function:| ilColumnGUI::activateBlock | ( | ) |
Activate hidden block.
Definition at line 809 of file class.ilColumnGUI.php.
References $_GET, $ilCtrl, $ilUser, and ilBlockSetting\_writeDetailLevel().
Here is the call graph for this function:| ilColumnGUI::addBlock | ( | ) |
Add a block.
Definition at line 826 of file class.ilColumnGUI.php.
References $_GET, $ilCtrl, getAdminCommands(), getEnableEdit(), and getRepositoryMode().
Here is the call graph for this function:
|
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 171 of file class.ilColumnGUI.php.
References $path.
|
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 186 of file class.ilColumnGUI.php.
| ilColumnGUI::determineBlocks | ( | ) |
Determine which blocks to show.
Definition at line 851 of file class.ilColumnGUI.php.
References $ilCtrl, $ilSetting, $ilUser, $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(), 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 1094 of file class.ilColumnGUI.php.
References $ilCtrl, $ilSetting, $res, and getRepositoryMode().
Here is the call graph for this function:| & ilColumnGUI::executeCommand | ( | ) |
execute command
Definition at line 422 of file class.ilColumnGUI.php.
References $_GET, $_POST, $cmd, $ilCtrl, getAdminCommands(), getColType(), getEnableEdit(), getRepositoryMode(), and getSide().
Here is the call graph for this function:| ilColumnGUI::getActionMenu | ( | ) |
| ilColumnGUI::getAdminCommands | ( | ) |
Get Administration Commmands.
Definition at line 296 of file class.ilColumnGUI.php.
References $admincommands.
Referenced by addBlock(), executeCommand(), showBlocks(), and updateBlock().
Here is the caller graph for this function:| ilColumnGUI::getBlockProperties | ( | $a_block_type | ) |
Definition at line 389 of file class.ilColumnGUI.php.
|
static |
Get Column Side of Current Command.
Definition at line 196 of file class.ilColumnGUI.php.
References $_GET.
Referenced by ilContainerContentGUI\__forwardToColumnGUI(), ilCourseContentGUI\__forwardToColumnGUI(), and ilObjectGUI\getCenterColumnHTML().
Here is the caller graph for this function:| ilColumnGUI::getColType | ( | ) |
Get Column Type.
Definition at line 216 of file class.ilColumnGUI.php.
Referenced by determineBlocks(), and executeCommand().
Here is the caller graph for this function:| ilColumnGUI::getEnableEdit | ( | ) |
Get EnableEdit.
Definition at line 256 of file class.ilColumnGUI.php.
References $enableedit.
Referenced by addBlock(), executeCommand(), getHTML(), showBlocks(), and updateBlock().
Here is the caller graph for this function:| ilColumnGUI::getEnableMovement | ( | ) |
Get Enable Movement.
Definition at line 336 of file class.ilColumnGUI.php.
References $enablemovement.
| ilColumnGUI::getHTML | ( | ) |
Get HTML for column.
Definition at line 474 of file class.ilColumnGUI.php.
References $ilBench, $ilCtrl, determineBlocks(), getEnableEdit(), getRepositoryMode(), getSide(), and showBlocks().
Here is the call graph for this function:| ilColumnGUI::getMovementMode | ( | ) |
Get Movement Mode.
Definition at line 316 of file class.ilColumnGUI.php.
References $movementmode.
Referenced by showBlocks().
Here is the caller graph for this function:| ilColumnGUI::getRepositoryItems | ( | ) |
Get Repository Items.
Definition at line 414 of file class.ilColumnGUI.php.
References $repositoryitems.
Referenced by determineBlocks().
Here is the caller graph for this function:| ilColumnGUI::getRepositoryMode | ( | ) |
Get RepositoryMode.
Definition at line 276 of file class.ilColumnGUI.php.
References $repositorymode.
Referenced by addBlock(), determineBlocks(), exceededLimit(), executeCommand(), getHTML(), showBlocks(), and updateBlock().
Here is the caller graph for this function:
|
static |
Get Screen Mode for current command.
Definition at line 344 of file class.ilColumnGUI.php.
References $_GET, $_POST, $ilCtrl, IL_SCREEN_CENTER, and IL_SCREEN_SIDE.
Referenced by ilContainerContentGUI\__forwardToColumnGUI(), ilCourseContentGUI\__forwardToColumnGUI(), and ilObjectGUI\getCenterColumnHTML().
Here is the caller graph for this function:| ilColumnGUI::getSide | ( | ) |
Get Side IL_COL_LEFT | IL_COL_RIGHT.
Definition at line 236 of file class.ilColumnGUI.php.
References $side.
Referenced by executeCommand(), getHTML(), showBlocks(), and updateBlock().
Here is the caller graph for this function:
|
protected |
Check whether a block type is globally activated.
Definition at line 1033 of file class.ilColumnGUI.php.
References $GLOBALS, $ilSetting, ilCalendarSettings\_getInstance(), ilContainer\_lookupContainerSetting(), and ilCalendarSettings\lookupCalendarActivated().
Referenced by determineBlocks().
Here is the call graph for this function:
Here is the caller graph for this function:| ilColumnGUI::setActionMenu | ( | $action_menu | ) |
| \ilAdvancedSelectionListGUI | $action_menu |
Definition at line 1173 of file class.ilColumnGUI.php.
References $action_menu.
| ilColumnGUI::setAdminCommands | ( | $a_admincommands | ) |
Set Administration Commmands.
| boolean | $a_admincommands | Administration Commmands |
Definition at line 286 of file class.ilColumnGUI.php.
| ilColumnGUI::setAllBlockProperties | ( | $a_block_properties | ) |
Definition at line 394 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 384 of file class.ilColumnGUI.php.
| ilColumnGUI::setColType | ( | $a_coltype | ) |
Set Column Type.
| string | $a_coltype | Column Type |
Definition at line 206 of file class.ilColumnGUI.php.
Referenced by __construct().
Here is the caller graph for this function:| ilColumnGUI::setEnableEdit | ( | $a_enableedit | ) |
Set EnableEdit.
| boolean | $a_enableedit | EnableEdit |
Definition at line 246 of file class.ilColumnGUI.php.
| ilColumnGUI::setEnableMovement | ( | $a_enablemovement | ) |
Set Enable Movement.
| boolean | $a_enablemovement | Enable Movement |
Definition at line 326 of file class.ilColumnGUI.php.
| ilColumnGUI::setMovementMode | ( | $a_movementmode | ) |
Set Movement Mode.
| boolean | $a_movementmode | Movement Mode |
Definition at line 306 of file class.ilColumnGUI.php.
| ilColumnGUI::setRepositoryItems | ( | $a_repositoryitems | ) |
Set Repository Items.
| array | $a_repositoryitems | Repository Items |
Definition at line 404 of file class.ilColumnGUI.php.
| ilColumnGUI::setRepositoryMode | ( | $a_repositorymode | ) |
Set RepositoryMode.
| boolean | $a_repositorymode | RepositoryMode |
Definition at line 266 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 226 of file class.ilColumnGUI.php.
Referenced by __construct().
Here is the caller graph for this function:| ilColumnGUI::showBlocks | ( | ) |
Show blocks.
Definition at line 505 of file class.ilColumnGUI.php.
References $ilBench, $ilCtrl, $ilUser, $lng, $path, ilBlockSetting\_lookupDetailLevel(), getAdminCommands(), getEnableEdit(), getMovementMode(), 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 740 of file class.ilColumnGUI.php.
References $_GET, $ilBench, $ilCtrl, determineBlocks(), exit, getAdminCommands(), getEnableEdit(), getRepositoryMode(), and getSide().
Here is the call graph for this function:
|
protected |
Definition at line 40 of file class.ilColumnGUI.php.
Referenced by getActionMenu(), and setActionMenu().
|
protected |
Definition at line 33 of file class.ilColumnGUI.php.
Referenced by getAdminCommands().
|
protected |
Definition at line 32 of file class.ilColumnGUI.php.
|
staticprotected |
Definition at line 66 of file class.ilColumnGUI.php.
|
protected |
Definition at line 134 of file class.ilColumnGUI.php.
|
protected |
Definition at line 147 of file class.ilColumnGUI.php.
|
protected |
Definition at line 121 of file class.ilColumnGUI.php.
|
protected |
Definition at line 86 of file class.ilColumnGUI.php.
|
protected |
Definition at line 26 of file class.ilColumnGUI.php.
Referenced by getEnableEdit().
|
protected |
Definition at line 35 of file class.ilColumnGUI.php.
Referenced by getEnableMovement().
|
staticprotected |
Definition at line 47 of file class.ilColumnGUI.php.
|
protected |
Definition at line 34 of file class.ilColumnGUI.php.
Referenced by getMovementMode().
|
protected |
Definition at line 31 of file class.ilColumnGUI.php.
|
protected |
Definition at line 28 of file class.ilColumnGUI.php.
Referenced by getRepositoryItems().
|
protected |
Definition at line 27 of file class.ilColumnGUI.php.
Referenced by getRepositoryMode().
|
protected |
Definition at line 24 of file class.ilColumnGUI.php.
Referenced by determineBlocks(), and getSide().
|
protected |
Definition at line 25 of file class.ilColumnGUI.php.
Referenced by determineBlocks().