| ILIAS
    Release_4_3_x_branch Revision 61807
    | 
Calendar blocks, displayed in different contexts, e.g. More...
 Inheritance diagram for ilCalendarBlockGUI:
 Inheritance diagram for ilCalendarBlockGUI: Collaboration diagram for ilCalendarBlockGUI:
 Collaboration diagram for ilCalendarBlockGUI:| Public Member Functions | |
| ilCalendarBlockGUI ($a_skip_init=false) | |
| Constructor. | |
| & | executeCommand () | 
| execute command | |
| setEnableEdit ($a_enable_edit=0) | |
| Set EnableEdit. | |
| getEnableEdit () | |
| Get EnableEdit. | |
| fillDataSection () | |
| Fill data section. | |
| addMiniMonth ($a_tpl) | |
| Add mini version of monthly overview (Maybe extracted to another class, if used in pd calendar tab. | |
| getHTML () | |
| Get bloch HTML code. | |
| getOverview () | |
| Get overview. | |
| addCloseCommand ($a_content_block) | |
| setSeed () | |
| Set seed. | |
| returnToUpperContext () | |
| Return to upper context. | |
| showCalendarSubscription () | |
| fillFooter () | |
| setFooterLinks () | |
| setPdModeEvents () | |
| setPdModeMonth () | |
| getData () | |
| Get Data. | |
|  Public Member Functions inherited from ilBlockGUI | |
| ilBlockGUI () | |
| Constructor. | |
| addHeaderLink ($a_href, $a_text, $status=true) | |
| getHeaderLinks () | |
| setData ($a_data) | |
| Set Data. | |
| setBigMode ($a_bigmode) | |
| Set Big Mode. | |
| getBigMode () | |
| Get Big Mode. | |
| setBlockId ($a_block_id=0) | |
| Set Block Id. | |
| getBlockId () | |
| Get Block Id. | |
| setAvailableDetailLevels ($a_max, $a_min=0) | |
| Set Available Detail Levels. | |
| setCurrentDetailLevel ($a_currentdetaillevel) | |
| Set Current Detail Level. | |
| setGuiObject (&$a_gui_object) | |
| Set GuiObject. | |
| getGuiObject () | |
| Get GuiObject. | |
| getCurrentDetailLevel () | |
| Get Current Detail Level. | |
| setTitle ($a_title) | |
| Set Title. | |
| getTitle () | |
| Get Title. | |
| setImage ($a_image) | |
| Set Image. | |
| getImage () | |
| Get Image. | |
| setOffset ($a_offset) | |
| Set Offset. | |
| getOffset () | |
| Get Offset. | |
| correctOffset () | |
| setLimit ($a_limit) | |
| Set Limit. | |
| getLimit () | |
| Get Limit. | |
| setRepositoryMode ($a_repositorymode) | |
| Set RepositoryMode. | |
| getRepositoryMode () | |
| Get RepositoryMode. | |
| setFooterInfo ($a_footerinfo, $a_hide_and_icon=false) | |
| Set Footer Info. | |
| getFooterInfo ($a_hide_and_icon=false) | |
| Get Footer Info. | |
| setSubtitle ($a_subtitle) | |
| Set Subtitle. | |
| getSubtitle () | |
| Get Subtitle. | |
| setRefId ($a_refid) | |
| Set Ref Id (only used if isRepositoryObject() is true). | |
| getRefId () | |
| Get Ref Id (only used if isRepositoryObject() is true). | |
| setAdminCommands ($a_admincommands) | |
| Set Administration Commmands. | |
| getAdminCommands () | |
| Get Administration Commmands. | |
| setColSpan ($a_colspan) | |
| Set Columns Span. | |
| getColSpan () | |
| Get Columns Span. | |
| setEnableDetailRow ($a_enabledetailrow) | |
| Set EnableDetailRow. | |
| getEnableDetailRow () | |
| Get EnableDetailRow. | |
| setEnableNumInfo ($a_enablenuminfo) | |
| Set Enable Item Number Info. | |
| getEnableNumInfo () | |
| Get Enable Item Number Info. | |
| setProperties ($a_properties) | |
| This function is supposed to be used for block type specific properties, that should be inherited through ilColumnGUI->setBlockProperties. | |
| getProperty ($a_property) | |
| setProperty ($a_property, $a_value) | |
| setRowTemplate ($a_rowtemplatename, $a_rowtemplatedir="") | |
| Set Row Template Name. | |
| getNavParameter () | |
| getDetailParameter () | |
| getConfigParameter () | |
| getMoveParameter () | |
| getRowTemplateName () | |
| Get Row Template Name. | |
| getRowTemplateDir () | |
| Get Row Template Directory. | |
| addBlockCommand ($a_href, $a_text, $a_target="", $a_img="", $a_right_aligned=false, $a_checked=false) | |
| Add Block Command. | |
| getBlockCommands () | |
| Get Block commands. | |
| addHeaderCommand ($a_href, $a_text, $a_as_close=false) | |
| Add Header Block Command. | |
| getHeaderCommands () | |
| Get Header Block commands. | |
| 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. | |
| getFooterLinks () | |
| Get footer links. | |
| clearFooterLinks () | |
| Clear footer links. | |
| handleDetailLevel () | |
| Handle read/write current detail level. | |
| fillHeaderCommands () | |
| Fill header commands block. | |
| fillHeaderTitleBlock () | |
| Fill header title block (title and. | |
| setDataSection ($a_content) | |
| Call this from overwritten fillDataSection(), if standard row based data is not used. | |
| fillRow ($a_set) | |
| fillPreviousNext () | |
| Fill previous/next row. | |
| setPreviousNextLinks () | |
| Get previous/next linkbar. | |
| fillFooterLinks ($a_top=false, $a_numinfo="") | |
| Fill footer links. | |
| fillDetailRow () | |
| Fill Detail Setting Row. | |
| Static Public Member Functions | |
| static | getBlockType () | 
| Get block type. | |
| static | isRepositoryObject () | 
| Is this a repository object. | |
| static | getScreenMode () | 
| Get Screen Mode for current command. | |
| Data Fields | |
| $ctrl = null | |
| Static Public Attributes | |
| static | $block_type = "cal" | 
| static | $st_data | 
| Protected Member Functions | |
| initCategories () | |
| init categories | |
| setSubTabs () | |
|  Protected Member Functions inherited from ilBlockGUI | |
| fillRowColor ($a_placeholder="CSS_ROW") | |
| preloadData (array $data) | |
| Can be overwritten in subclasses. | |
| 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 | |
Calendar blocks, displayed in different contexts, e.g.
groups and courses
ilCalendarBlockGUI: ilColumnGUI ilCalendarBlockGUI: ilCalendarDayGUI, ilCalendarAppointmentGUI ilCalendarBlockGUI: ilCalendarMonthGUI, ilCalendarWeekGUI, ilCalendarInboxGUI ilCalendarBlockGUI: ilConsultationHoursGUI
Definition at line 40 of file class.ilCalendarBlockGUI.php.
| ilCalendarBlockGUI::addCloseCommand | ( | $a_content_block | ) | 
| ilCalendarBlockGUI::addMiniMonth | ( | $a_tpl | ) | 
Add mini version of monthly overview (Maybe extracted to another class, if used in pd calendar tab.
Definition at line 299 of file class.ilCalendarBlockGUI.php.
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 call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| & ilCalendarBlockGUI::executeCommand | ( | ) | 
execute command
Definition at line 189 of file class.ilCalendarBlockGUI.php.
References $cmd, $ilCtrl, and setSubTabs().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilCalendarBlockGUI::fillDataSection | ( | ) | 
Fill data section.
Reimplemented from ilBlockGUI.
Definition at line 267 of file class.ilCalendarBlockGUI.php.
References $tpl, addMiniMonth(), ilBlockGUI\getCurrentDetailLevel(), getOverview(), ilBlockGUI\setColSpan(), and ilBlockGUI\setDataSection().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilCalendarBlockGUI::fillFooter | ( | ) | 
Reimplemented from ilBlockGUI.
Definition at line 726 of file class.ilCalendarBlockGUI.php.
References $ilCtrl, $ilUser, $lng, ilBlockGUI\fillFooterLinks(), ilBlockGUI\getColSpan(), and setFooterLinks().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | static | 
Get block type.
Reimplemented from ilBlockGUI.
Reimplemented in ilPDCalendarBlockGUI.
Definition at line 139 of file class.ilCalendarBlockGUI.php.
References $block_type.
Referenced by addMiniMonth(), and ilCalendarBlockGUI().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilCalendarBlockGUI::getData | ( | ) | 
Get Data.
Reimplemented from ilBlockGUI.
Definition at line 807 of file class.ilCalendarBlockGUI.php.
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:
 Here is the call graph for this function:| ilCalendarBlockGUI::getEnableEdit | ( | ) | 
Get EnableEdit.
Reimplemented from ilBlockGUI.
Definition at line 259 of file class.ilCalendarBlockGUI.php.
| ilCalendarBlockGUI::getHTML | ( | ) | 
Get bloch HTML code.
Reimplemented from ilBlockGUI.
Definition at line 478 of file class.ilCalendarBlockGUI.php.
References $_GET, $ilCtrl, $ilUser, $lng, $ret, ilCourseParticipants\_getInstanceByObjId(), ilObjUser\_lookupFullname(), ilBlockGUI\addBlockCommand(), ilBlockGUI\getCurrentDetailLevel(), ilUtil\getImagePath(), ilBlockGUI\getProperty(), ilBookingEntry\isBookable(), 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 call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilCalendarBlockGUI::getOverview | ( | ) | 
Get overview.
Definition at line 569 of file class.ilCalendarBlockGUI.php.
References $ilCtrl, $ilUser, $lng, and ilCalendarSchedule\TYPE_INBOX.
Referenced by fillDataSection().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Get Screen Mode for current command.
Reimplemented from ilBlockGUI.
Definition at line 157 of file class.ilCalendarBlockGUI.php.
References $_GET, $ilCtrl, and IL_SCREEN_CENTER.
| ilCalendarBlockGUI::ilCalendarBlockGUI | ( | $a_skip_init = false | ) | 
Constructor.
| boolean | skip initialisation (is called by derived PDCalendarBlockGUI class) | 
Definition at line 54 of file class.ilCalendarBlockGUI.php.
References $_GET, $_SESSION, $ilCtrl, $ilUser, $lng, $mode, $title, $tpl, ilCalendarUserSettings\_getInstanceByUserId(), ilObjUser\_lookupFullname(), ilBlockGUI\getBlockId(), getBlockType(), ilUtil\getImagePath(), IL_CAL_DATE, IL_CAL_UNIX, ilBlockGUI\ilBlockGUI(), initCategories(), ilBlockGUI\setAvailableDetailLevels(), ilBlockGUI\setBlockId(), ilBlockGUI\setEnableNumInfo(), ilBlockGUI\setImage(), ilBlockGUI\setLimit(), and ilBlockGUI\setTitle().
Referenced by ilPDCalendarBlockGUI\ilPDCalendarBlockGUI().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
init categories
protected
| @return | 
Reimplemented in ilPDCalendarBlockGUI.
Definition at line 601 of file class.ilCalendarBlockGUI.php.
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 call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Is this a repository object.
Reimplemented from ilBlockGUI.
Definition at line 149 of file class.ilCalendarBlockGUI.php.
| ilCalendarBlockGUI::returnToUpperContext | ( | ) | 
Return to upper context.
Reimplemented in ilPDCalendarBlockGUI.
Definition at line 664 of file class.ilCalendarBlockGUI.php.
References $ilCtrl.
Referenced by setSeed().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilCalendarBlockGUI::setEnableEdit | ( | $a_enable_edit = 0 | ) | 
Set EnableEdit.
| boolean | $a_enable_edit | Edit mode on/off | 
Reimplemented from ilBlockGUI.
Definition at line 249 of file class.ilCalendarBlockGUI.php.
| ilCalendarBlockGUI::setFooterLinks | ( | ) | 
Definition at line 740 of file class.ilCalendarBlockGUI.php.
References ilBlockGUI\$block_id, $ilCtrl, $lng, ilBlockGUI\addFooterLink(), and ilBlockGUI\getCurrentDetailLevel().
Referenced by fillFooter().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| ilCalendarBlockGUI::setPdModeEvents | ( | ) | 
Definition at line 773 of file class.ilCalendarBlockGUI.php.
References $ilCtrl, $ilUser, exit, and getHTML().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilCalendarBlockGUI::setPdModeMonth | ( | ) | 
Definition at line 790 of file class.ilCalendarBlockGUI.php.
References $ilCtrl, $ilUser, exit, and getHTML().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilCalendarBlockGUI::setSeed | ( | ) | 
Set seed.
Definition at line 643 of file class.ilCalendarBlockGUI.php.
References $_GET, $_SESSION, $ilCtrl, $ilUser, exit, ilBlockGUI\getBlockId(), getHTML(), and returnToUpperContext().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
| @return | 
Definition at line 622 of file class.ilCalendarBlockGUI.php.
References $_GET.
Referenced by executeCommand().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilCalendarBlockGUI::showCalendarSubscription | ( | ) | 
Definition at line 672 of file class.ilCalendarBlockGUI.php.
References $_GET, $ilUser, $lng, $tpl, ilObject\_lookupObjId(), ilCalendarAuthenticationToken\lookupAuthToken(), ilCalendarCategories\MODE_PERSONAL_DESKTOP_ITEMS, ilCalendarCategories\MODE_PERSONAL_DESKTOP_MEMBERSHIP, ilCalendarAuthenticationToken\SELECTION_CATEGORY, ilCalendarAuthenticationToken\SELECTION_PD, and ilCalendarAuthenticationToken\setSelectionType().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | static | 
Definition at line 46 of file class.ilCalendarBlockGUI.php.
Referenced by getBlockType().
| ilCalendarBlockGUI::$ctrl = null | 
Definition at line 42 of file class.ilCalendarBlockGUI.php.
| 
 | protected | 
Definition at line 44 of file class.ilCalendarBlockGUI.php.
| 
 | protected | 
Definition at line 43 of file class.ilCalendarBlockGUI.php.
Referenced by ilCalendarBlockGUI().
| 
 | static | 
Definition at line 47 of file class.ilCalendarBlockGUI.php.