24include_once(
"./Services/Block/classes/class.ilBlockGUI.php");
51 $this->ctrl =
$DIC->ctrl();
52 $this->lng =
$DIC->language();
53 $this->
user = $DIC->user();
54 $this->access =
$DIC->access();
57 parent::__construct();
60 $this->allow_moving =
true;
116 $next_class =
$ilCtrl->getNextClass();
117 $cmd =
$ilCtrl->getCmd(
"getHTML");
119 switch ($next_class) {
121 return $this->$cmd();
146 return parent::getHTML();
An exception for terminatinating execution or to throw for unit testing.
This class represents a block method of a block.
setLimit($a_limit)
Set Limit.
setDataSection($a_content)
Call this from overwritten fillDataSection(), if standard row based data is not used.
BlockGUI class for dummy block.
isRepositoryObject()
Returns whether block has a corresponding repository object.bool
static setBlockType($a_type)
Set block type.
fillDataSection()
Fill data section.
setBlock($a_block)
Do most of the initialisation.
static getScreenMode()
Get Screen Mode for current command.
executeCommand()
execute command
getHTML()
Get block HTML code.
__construct()
Constructor.