19 declare(strict_types=1);
35 $this->
lng->loadLanguageModule(
"dateplaner");
40 $this->
setTitle($this->
lng->txt(
'consultation_hours_block_title'));
61 $target_class = [
"ildashboardgui",
"ilcalendarpresentationgui"];
65 $target_class = [
"ilobjcoursegui",
"ilcalendarpresentationgui"];
69 $target_class = [
"ilobjgroupgui",
"ilcalendarpresentationgui"];
78 if (isset($this->consultation_hour_links)) {
82 (
int) $this->requested_ref_id,
90 $button = $this->
ui->factory()->button()->shy(
94 return $this->
ui->factory()->item()->standard($button);
102 return parent::getHTMLNew();
getListItemForData(array $data)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
setBlockId(string $a_block_id="0")
setEnableNumInfo(bool $a_enablenuminfo)
static getConsultationHourLinksForRepositoryObject(int $ref_id, int $current_user_id, array $ctrl_class_structure)
getTargetGUIClassPath()
Get target gui class path (for presenting the calendar)
array $consultation_hour_links
Common interface to all items.
__construct(Container $dic, ilPlugin $plugin)
setTitle(string $a_title)
This class represents a block method of a block.
static _lookupType(int $id, bool $reference=false)
setPresentation(int $type)
ilConsultationHoursCalendarBlockGUI: ilColumnGUI