ILIAS  release_5-0 Revision 5.0.0-1144-gc4397b1f870
ilCalendarBlockGUI Class Reference

Calendar blocks, displayed in different contexts, e.g. More...

+ Inheritance diagram for ilCalendarBlockGUI:
+ Collaboration diagram for ilCalendarBlockGUI:

Public Member Functions

 ilCalendarBlockGUI ($a_skip_init=false)
 Constructor. More...
 
executeCommand ()
 execute command More...
 
 setEnableEdit ($a_enable_edit=0)
 Set EnableEdit. More...
 
 getEnableEdit ()
 Get EnableEdit. More...
 
 fillDataSection ()
 Fill data section. More...
 
 addMiniMonth ($a_tpl)
 Add mini version of monthly overview (Maybe extracted to another class, if used in pd calendar tab. More...
 
 getHTML ()
 Get bloch HTML code. More...
 
 getOverview ()
 Get overview. More...
 
 addCloseCommand ($a_content_block)
 
 setSeed ()
 Set seed. More...
 
 returnToUpperContext ()
 Return to upper context. More...
 
 showCalendarSubscription ()
 
 fillFooter ()
 
 setFooterLinks ()
 
 setPdModeEvents ()
 
 setPdModeMonth ()
 
 getData ()
 Get Data. More...
 
- Public Member Functions inherited from ilBlockGUI
 ilBlockGUI ()
 Constructor. More...
 
 addHeaderLink ($a_href, $a_text, $status=true)
 
 getHeaderLinks ()
 
 setData ($a_data)
 Set Data. More...
 
 getData ()
 Get Data. More...
 
 setBigMode ($a_bigmode)
 Set Big Mode. More...
 
 getBigMode ()
 Get Big Mode. More...
 
 setBlockId ($a_block_id=0)
 Set Block Id. More...
 
 getBlockId ()
 Get Block Id. More...
 
 setAvailableDetailLevels ($a_max, $a_min=0)
 Set Available Detail Levels. More...
 
 setCurrentDetailLevel ($a_currentdetaillevel)
 Set Current Detail Level. More...
 
 setGuiObject (&$a_gui_object)
 Set GuiObject. More...
 
 getGuiObject ()
 Get GuiObject. More...
 
 getCurrentDetailLevel ()
 Get Current Detail Level. More...
 
 setTitle ($a_title)
 Set Title. More...
 
 getTitle ()
 Get Title. More...
 
 setImage ($a_image)
 Set Image. More...
 
 getImage ()
 Get Image. More...
 
 setOffset ($a_offset)
 Set Offset. More...
 
 getOffset ()
 Get Offset. More...
 
 correctOffset ()
 
 setLimit ($a_limit)
 Set Limit. More...
 
 getLimit ()
 Get Limit. More...
 
 setEnableEdit ($a_enableedit)
 Set EnableEdit. More...
 
 getEnableEdit ()
 Get EnableEdit. More...
 
 setRepositoryMode ($a_repositorymode)
 Set RepositoryMode. More...
 
 getRepositoryMode ()
 Get RepositoryMode. More...
 
 setFooterInfo ($a_footerinfo, $a_hide_and_icon=false)
 Set Footer Info. More...
 
 getFooterInfo ($a_hide_and_icon=false)
 Get Footer Info. More...
 
 setSubtitle ($a_subtitle)
 Set Subtitle. More...
 
 getSubtitle ()
 Get Subtitle. More...
 
 setRefId ($a_refid)
 Set Ref Id (only used if isRepositoryObject() is true). More...
 
 getRefId ()
 Get Ref Id (only used if isRepositoryObject() is true). More...
 
 setAdminCommands ($a_admincommands)
 Set Administration Commmands. More...
 
 getAdminCommands ()
 Get Administration Commmands. More...
 
 setColSpan ($a_colspan)
 Set Columns Span. More...
 
 getColSpan ()
 Get Columns Span. More...
 
 setEnableDetailRow ($a_enabledetailrow)
 Set EnableDetailRow. More...
 
 getEnableDetailRow ()
 Get EnableDetailRow. More...
 
 setEnableNumInfo ($a_enablenuminfo)
 Set Enable Item Number Info. More...
 
 getEnableNumInfo ()
 Get Enable Item Number Info. More...
 
 setProperties ($a_properties)
 This function is supposed to be used for block type specific properties, that should be inherited through ilColumnGUI->setBlockProperties. More...
 
 getProperty ($a_property)
 
 setProperty ($a_property, $a_value)
 
 setRowTemplate ($a_rowtemplatename, $a_rowtemplatedir="")
 Set Row Template Name. More...
 
 getNavParameter ()
 
 getDetailParameter ()
 
 getConfigParameter ()
 
 getMoveParameter ()
 
 getRowTemplateName ()
 Get Row Template Name. More...
 
 getRowTemplateDir ()
 Get Row Template Directory. More...
 
 addBlockCommand ($a_href, $a_text, $a_target="", $a_img="", $a_right_aligned=false, $a_checked=false, $a_html="")
 Add Block Command. More...
 
 getBlockCommands ()
 Get Block commands. More...
 
 addHeaderCommand ($a_href, $a_text, $a_as_close=false)
 Add Header Block Command. More...
 
 getHeaderCommands ()
 Get Header Block commands. More...
 
 addFooterLink ($a_text, $a_href="", $a_onclick="", $a_block_id="", $a_top=false, $a_omit_separator=false, $a_checked=false)
 Add a footer text/link. More...
 
 getFooterLinks ()
 Get footer links. More...
 
 clearFooterLinks ()
 Clear footer links. More...
 
 handleDetailLevel ()
 Handle read/write current detail level. More...
 
 getHTML ()
 Handle config status. More...
 
 fillHeaderCommands ()
 Fill header commands block. More...
 
 fillHeaderTitleBlock ()
 Fill header title block (title and. More...
 
 setDataSection ($a_content)
 Call this from overwritten fillDataSection(), if standard row based data is not used. More...
 
 fillDataSection ()
 Standard implementation for row based data. More...
 
 fillRow ($a_set)
 
 fillFooter ()
 
 fillPreviousNext ()
 Fill previous/next row. More...
 
 setPreviousNextLinks ()
 Get previous/next linkbar. More...
 
 fillFooterLinks ($a_top=false, $a_numinfo="")
 Fill footer links. More...
 
 fillDetailRow ()
 Fill Detail Setting Row. More...
 

Static Public Member Functions

static getBlockType ()
 Get block type. More...
 
static isRepositoryObject ()
 Is this a repository object. More...
 
static getScreenMode ()
 Get Screen Mode for current command. More...
 
static getBlockType ()
 
static isRepositoryObject ()
 
static getScreenMode ()
 Get Screen Mode for current command. More...
 

Data Fields

 $ctrl = null
 

Static Public Attributes

static $block_type = "cal"
 
static $st_data
 

Protected Member Functions

 initCategories ()
 init categories More...
 
 setSubTabs ()
 
- Protected Member Functions inherited from ilBlockGUI
 fillRowColor ($a_placeholder="CSS_ROW")
 
 preloadData (array $data)
 Can be overwritten in subclasses. More...
 

Protected Attributes

 $mode
 
 $display_mode
 
- Protected Attributes inherited from ilBlockGUI
 $data = array()
 
 $colspan = 1
 
 $enablenuminfo = true
 
 $detail_min = 0
 
 $detail_max = 0
 
 $bigmode = false
 
 $footer_links = array()
 
 $block_id = 0
 
 $header_commands = array()
 
 $allow_moving = true
 
 $move = array("left" => false, "right" => false, "up" => false, "down" => false)
 
 $enabledetailrow = true
 
 $header_links = array()
 
 $footerinfo = false
 
 $footerinfo_icon = false
 
 $block_commands = array()
 
 $max_count = false
 
 $close_command = false
 
 $image = false
 
 $property = false
 
 $nav_value = ""
 
 $css_row = ""
 
 $dropdown
 

Detailed Description

Calendar blocks, displayed in different contexts, e.g.

groups and courses

Author
Alex Killing alex..nosp@m.kill.nosp@m.ing@g.nosp@m.mx.d.nosp@m.e
Version
$Id$

@ilCtrl_IsCalledBy ilCalendarBlockGUI: ilColumnGUI @ilCtrl_Calls ilCalendarBlockGUI: ilCalendarDayGUI, ilCalendarAppointmentGUI @ilCtrl_Calls ilCalendarBlockGUI: ilCalendarMonthGUI, ilCalendarWeekGUI, ilCalendarInboxGUI @ilCtrl_Calls ilCalendarBlockGUI: ilConsultationHoursGUI

Definition at line 40 of file class.ilCalendarBlockGUI.php.

Member Function Documentation

◆ addCloseCommand()

ilCalendarBlockGUI::addCloseCommand (   $a_content_block)

Definition at line 624 of file class.ilCalendarBlockGUI.php.

625 {
626 global $lng, $ilCtrl;
627
628 $a_content_block->addHeaderCommand($ilCtrl->getParentReturn($this),
629 $lng->txt("close"), true);
630 }
global $ilCtrl
Definition: ilias.php:18
global $lng
Definition: privfeed.php:40

References $ilCtrl, and $lng.

◆ addMiniMonth()

ilCalendarBlockGUI::addMiniMonth (   $a_tpl)

Add mini version of monthly overview (Maybe extracted to another class, if used in pd calendar tab.

Definition at line 298 of file class.ilCalendarBlockGUI.php.

299 {
300 global $ilCtrl, $lng,$ilUser;
301
302 // weekdays
303 include_once('Services/Calendar/classes/class.ilCalendarUtil.php');
304 $a_tpl->setCurrentBlock('month_header_col');
305 $a_tpl->setVariable('TXT_WEEKDAY', $lng->txt("cal_week_abbrev"));
306 $a_tpl->parseCurrentBlock();
307 for($i = (int) $this->user_settings->getWeekStart();$i < (7 + (int) $this->user_settings->getWeekStart());$i++)
308 {
309 $a_tpl->setCurrentBlock('month_header_col');
310 $a_tpl->setVariable('TXT_WEEKDAY',ilCalendarUtil::_numericDayToString($i,false));
311 $a_tpl->parseCurrentBlock();
312 }
313
314 if(isset($_GET["bkid"]))
315 {
316 $user_id = $_GET["bkid"];
317 $disable_empty = true;
318 }
319 else
320 {
321 $user_id = $ilUser->getId();
322 $disable_empty = false;
323 }
324 include_once('Services/Calendar/classes/class.ilCalendarSchedule.php');
325 $this->scheduler = new ilCalendarSchedule($this->seed,ilCalendarSchedule::TYPE_MONTH,$user_id);
326 $this->scheduler->addSubitemCalendars(true);
327 $this->scheduler->calculate();
328
329 $counter = 0;
330 foreach(ilCalendarUtil::_buildMonthDayList($this->seed->get(IL_CAL_FKT_DATE,'m'),
331 $this->seed->get(IL_CAL_FKT_DATE,'Y'),
332 $this->user_settings->getWeekStart())->get() as $date)
333 {
334 $counter++;
335
336 $events = $this->scheduler->getByDay($date,$ilUser->getTimeZone());
337 $has_events = (bool)count($events);
338 if($has_events || !$disable_empty)
339 {
340 $a_tpl->setCurrentBlock('month_col_link');
341 }
342 else
343 {
344 $a_tpl->setCurrentBlock('month_col_no_link');
345 }
346
347 if($disable_empty)
348 {
349 if(!$has_events)
350 {
351 $a_tpl->setVariable('DAY_CLASS','calminiinactive');
352 }
353 else
354 {
355 $week_has_events = true;
356 include_once 'Services/Booking/classes/class.ilBookingEntry.php';
357 foreach($events as $event)
358 {
359 $booking = new ilBookingEntry($event['event']->getContextId());
360 if($booking->hasBooked($event['event']->getEntryId()))
361 {
362 $a_tpl->setVariable('DAY_CLASS','calminiapp');
363 break;
364 }
365 }
366 }
367 }
368 elseif($has_events)
369 {
370 $week_has_events = true;
371 $a_tpl->setVariable('DAY_CLASS','calminiapp');
372 }
373
374
375 $day = $date->get(IL_CAL_FKT_DATE,'j');
376 $month = $date->get(IL_CAL_FKT_DATE,'n');
377
378 $month_day = $day;
379
380 $ilCtrl->clearParametersByClass('ilcalendardaygui');
381 $ilCtrl->setParameterByClass('ilcalendardaygui','seed',$date->get(IL_CAL_DATE));
382 $a_tpl->setVariable('OPEN_DAY_VIEW', $ilCtrl->getLinkTargetByClass('ilcalendardaygui',''));
383 $ilCtrl->clearParametersByClass('ilcalendardaygui');
384
385 $a_tpl->setVariable('MONTH_DAY',$month_day);
386
387 $a_tpl->parseCurrentBlock();
388
389
390 $a_tpl->setCurrentBlock('month_col');
391
392 include_once('./Services/Calendar/classes/class.ilCalendarUtil.php');
393 if(ilCalendarUtil::_isToday($date))
394 {
395 $a_tpl->setVariable('TD_CLASS','calminitoday');
396 }
397 #elseif(ilDateTime::_equals($date,$this->seed,IL_CAL_DAY))
398 #{
399 # $a_tpl->setVariable('TD_CLASS','calmininow');
400 #}
401 elseif(ilDateTime::_equals($date,$this->seed,IL_CAL_MONTH))
402 {
403 $a_tpl->setVariable('TD_CLASS','calministd');
404 }
405 elseif(ilDateTime::_before($date,$this->seed,IL_CAL_MONTH))
406 {
407 $a_tpl->setVariable('TD_CLASS','calminiprev');
408 }
409 else
410 {
411 $a_tpl->setVariable('TD_CLASS','calmininext');
412 }
413
414 $a_tpl->parseCurrentBlock();
415
416
417 if($counter and !($counter % 7))
418 {
419 if(!$disable_empty || $week_has_events)
420 {
421 $a_tpl->setCurrentBlock('month_row_link');
422 $ilCtrl->clearParametersByClass('ilcalendarweekgui');
423 $ilCtrl->setParameterByClass('ilcalendarweekgui','seed',$date->get(IL_CAL_DATE));
424 $a_tpl->setVariable('OPEN_WEEK_VIEW', $ilCtrl->getLinkTargetByClass('ilcalendarweekgui',''));
425 $ilCtrl->clearParametersByClass('ilcalendarweekgui');
426 }
427 else
428 {
429 $a_tpl->setCurrentBlock('month_row_no_link');
430 $a_tpl->setVariable('WEEK_CLASS', 'calminiinactive');
431 }
432 $a_tpl->setVariable('WEEK',
433 $date->get(IL_CAL_FKT_DATE,'W'));
434 $a_tpl->parseCurrentBlock();
435
436 $a_tpl->setCurrentBlock('month_row');
437 $a_tpl->setVariable('TD_CLASS','calminiweek');
438 $a_tpl->parseCurrentBlock();
439
440 $week_has_events = false;
441 }
442 }
443 $a_tpl->setCurrentBlock('mini_month');
444 $a_tpl->setVariable('TXT_MONTH_OVERVIEW', $lng->txt("cal_month_overview"));
445 $a_tpl->setVariable('TXT_MONTH',
446 $lng->txt('month_'.$this->seed->get(IL_CAL_FKT_DATE,'m').'_long').
447 ' '.$this->seed->get(IL_CAL_FKT_DATE,'Y'));
448 $myseed = clone($this->seed);
449 $ilCtrl->setParameterByClass('ilcalendarmonthgui','seed',$myseed->get(IL_CAL_DATE));
450 $a_tpl->setVariable('OPEN_MONTH_VIEW',$ilCtrl->getLinkTargetByClass('ilcalendarmonthgui',''));
451
452 $myseed->increment(ilDateTime::MONTH, -1);
453 $ilCtrl->setParameter($this,'seed',$myseed->get(IL_CAL_DATE));
454
455 $a_tpl->setVariable('BL_TYPE', $this->getBlockType());
456 $a_tpl->setVariable('BL_ID', $this->getBlockId());
457
458 $a_tpl->setVariable('PREV_MONTH',
459 $ilCtrl->getLinkTarget($this, "setSeed"));
460 $a_tpl->setVariable('PREV_MONTH_ASYNC',
461 $ilCtrl->getLinkTarget($this, "setSeed", "", true));
462
463 $myseed->increment(ilDateTime::MONTH, 2);
464 $ilCtrl->setParameter($this,'seed',$myseed->get(IL_CAL_DATE));
465 $a_tpl->setVariable('NEXT_MONTH',
466 $ilCtrl->getLinkTarget($this, "setSeed"));
467 $a_tpl->setVariable('NEXT_MONTH_ASYNC',
468 $ilCtrl->getLinkTarget($this, "setSeed", "", true));
469
470 $ilCtrl->setParameter($this, 'seed', "");
471 $a_tpl->parseCurrentBlock();
472 }
$_GET["client_id"]
const IL_CAL_DATE
const IL_CAL_MONTH
const IL_CAL_FKT_DATE
getBlockId()
Get Block Id.
Booking definition.
static getBlockType()
Get block type.
Represents a list of calendar appointments (including recurring events) for a specific user in a give...
static _isToday($date)
check if a date is today
static _numericDayToString($a_day, $a_long=true)
get
static _buildMonthDayList($a_month, $a_year, $weekstart)
Build a month day list.
static _equals(ilDateTime $start, ilDateTime $end, $a_compare_field='', $a_tz='')
Check if two date are equal.
static _before(ilDateTime $start, ilDateTime $end, $a_compare_field='', $a_tz='')
compare two dates and check start is before end This method does not consider tz offsets.
global $ilUser
Definition: imgupload.php:15

References $_GET, $ilCtrl, $ilUser, $lng, ilDateTime\_before(), ilCalendarUtil\_buildMonthDayList(), ilDateTime\_equals(), ilCalendarUtil\_isToday(), ilCalendarUtil\_numericDayToString(), ilBlockGUI\getBlockId(), getBlockType(), IL_CAL_DATE, IL_CAL_FKT_DATE, IL_CAL_MONTH, ilDateTime\MONTH, and ilCalendarSchedule\TYPE_MONTH.

Referenced by fillDataSection().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ executeCommand()

& ilCalendarBlockGUI::executeCommand ( )

execute command

Definition at line 188 of file class.ilCalendarBlockGUI.php.

189 {
190 global $ilCtrl,$ilTabs,$ilUser;
191
192 $next_class = $ilCtrl->getNextClass();
193 $cmd = $ilCtrl->getCmd("getHTML");
194
195 $this->setSubTabs();
196
197 switch ($next_class)
198 {
199 case "ilcalendarappointmentgui":
200 include_once('./Services/Calendar/classes/class.ilCalendarAppointmentGUI.php');
201 $app_gui = new ilCalendarAppointmentGUI($this->seed,$this->seed);
202 $ilCtrl->forwardCommand($app_gui);
203 break;
204
205 case "ilcalendardaygui":
206 $ilTabs->setSubTabActive('app_day');
207 include_once('./Services/Calendar/classes/class.ilCalendarDayGUI.php');
208 $day_gui = new ilCalendarDayGUI($this->seed);
209 $ilCtrl->forwardCommand($day_gui);
210 break;
211
212 case "ilcalendarweekgui":
213 $ilTabs->setSubTabActive('app_week');
214 include_once('./Services/Calendar/classes/class.ilCalendarWeekGUI.php');
215 $week_gui = new ilCalendarWeekGUI($this->seed);
216 $ilCtrl->forwardCommand($week_gui);
217 break;
218
219 case "ilcalendarmonthgui":
220 $ilTabs->setSubTabActive('app_month');
221 include_once('./Services/Calendar/classes/class.ilCalendarMonthGUI.php');
222 $month_gui = new ilCalendarMonthGUI($this->seed);
223 $ilCtrl->forwardCommand($month_gui);
224 break;
225
226 case "ilcalendarinboxgui":
227 include_once('./Services/Calendar/classes/class.ilCalendarInboxGUI.php');
228 $inbox = new ilCalendarInboxGUI($this->seed);
229 $ilCtrl->forwardCommand($inbox);
230 break;
231
232 case "ilconsultationhoursgui":
233 include_once('./Services/Calendar/classes/ConsultationHours/class.ilConsultationHoursGUI.php');
234 $hours = new ilConsultationHoursGUI($this->seed);
235 $ilCtrl->forwardCommand($hours);
236 break;
237
238 default:
239 return $this->$cmd();
240 }
241 }
Administrate calendar appointments.
Presentation day view.
Consultation hours editor.
$cmd
Definition: sahs_server.php:35

References $cmd, $ilCtrl, $ilUser, and setSubTabs().

+ Here is the call graph for this function:

◆ fillDataSection()

ilCalendarBlockGUI::fillDataSection ( )

Fill data section.

Reimplemented from ilBlockGUI.

Definition at line 266 of file class.ilCalendarBlockGUI.php.

267 {
268 // alex: changed from > 1 to > 0 - original detail level 1 did not work anymore
269 if ($this->getCurrentDetailLevel() > 0 && $this->display_mode != "mmon")
270 {
271 $this->setColSpan(1);
272 $this->tpl->addBlockFile("BLOCK_ROW", "block_row","tpl.pd_event_list.html", "Services/Calendar");
273
275 }
276 else
277 {
278 // alex: changed from > 1 to > 0 - original detail level 1 did not work anymore
279 if ($this->getCurrentDetailLevel() > 0)
280 {
281 $tpl = new ilTemplate("tpl.calendar_block.html", true, true,
282 "Services/Calendar");
283
284 $this->addMiniMonth($tpl);
285 $this->setDataSection($tpl->get());
286 }
287 else
288 {
289 $this->setDataSection($this->getOverview());
290 }
291 }
292 }
global $tpl
Definition: ilias.php:8
getCurrentDetailLevel()
Get Current Detail Level.
setDataSection($a_content)
Call this from overwritten fillDataSection(), if standard row based data is not used.
fillDataSection()
Standard implementation for row based data.
setColSpan($a_colspan)
Set Columns Span.
addMiniMonth($a_tpl)
Add mini version of monthly overview (Maybe extracted to another class, if used in pd calendar tab.
special template class to simplify handling of ITX/PEAR

References $tpl, addMiniMonth(), ilBlockGUI\fillDataSection(), ilBlockGUI\getCurrentDetailLevel(), getOverview(), ilBlockGUI\setColSpan(), and ilBlockGUI\setDataSection().

+ Here is the call graph for this function:

◆ fillFooter()

ilCalendarBlockGUI::fillFooter ( )

Reimplemented from ilBlockGUI.

Definition at line 765 of file class.ilCalendarBlockGUI.php.

766 {
767 global $ilCtrl, $lng, $ilUser;
768
769 // begin-patch ch
770 foreach((array) $this->cal_footer as $link_info)
771 {
772 $this->tpl->setCurrentBlock('data_section');
773 $this->tpl->setVariable('DATA',
774 sprintf('<a href="%s">%s</a>',$link_info['link'],$link_info['txt'])
775
776 );
777 $this->tpl->parseCurrentBlock();
778 }
779 // end-patch ch
780
781 $this->setFooterLinks();
782 $this->fillFooterLinks();
783 $this->tpl->setVariable("FCOLSPAN", $this->getColSpan());
784 if ($this->tpl->blockExists("block_footer"))
785 {
786 $this->tpl->setCurrentBlock("block_footer");
787 $this->tpl->parseCurrentBlock();
788 }
789
790 }
fillFooterLinks($a_top=false, $a_numinfo="")
Fill footer links.
getColSpan()
Get Columns Span.

References $ilCtrl, $ilUser, $lng, ilBlockGUI\fillFooterLinks(), ilBlockGUI\getColSpan(), and setFooterLinks().

+ Here is the call graph for this function:

◆ getBlockType()

static ilCalendarBlockGUI::getBlockType ( )
static

Get block type.

Returns
string Block type.

Reimplemented from ilBlockGUI.

Reimplemented in ilPDCalendarBlockGUI.

Definition at line 138 of file class.ilCalendarBlockGUI.php.

139 {
140 return self::$block_type;
141 }

References $block_type.

Referenced by addMiniMonth(), and ilCalendarBlockGUI().

+ Here is the caller graph for this function:

◆ getData()

ilCalendarBlockGUI::getData ( )

Get Data.

Returns
array Data

Reimplemented from ilBlockGUI.

Definition at line 859 of file class.ilCalendarBlockGUI.php.

860 {
861 global $ilCtrl, $lng;
862
863 $seed = new ilDate(date('Y-m-d',time()),IL_CAL_DATE);
864
865 include_once('./Services/Calendar/classes/class.ilCalendarSchedule.php');
867 $schedule->addSubitemCalendars(true); // #12007
868 $schedule->setEventsLimit(20);
869 $schedule->calculate();
870 $events = $schedule->getScheduledEvents(); // #13809
871
872 $data = array();
873 if(sizeof($events))
874 {
875 foreach($events as $item)
876 {
877 $start = $item["dstart"];
878 $end = $item["dend"];
879 if($item["fullday"])
880 {
881 $start = new ilDate($start, IL_CAL_UNIX);
882 $end = new ilDate($end, IL_CAL_UNIX);
883 }
884 else
885 {
886 $start = new ilDateTime($start, IL_CAL_UNIX);
887 $end = new ilDateTime($end, IL_CAL_UNIX);
888 }
889
890 $ilCtrl->clearParametersByClass('ilcalendardaygui');
891 $ilCtrl->setParameterByClass('ilcalendardaygui','seed',$start->get(IL_CAL_DATE));
892 $link = $ilCtrl->getLinkTargetByClass('ilcalendardaygui','');
893 $ilCtrl->clearParametersByClass('ilcalendardaygui');
894
895 $data[] = array(
896 "date" => ilDatePresentation::formatPeriod($start, $end),
897 "title" => $item["event"]->getPresentationTitle(),
898 "url" => $link
899 );
900 }
901
902 $this->setEnableNumInfo(true);
903 }
904 else
905 {
906 $data[] = array(
907 "date" => $lng->txt("msg_no_search_result"),
908 "title" => "",
909 "url" => ""
910 );
911
912 $this->setEnableNumInfo(false);
913 }
914
915 return $data;
916 }
const IL_CAL_UNIX
setEnableNumInfo($a_enablenuminfo)
Set Enable Item Number Info.
static formatPeriod(ilDateTime $start, ilDateTime $end)
Format a period of two date Shows: 14.
@classDescription Date and time handling
Class for single dates.

References ilBlockGUI\$data, $ilCtrl, $lng, ilDatePresentation\formatPeriod(), IL_CAL_DATE, IL_CAL_UNIX, ilBlockGUI\setEnableNumInfo(), and ilCalendarSchedule\TYPE_PD_UPCOMING.

+ Here is the call graph for this function:

◆ getEnableEdit()

ilCalendarBlockGUI::getEnableEdit ( )

Get EnableEdit.

Returns
boolean Edit mode on/off

Reimplemented from ilBlockGUI.

Definition at line 258 of file class.ilCalendarBlockGUI.php.

259 {
260 return $this->enable_edit;
261 }

◆ getHTML()

ilCalendarBlockGUI::getHTML ( )

Get bloch HTML code.

Reimplemented from ilBlockGUI.

Definition at line 477 of file class.ilCalendarBlockGUI.php.

478 {
479 global $ilCtrl, $lng, $ilUser,$ilAccess;
480
481 if ($this->getCurrentDetailLevel() == 0)
482 {
483 return "";
484 }
485
486 // add edit commands
487 #if ($this->getEnableEdit())
488
491 {
492 include_once("./Services/News/classes/class.ilRSSButtonGUI.php");
493 $this->addBlockCommand(
494 $this->ctrl->getLinkTarget($this,'showCalendarSubscription'),
495 $lng->txt('ical_export'),
497 );
498 }
499
500
502 {
503 if(!isset($_GET["bkid"]))
504 {
505 if($ilAccess->checkAccess('edit_event','',(int) $_GET['ref_id']))
506 {
507 $ilCtrl->setParameter($this, "add_mode", "block");
508 $this->addBlockCommand(
509 $ilCtrl->getLinkTargetByClass("ilCalendarAppointmentGUI",
510 "add"),
511 $lng->txt("add_appointment"));
512 $ilCtrl->setParameter($this, "add_mode", "");
513 }
514
515 global $ilObjDataCache;
516
517 include_once "Modules/Course/classes/class.ilCourseParticipants.php";
518 $obj_id = $ilObjDataCache->lookupObjId((int) $_GET['ref_id']);
519 $participants = ilCourseParticipants::_getInstanceByObjId($obj_id);
520 $users = array_unique(array_merge($participants->getTutors(), $participants->getAdmins()));
521 //$users = $participants->getParticipants();
522 include_once 'Services/Booking/classes/class.ilBookingEntry.php';
523 $users = ilBookingEntry::lookupBookableUsersForObject($obj_id,$users);
524 foreach($users as $user_id)
525 {
526 if(!isset($_GET["bkid"]))
527 {
528 include_once './Services/Calendar/classes/ConsultationHours/class.ilConsultationHourAppointments.php';
529 $now = new ilDateTime(time(), IL_CAL_UNIX);
530
531 // default to last booking entry
532 $appointments = ilConsultationHourAppointments::getAppointments($user_id);
533 $next_app = end($appointments);
534 reset($appointments);
535
536 foreach($appointments as $entry)
537 {
538 // find next entry
539 if(ilDateTime::_before($entry->getStart(), $now, IL_CAL_DAY))
540 {
541 continue;
542 }
543 include_once 'Services/Booking/classes/class.ilBookingEntry.php';
544 $booking_entry = new ilBookingEntry($entry->getContextId());
545 if(!$booking_entry->isAppointmentBookableForUser($entry->getEntryId(), $GLOBALS['ilUser']->getId()))
546 {
547 continue;
548 }
549 $next_app = $entry;
550 break;
551 }
552
553 $ilCtrl->setParameter($this, "bkid", $user_id);
554 if($next_app)
555 {
556 $ilCtrl->setParameter(
557 $this,
558 'seed',
559 (string) $next_app->getStart()->get(IL_CAL_DATE)
560 );
561 }
562
563 $this->addBlockCommand(
564 $ilCtrl->getLinkTargetByClass(
565 "ilCalendarMonthGUI",
566 ""),
567 $lng->txt("cal_consultation_hours_for").' '. ilObjUser::_lookupFullname($user_id)
568 );
569
570 $this->cal_footer[] = array(
571 'link' => $ilCtrl->getLinkTargetByClass('ilCalendarMonthGUI',''),
572 'txt' => $lng->txt("cal_consultation_hours_for").' '.ilObjUser::_lookupFullname($user_id)
573 );
574
575 }
576 }
577 $ilCtrl->setParameter($this, "bkid", "");
578 $ilCtrl->setParameter($this, 'seed', '');
579 }
580 else
581 {
582 $ilCtrl->setParameter($this, "bkid", "");
583 $this->addBlockCommand(
584 $ilCtrl->getLinkTarget($this),
585 $lng->txt("back"));
586 $ilCtrl->setParameter($this, "bkid", (int)$_GET["bkid"]);
587 }
588 }
589
590 if ($this->getProperty("settings") == true)
591 {
592 $this->addBlockCommand(
593 $ilCtrl->getLinkTarget($this, "editSettings"),
594 $lng->txt("settings"));
595 }
596
597 $ilCtrl->setParameterByClass("ilcolumngui", "seed", isset($_GET["seed"]) ? $_GET["seed"] : "");
598 $ret = parent::getHTML();
599 $ilCtrl->setParameterByClass("ilcolumngui", "seed", "");
600
601 return $ret;
602 }
const IL_CAL_DAY
addBlockCommand($a_href, $a_text, $a_target="", $a_img="", $a_right_aligned=false, $a_checked=false, $a_html="")
Add Block Command.
getProperty($a_property)
static lookupBookableUsersForObject($a_obj_id, $a_user_ids)
Consultation hours are offered if 1) consultation hour owner is admin or tutor and no object assignme...
static getAppointments($a_user_id)
Get all appointments.
static _getInstanceByObjId($a_obj_id)
Get singleton instance.
_lookupFullname($a_user_id)
Lookup Full Name.
static get($a_type, $a_href="")
Get icon html.
$GLOBALS['ct_recipient']

References $_GET, $GLOBALS, $ilCtrl, $ilUser, $lng, $ret, ilDateTime\_before(), ilCourseParticipants\_getInstanceByObjId(), ilObjUser\_lookupFullname(), ilBlockGUI\addBlockCommand(), ilRSSButtonGUI\get(), ilConsultationHourAppointments\getAppointments(), ilBlockGUI\getCurrentDetailLevel(), ilBlockGUI\getProperty(), ilRSSButtonGUI\ICON_ICAL, IL_CAL_DATE, IL_CAL_DAY, IL_CAL_UNIX, ilBookingEntry\lookupBookableUsersForObject(), ilCalendarCategories\MODE_PERSONAL_DESKTOP_ITEMS, ilCalendarCategories\MODE_PERSONAL_DESKTOP_MEMBERSHIP, and ilCalendarCategories\MODE_REPOSITORY.

Referenced by setPdModeEvents(), setPdModeMonth(), and setSeed().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getOverview()

ilCalendarBlockGUI::getOverview ( )

Get overview.

Definition at line 607 of file class.ilCalendarBlockGUI.php.

608 {
609 global $ilUser, $lng, $ilCtrl;
610
611 include_once('./Services/Calendar/classes/class.ilCalendarSchedule.php');
612 $schedule = new ilCalendarSchedule($this->seed,ilCalendarSchedule::TYPE_INBOX);
613 $events = $schedule->getChangedEvents(true);
614
615 $ilCtrl->setParameterByClass('ilcalendarinboxgui', 'changed', 1);
616 $link = '<a href='.$ilCtrl->getLinkTargetByClass('ilcalendarinboxgui','').'>';
617 $ilCtrl->setParameterByClass('ilcalendarinboxgui', 'changed', '');
618 $text = '<div class="small">'.((int) count($events))." ".$lng->txt("cal_changed_events_header")."</div>";
619 $end_link = '</a>';
620
621 return $link.$text.$end_link;
622 }

References $ilCtrl, $ilUser, $lng, and ilCalendarSchedule\TYPE_INBOX.

Referenced by fillDataSection().

+ Here is the caller graph for this function:

◆ getScreenMode()

static ilCalendarBlockGUI::getScreenMode ( )
static

Get Screen Mode for current command.

Reimplemented from ilBlockGUI.

Definition at line 156 of file class.ilCalendarBlockGUI.php.

157 {
158 global $ilCtrl;
159
160 $cmd_class = $ilCtrl->getCmdClass();
161
162 if ($cmd_class == "ilcalendarappointmentgui" ||
163 $cmd_class == "ilcalendardaygui" ||
164 $cmd_class == "ilcalendarweekgui" ||
165 $cmd_class == "ilcalendarmonthgui" ||
166 $cmd_class == "ilcalendarinboxgui" ||
167 $cmd_class == "ilconsultationhoursgui" ||
168 $_GET['cmd'] == 'showCalendarSubscription')
169 {
170 return IL_SCREEN_CENTER;
171 }
172
173 switch($ilCtrl->getCmd())
174 {
175 case "kkk":
176 // return IL_SCREEN_CENTER;
177 // return IL_SCREEN_FULL;
178
179 default:
180 //return IL_SCREEN_SIDE;
181 break;
182 }
183 }
const IL_SCREEN_CENTER

References $_GET, $ilCtrl, and IL_SCREEN_CENTER.

◆ ilCalendarBlockGUI()

ilCalendarBlockGUI::ilCalendarBlockGUI (   $a_skip_init = false)

Constructor.

Parameters
booleanskip initialisation (is called by derived PDCalendarBlockGUI class)

Definition at line 54 of file class.ilCalendarBlockGUI.php.

55 {
56 global $ilCtrl, $lng, $ilUser, $tpl, $ilHelp;
57
58 parent::ilBlockGUI();
59
60 $this->ctrl = $ilCtrl;
61
62 $lng->loadLanguageModule("dateplaner");
63 $ilHelp->addHelpSection("cal_block");
64
65 include_once("./Services/News/classes/class.ilNewsItem.php");
66
67 $ilCtrl->saveParameter($this, 'bkid');
68
69 if (!$a_skip_init)
70 {
71 $this->initCategories();
72 $this->setBlockId($ilCtrl->getContextObjId());
73 }
74
75 $this->setLimit(5); // @todo: needed?
76
77 // alex: original detail level 1 did not work anymore
79 $this->setEnableNumInfo(false);
80
81 if(!isset($_GET["bkid"]))
82 {
83 $title = $lng->txt("calendar");
84 }
85 else
86 {
87 $title = $lng->txt("cal_consultation_hours_for")." ".ilObjUser::_lookupFullname($_GET["bkid"]);
88 }
89
90 $this->setTitle($title);
91 //$this->setData($data);
92 $this->allow_moving = false;
93 //$this->handleView();
94
95 include_once('Services/Calendar/classes/class.ilDate.php');
96 include_once('Services/Calendar/classes/class.ilCalendarUserSettings.php');
97
98 $seed_str = "";
99 if ((!isset($_GET["seed"]) || $_GET["seed"] == "") &&
100 isset($_SESSION["il_cal_block_".$this->getBlockType()."_".$this->getBlockId()."_seed"]))
101 {
102 $seed_str = $_SESSION["il_cal_block_".$this->getBlockType()."_".$this->getBlockId()."_seed"];
103 }
104 else if (isset($_GET["seed"]))
105 {
106 $seed_str = $_GET["seed"];
107 }
108
109 if (isset($_GET["seed"]) && $_GET["seed"] != "")
110 {
111 $_SESSION["il_cal_block_".$this->getBlockType()."_".$this->getBlockId()."_seed"]
112 = $_GET["seed"];
113 }
114
115 if ($seed_str == "")
116 {
117 $this->seed = new ilDate(time(),IL_CAL_UNIX); // @todo: check this
118 }
119 else
120 {
121 $this->seed = new ilDate($seed_str,IL_CAL_DATE); // @todo: check this
122 }
123 $this->user_settings = ilCalendarUserSettings::_getInstanceByUserId($ilUser->getId());
124
125 $tpl->addCSS("./Services/Calendar/css/calendar.css");
126 // @todo: this must work differently...
127 $tpl->addCSS("./Services/Calendar/templates/default/delos.css");
128
129 $mode = $ilUser->getPref("il_pd_cal_mode");
130 $this->display_mode = $mode ? $mode : "mmon";
131 }
setLimit($a_limit)
Set Limit.
setAvailableDetailLevels($a_max, $a_min=0)
Set Available Detail Levels.
setTitle($a_title)
Set Title.
setBlockId($a_block_id=0)
Set Block Id.
static _getInstanceByUserId($a_user_id)
get singleton instance
< a tabindex="-1" style="border-style: none;" href="#" title="Refresh Image" onclick="document.getElementById('siimage').src = './securimage_show.php?sid=' + Math.random(); this.blur(); return false">< img src="./images/refresh.png" alt="Reload Image" height="32" width="32" onclick="this.blur()" align="bottom" border="0"/></a >< br/>< strong > Enter Code *if($_SERVER['REQUEST_METHOD']=='POST' &&@ $_POST['do']=='contact') $_SESSION['ctform']['success']

References $_GET, $_SESSION, $ilCtrl, $ilUser, $lng, $mode, $tpl, ilCalendarUserSettings\_getInstanceByUserId(), ilObjUser\_lookupFullname(), ilBlockGUI\getBlockId(), getBlockType(), IL_CAL_DATE, IL_CAL_UNIX, initCategories(), ilBlockGUI\setAvailableDetailLevels(), ilBlockGUI\setBlockId(), ilBlockGUI\setEnableNumInfo(), ilBlockGUI\setLimit(), and ilBlockGUI\setTitle().

+ Here is the call graph for this function:

◆ initCategories()

ilCalendarBlockGUI::initCategories ( )
protected

init categories

@access protected

Parameters

return

Reimplemented in ilPDCalendarBlockGUI.

Definition at line 639 of file class.ilCalendarBlockGUI.php.

640 {
642
643 include_once('./Services/Calendar/classes/class.ilCalendarCategories.php');
644
645 if(!isset($_GET['bkid']))
646 {
648 }
649 else
650 {
651 // display consultation hours only (in course/group)
652 ilCalendarCategories::_getInstance()->setCHUserId((int) $_GET['bkid']);
654 }
655 }
static _getInstance($a_usr_id=0)
get singleton instance

References $_GET, ilCalendarCategories\_getInstance(), ilCalendarCategories\MODE_CONSULTATION, and ilCalendarCategories\MODE_REPOSITORY.

Referenced by ilCalendarBlockGUI().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ isRepositoryObject()

static ilCalendarBlockGUI::isRepositoryObject ( )
static

Is this a repository object.

Returns
string Block type.

Reimplemented from ilBlockGUI.

Definition at line 148 of file class.ilCalendarBlockGUI.php.

149 {
150 return false;
151 }

◆ returnToUpperContext()

ilCalendarBlockGUI::returnToUpperContext ( )

Return to upper context.

Reimplemented in ilPDCalendarBlockGUI.

Definition at line 704 of file class.ilCalendarBlockGUI.php.

705 {
706 global $ilCtrl;
707
708 $ilCtrl->returnToParent($this);
709 }

References $ilCtrl.

Referenced by setSeed().

+ Here is the caller graph for this function:

◆ setEnableEdit()

ilCalendarBlockGUI::setEnableEdit (   $a_enable_edit = 0)

Set EnableEdit.

Parameters
boolean$a_enable_editEdit mode on/off

Reimplemented from ilBlockGUI.

Definition at line 248 of file class.ilCalendarBlockGUI.php.

249 {
250 $this->enable_edit = $a_enable_edit;
251 }

◆ setFooterLinks()

ilCalendarBlockGUI::setFooterLinks ( )

Definition at line 792 of file class.ilCalendarBlockGUI.php.

793 {
794 global $ilCtrl, $lng;
795
796 // alex: changed from < 2 to < 1 - original detail level 1 did not work anymore
797 if ($this->getCurrentDetailLevel() < 1)
798 {
799 return;
800 }
801
802// if ($this->display_mode == 'mmon')
803// {
804// $this->addFooterLink($lng->txt("month"));
805
806 $this->addFooterLink($lng->txt("cal_upcoming_events_header"),
807 $ilCtrl->getLinkTarget($this, "setPdModeEvents"),
808 $ilCtrl->getLinkTarget($this, "setPdModeEvents", "", true),
809 "block_".$this->getBlockType()."_".$this->block_id,
810 false, false, ($this->display_mode != 'mmon'));
811
812// }
813// else
814// {
815 $this->addFooterLink( $lng->txt("app_month"),
816 $ilCtrl->getLinkTarget($this, "setPdModeMonth"),
817 $ilCtrl->getLinkTarget($this, "setPdModeMonth", "", true),
818 "block_".$this->getBlockType()."_".$this->block_id,
819 false, false, ($this->display_mode == 'mmon'));
820
821// $this->addFooterLink($lng->txt("cal_upcoming_events_header"));
822// }
823 }
addFooterLink($a_text, $a_href="", $a_onclick="", $a_block_id="", $a_top=false, $a_omit_separator=false, $a_checked=false)
Add a footer text/link.

References $ilCtrl, $lng, ilBlockGUI\addFooterLink(), and ilBlockGUI\getCurrentDetailLevel().

Referenced by fillFooter().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setPdModeEvents()

ilCalendarBlockGUI::setPdModeEvents ( )

Definition at line 825 of file class.ilCalendarBlockGUI.php.

826 {
827 global $ilUser, $ilCtrl;
828
829 $ilUser->writePref("il_pd_cal_mode", "evt");
830 $this->display_mode = "evt";
831 if ($ilCtrl->isAsynch())
832 {
833 echo $this->getHTML();
834 exit;
835 }
836 else
837 {
838 $ilCtrl->redirectByClass("ilpersonaldesktopgui", "show");
839 }
840 }
getHTML()
Get bloch HTML code.
exit
Definition: login.php:54

References $ilCtrl, $ilUser, exit, and getHTML().

+ Here is the call graph for this function:

◆ setPdModeMonth()

ilCalendarBlockGUI::setPdModeMonth ( )

Definition at line 842 of file class.ilCalendarBlockGUI.php.

843 {
844 global $ilUser, $ilCtrl;
845
846 $ilUser->writePref("il_pd_cal_mode", "mmon");
847 $this->display_mode = "mmon";
848 if ($ilCtrl->isAsynch())
849 {
850 echo $this->getHTML();
851 exit;
852 }
853 else
854 {
855 $ilCtrl->redirectByClass("ilpersonaldesktopgui", "show");
856 }
857 }

References $ilCtrl, $ilUser, exit, and getHTML().

+ Here is the call graph for this function:

◆ setSeed()

ilCalendarBlockGUI::setSeed ( )

Set seed.

Definition at line 683 of file class.ilCalendarBlockGUI.php.

684 {
685 global $ilCtrl, $ilUser;
686
687 //$ilUser->writePref("il_pd_bkm_mode", 'flat');
688 $_SESSION["il_cal_block_".$this->getBlockType()."_".$this->getBlockId()."_seed"] =
689 $_GET["seed"];
690 if ($ilCtrl->isAsynch())
691 {
692 echo $this->getHTML();
693 exit;
694 }
695 else
696 {
697 $this->returnToUpperContext();
698 }
699 }
returnToUpperContext()
Return to upper context.

References $_GET, $_SESSION, $ilCtrl, $ilUser, exit, ilBlockGUI\getBlockId(), getHTML(), and returnToUpperContext().

+ Here is the call graph for this function:

◆ setSubTabs()

ilCalendarBlockGUI::setSubTabs ( )
protected
Parameters

return

Definition at line 662 of file class.ilCalendarBlockGUI.php.

663 {
664 global $ilTabs;
665
666 $ilTabs->clearSubTabs();
667 return true;
668
669 // TODO: needs another switch
670 if($_GET['ref_id'])
671 {
672
673 $ilTabs->addSubTabTarget('app_day',$this->ctrl->getLinkTargetByClass('ilCalendarDayGUI',''));
674 $ilTabs->addSubTabTarget('app_week',$this->ctrl->getLinkTargetByClass('ilCalendarWeekGUI',''));
675 $ilTabs->addSubTabTarget('app_month',$this->ctrl->getLinkTargetByClass('ilCalendarMonthGUI',''));
676 }
677 return true;
678 }

References $_GET.

Referenced by executeCommand().

+ Here is the caller graph for this function:

◆ showCalendarSubscription()

ilCalendarBlockGUI::showCalendarSubscription ( )

Definition at line 712 of file class.ilCalendarBlockGUI.php.

713 {
714 global $lng, $ilUser;
715
716 $tpl = new ilTemplate('tpl.show_calendar_subscription.html',true,true,'Services/Calendar');
717
718 $tpl->setVariable('TXT_TITLE',$lng->txt('cal_subscription_header'));
719 $tpl->setVariable('TXT_INFO',$lng->txt('cal_subscription_info'));
720 $tpl->setVariable('TXT_CAL_URL',$lng->txt('cal_subscription_url'));
721
722 include_once './Services/Calendar/classes/class.ilCalendarAuthenticationToken.php';
723
724 switch($this->mode)
725 {
729 $calendar = 0;
730 break;
731
732 default:
734 // TODO: calendar id
735 $calendar = ilObject::_lookupObjId((int) $_GET['ref_id']);
736 break;
737 }
738 if($hash = ilCalendarAuthenticationToken::lookupAuthToken($ilUser->getId(), $selection, $calendar))
739 {
740
741 }
742 else
743 {
744 $token = new ilCalendarAuthenticationToken($ilUser->getId());
745 $token->setSelectionType($selection);
746 $token->setCalendar($calendar);
747 $hash = $token->add();
748 }
749 $url = ILIAS_HTTP_PATH.'/calendar.php?client_id='.CLIENT_ID.'&token='.$hash;
750
751 $tpl->setVariable('VAL_CAL_URL',$url);
752 $tpl->setVariable('VAL_CAL_URL_TXT',$url);
753
754 include_once("./Services/PersonalDesktop/classes/class.ilPDContentBlockGUI.php");
755 $content_block = new ilPDContentBlockGUI();
756 $content_block->setContent($tpl->get());
757 $content_block->setTitle($lng->txt("calendar"));
758 $content_block->addHeaderCommand($this->ctrl->getParentReturn($this),
759 $lng->txt("selected_items_back"));
760
761 return $content_block->getHTML();
762
763 }
Handles calendar authentication tokens for external calendar subscriptions.
static lookupAuthToken($a_user_id, $a_selection, $a_calendar=0)
static _lookupObjId($a_id)
BlockGUI class for (centered) Content on Personal Desktop.

References $_GET, $ilUser, $lng, $tpl, ilObject\_lookupObjId(), ilCalendarAuthenticationToken\lookupAuthToken(), ilCalendarCategories\MODE_PERSONAL_DESKTOP_ITEMS, ilCalendarCategories\MODE_PERSONAL_DESKTOP_MEMBERSHIP, ilCalendarAuthenticationToken\SELECTION_CATEGORY, and ilCalendarAuthenticationToken\SELECTION_PD.

+ Here is the call graph for this function:

Field Documentation

◆ $block_type

ilCalendarBlockGUI::$block_type = "cal"
static

Definition at line 46 of file class.ilCalendarBlockGUI.php.

Referenced by getBlockType().

◆ $ctrl

ilCalendarBlockGUI::$ctrl = null

Definition at line 42 of file class.ilCalendarBlockGUI.php.

◆ $display_mode

ilCalendarBlockGUI::$display_mode
protected

Definition at line 44 of file class.ilCalendarBlockGUI.php.

◆ $mode

ilCalendarBlockGUI::$mode
protected

Definition at line 43 of file class.ilCalendarBlockGUI.php.

Referenced by ilCalendarBlockGUI().

◆ $st_data

ilCalendarBlockGUI::$st_data
static

Definition at line 47 of file class.ilCalendarBlockGUI.php.


The documentation for this class was generated from the following file: