| 
    ILIAS
    release_10 Revision v10.1-43-ga1241a92c2f
    
   | 
  
Calendar blocks, displayed in different contexts, e.g. More...
 Inheritance diagram for ilCalendarBlockGUI:
 Collaboration diagram for ilCalendarBlockGUI:Public Member Functions | |
| __construct () | |
| Constructor.  More... | |
| getShowWeeksColumn () | |
| Show weeks column.  More... | |
| getBlockType () | |
| setParentGUI (string $a_val) | |
| getParentGUI () | |
| setForceMonthView (bool $a_val) | |
| getForceMonthView () | |
| executeCommand () | |
| getTargetGUIClassPath () | |
| addMiniMonth (ilTemplate $a_tpl, bool $a_include_view_ctrl=false) | |
| 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 () | |
| setSeed () | |
| returnToUpperContext () | |
| setPdModeEvents () | |
| setPdModeMonth () | |
| getEventByAppointmentId (int $a_appointment_id) | |
| getEvents () | |
| getData () | |
| getDatesForItem (array $item) | |
| Get start/end date for item.  More... | |
| getModalForApp () | |
| Get modal for appointment (see similar code in ilCalendarAgendaListGUI) todo use all this methods from ilcalendarviewgui.php.  More... | |
| getViewControlsForPanel () | |
| getNoItemFoundContent () | |
| No item entry.  More... | |
  Public Member Functions inherited from ilBlockGUI | |
| __construct () | |
| getBlockType () | |
| setData (array $a_data) | |
| getData () | |
| setPresentation (int $type) | |
| getPresentation () | |
| setBlockId (string $a_block_id="0") | |
| getBlockId () | |
| setGuiObject (object $a_gui_object) | |
| Set GuiObject.  More... | |
| getGuiObject () | |
| setTitle (string $a_title) | |
| getTitle () | |
| setOffset (int $a_offset) | |
| getOffset () | |
| checkOffset (int $offset) | |
| setLimit (int $a_limit) | |
| getLimit () | |
| setEnableEdit (bool $a_enableedit) | |
| getEnableEdit () | |
| setRepositoryMode (bool $a_repositorymode) | |
| getRepositoryMode () | |
| setSubtitle (string $a_subtitle) | |
| getSubtitle () | |
| setRefId (int $a_refid) | |
| Set Ref Id (only used if isRepositoryObject() is true).  More... | |
| getRefId () | |
| setAdminCommands (bool $a_admincommands) | |
| getAdminCommands () | |
| setEnableNumInfo (bool $a_enablenuminfo) | |
| getEnableNumInfo () | |
| setProperties (array $a_properties) | |
| This function is supposed to be used for block type specific properties, that should be inherited through ilColumnGUI->setBlockProperties.  More... | |
| getProperty (string $a_property) | |
| setProperty (string $a_property, string $a_value) | |
| setRowTemplate (string $a_rowtemplatename, string $a_rowtemplatedir="") | |
| Set Row Template Name.  More... | |
| getNavParameter () | |
| getConfigParameter () | |
| getMoveParameter () | |
| getRowTemplateName () | |
| getRowTemplateDir () | |
| addBlockCommand (string $a_href, string $a_text, string $a_onclick="", RoundTrip $modal=null) | |
| getBlockCommands () | |
| getHTML () | |
| getAsynch () | |
| Use this for final get before sending asynchronous output (ajax) per echo to output.  More... | |
| getPaginationViewControl () | |
| Fill previous/next row.  More... | |
| getViewControlsForPanel () | |
| sortObject () | |
| addSortOption (string $option, string $label, bool $active) | |
| setSortTarget (string $target) | |
| addPresentation (string $label, string $target, bool $active) | |
| getNoItemFoundContent () | |
Static Public Member Functions | |
| static | getScreenMode () | 
| Get Screen Mode for current command.  More... | |
  Static Public Member Functions inherited from ilBlockGUI | |
| static | getScreenMode () | 
Static Public Attributes | |
| static string | $block_type = "cal" | 
Protected Member Functions | |
| initBookingUserFromQuery () | |
| initSeedFromQuery () | |
| initAppointmentIdFromQuery () | |
| initInitialDateQuery () | |
| isRepositoryObject () | |
| getViewControl () | |
| initCategories () | |
| setSubTabs () | |
| initCommands () | |
| getLegacyContent () | |
| getListItemForData (array $data) | |
| addSubscriptionButton (ilTemplate $panel_template) | |
| Add subscription button.  More... | |
  Protected Member Functions inherited from ilBlockGUI | |
| isRepositoryObject () | |
| Returns whether block has a corresponding repository object.  More... | |
| specialCharsAsEntities (string $string) | |
| initCommands () | |
| preloadData (array $data) | |
| Can be overwritten in subclasses.  More... | |
| getLegacyContent () | |
| Get legacy content.  More... | |
| getListItemForData (array $data) | |
| Get list item for data array.  More... | |
| handleNavigation () | |
| Handle navigation.  More... | |
| loadData () | |
| Load data for current page.  More... | |
| getListItemGroups () | |
| Get items.  More... | |
| addRepoCommands () | |
| Add repo commands.  More... | |
| getActionsForPanel () | |
| send (string $output) | |
| Send.  More... | |
Additional Inherited Members | |
  Data Fields inherited from ilBlockGUI | |
| const | PRES_MAIN_LEG = 0 | 
| const | PRES_SEC_LEG = 1 | 
| const | PRES_SEC_LIST = 2 | 
| const | PRES_MAIN_LIST = 3 | 
| const | PRES_MAIN_TILE = 4 | 
Calendar blocks, displayed in different contexts, e.g.
groups and courses
Definition at line 33 of file class.ilCalendarBlockGUI.php.
| ilCalendarBlockGUI::__construct | ( | ) | 
Constructor.
Definition at line 64 of file class.ilCalendarBlockGUI.php.
References $DIC, $params, ilBlockGUI\$title, ILIAS\GlobalScreen\Provider\__construct(), ilCalendarSettings\_getInstance(), ilCalendarUserSettings\_getInstanceByUserId(), ILIAS\Repository\ctrl(), ilSession\get(), ilBlockGUI\getBlockId(), getBlockType(), ilSession\has(), ILIAS\Repository\help(), ILIAS\FileDelivery\http(), IL_CAL_DATE, initSeedFromQuery(), ILIAS\Repository\int(), ILIAS\Repository\lng(), ILIAS\Repository\logger(), ILIAS\Repository\refinery(), ilSession\set(), ilBlockGUI\setBlockId(), ilBlockGUI\setEnableNumInfo(), ilBlockGUI\setLimit(), ilBlockGUI\setPresentation(), ILIAS\Repository\settings(), ilBlockGUI\setTitle(), ILIAS\Repository\tabs(), ILIAS\Repository\ui(), and ILIAS\Repository\user().
 Here is the call graph for this function:| ilCalendarBlockGUI::addMiniMonth | ( | ilTemplate | $a_tpl, | 
| bool | $a_include_view_ctrl = false  | 
        ||
| ) | 
Add mini version of monthly overview (Maybe extracted to another class, if used in pd calendar tab.
Definition at line 294 of file class.ilCalendarBlockGUI.php.
References ilBlockGUI\$lng, $path, ilBlockGUI\$ui, ilBlockGUI\$user, $user_id, ilDateTime\_before(), ilCalendarUtil\_buildMonthDayList(), ilDateTime\_equals(), ilCalendarUtil\_isToday(), ilCalendarUtil\_numericDayToString(), ilCalendarUtil\_numericMonthToString(), ILIAS\Repository\ctrl(), getShowWeeksColumn(), getTargetGUIClassPath(), getViewControl(), IL_CAL_DATE, IL_CAL_FKT_DATE, IL_CAL_MONTH, initBookingUserFromQuery(), ILIAS\Repository\int(), ILIAS\Repository\lng(), ilTemplate\parseCurrentBlock(), ilTemplate\setCurrentBlock(), HTML_Template_IT\setVariable(), ilCalendarSchedule\TYPE_MONTH, and ILIAS\Repository\user().
Referenced by getLegacyContent().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Add subscription button.
Definition at line 893 of file class.ilCalendarBlockGUI.php.
References $components, $DIC, ilBlockGUI\$presentation, $url, ILIAS\Repository\ctrl(), getTargetGUIClassPath(), ILIAS\Repository\lng(), ilTemplate\parseCurrentBlock(), ilTemplate\setCurrentBlock(), and HTML_Template_IT\setVariable().
Referenced by getLegacyContent().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilCalendarBlockGUI::executeCommand | ( | ) | 
Definition at line 224 of file class.ilCalendarBlockGUI.php.
References ilBlockGUI\$presentation, ilCalendarAppointmentPresentationGUI\_getInstance(), ILIAS\Repository\ctrl(), getEventByAppointmentId(), getHTML(), initAppointmentIdFromQuery(), initCategories(), ILIAS\Repository\logger(), setSubTabs(), and ILIAS\Repository\tabs().
 Here is the call graph for this function:| ilCalendarBlockGUI::getBlockType | ( | ) | 
Definition at line 167 of file class.ilCalendarBlockGUI.php.
Referenced by __construct(), and setSeed().
 Here is the caller graph for this function:| ilCalendarBlockGUI::getData | ( | ) | 
Definition at line 731 of file class.ilCalendarBlockGUI.php.
References ilBlockGUI\$data, Vendor\Package\$f, ilBlockGUI\$lng, ilBlockGUI\$ui, $url, ILIAS\Repository\ctrl(), ilDatePresentation\formatPeriod(), getDatesForItem(), getEvents(), initAppointmentIdFromQuery(), initInitialDateQuery(), and ilBlockGUI\setEnableNumInfo().
 Here is the call graph for this function:| ilCalendarBlockGUI::getDatesForItem | ( | array | $item | ) | 
Get start/end date for item.
| array | $item | item | 
Definition at line 785 of file class.ilCalendarBlockGUI.php.
References IL_CAL_UNIX.
Referenced by getData(), and getModalForApp().
 Here is the caller graph for this function:| ilCalendarBlockGUI::getEventByAppointmentId | ( | int | $a_appointment_id | ) | 
Definition at line 705 of file class.ilCalendarBlockGUI.php.
References getEvents().
Referenced by executeCommand().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilCalendarBlockGUI::getEvents | ( | ) | 
Definition at line 719 of file class.ilCalendarBlockGUI.php.
References IL_CAL_DATE, and ilCalendarSchedule\TYPE_PD_UPCOMING.
Referenced by getData(), getEventByAppointmentId(), and getModalForApp().
 Here is the caller graph for this function:| ilCalendarBlockGUI::getForceMonthView | ( | ) | 
Definition at line 199 of file class.ilCalendarBlockGUI.php.
References $force_month_view.
Referenced by getHTML(), ilPDCalendarBlockGUI\initCategories(), initCategories(), and initCommands().
 Here is the caller graph for this function:| ilCalendarBlockGUI::getHTML | ( | ) | 
Get bloch HTML code.
Definition at line 480 of file class.ilCalendarBlockGUI.php.
References Vendor\Package\$f, ilBlockGUI\$lng, $obj_data_cache, $path, ilBlockGUI\$user, $user_id, ilDateTime\_before(), ilCourseParticipants\_getInstanceByObjId(), ilObjUser\_lookupFullname(), ilBlockGUI\addBlockCommand(), ILIAS\Repository\ctrl(), ilConsultationHourAppointments\getAppointments(), getForceMonthView(), ilObject\getId(), getParentGUI(), ilBlockGUI\getProperty(), getTargetGUIClassPath(), IL_CAL_DATE, IL_CAL_DAY, IL_CAL_UNIX, initBookingUserFromQuery(), initCategories(), ILIAS\Repository\lng(), ilBookingEntry\lookupBookableUsersForObject(), ilCalendarCategories\MODE_REPOSITORY, and ILIAS\Repository\ui().
Referenced by executeCommand(), setPdModeEvents(), setPdModeMonth(), and setSeed().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 842 of file class.ilCalendarBlockGUI.php.
References ilBlockGUI\$tpl, addMiniMonth(), addSubscriptionButton(), and ilTemplate\get().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 868 of file class.ilCalendarBlockGUI.php.
References ilBlockGUI\$factory, and ILIAS\Repository\ui().
 Here is the call graph for this function:| ilCalendarBlockGUI::getModalForApp | ( | ) | 
Get modal for appointment (see similar code in ilCalendarAgendaListGUI) todo use all this methods from ilcalendarviewgui.php.
Definition at line 803 of file class.ilCalendarBlockGUI.php.
References Vendor\Package\$f, $r, ilBlockGUI\$ui, ilCalendarAppointmentPresentationGUI\_getInstance(), ILIAS\Repository\ctrl(), exit, ilDatePresentation\formatPeriod(), getDatesForItem(), getEvents(), initAppointmentIdFromQuery(), initCategories(), and initInitialDateQuery().
 Here is the call graph for this function:| ilCalendarBlockGUI::getNoItemFoundContent | ( | ) | 
No item entry.
Definition at line 885 of file class.ilCalendarBlockGUI.php.
References ILIAS\Repository\lng().
 Here is the call graph for this function:| ilCalendarBlockGUI::getOverview | ( | ) | 
Definition at line 580 of file class.ilCalendarBlockGUI.php.
References ilBlockGUI\$lng, $text, ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ilCalendarSchedule\TYPE_INBOX.
 Here is the call graph for this function:| ilCalendarBlockGUI::getParentGUI | ( | ) | 
Definition at line 185 of file class.ilCalendarBlockGUI.php.
References $parent_gui.
Referenced by getHTML().
 Here is the caller graph for this function:
      
  | 
  static | 
Get Screen Mode for current command.
Definition at line 207 of file class.ilCalendarBlockGUI.php.
References $DIC, and IL_SCREEN_CENTER.
| ilCalendarBlockGUI::getShowWeeksColumn | ( | ) | 
Show weeks column.
Definition at line 159 of file class.ilCalendarBlockGUI.php.
References ILIAS\Repository\settings().
Referenced by addMiniMonth().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilCalendarBlockGUI::getTargetGUIClassPath | ( | ) | 
Definition at line 271 of file class.ilCalendarBlockGUI.php.
References ilObject\_lookupType(), and ilBlockGUI\getRepositoryMode().
Referenced by addMiniMonth(), addSubscriptionButton(), and getHTML().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 421 of file class.ilCalendarBlockGUI.php.
References $id, ilBlockGUI\$lng, ilBlockGUI\$ui, ILIAS\Repository\ctrl(), IL_CAL_DATE, ILIAS\Repository\lng(), ilDateTime\MONTH, and ILIAS\UI\Implementation\Component\withOnLoadCode().
Referenced by addMiniMonth(), and getViewControlsForPanel().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilCalendarBlockGUI::getViewControlsForPanel | ( | ) | 
Definition at line 831 of file class.ilCalendarBlockGUI.php.
References ilBlockGUI\getPresentation(), and getViewControl().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 134 of file class.ilCalendarBlockGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by executeCommand(), getData(), and getModalForApp().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 112 of file class.ilCalendarBlockGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by addMiniMonth(), and getHTML().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 596 of file class.ilCalendarBlockGUI.php.
References ilCalendarCategories\_getInstance(), getForceMonthView(), ilCalendarCategories\MODE_REPOSITORY, and ilCalendarCategories\MODE_REPOSITORY_CONTAINER_ONLY.
Referenced by executeCommand(), getHTML(), and getModalForApp().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 635 of file class.ilCalendarBlockGUI.php.
References ilBlockGUI\$lng, ILIAS\Repository\access(), ilBlockGUI\addBlockCommand(), ILIAS\Repository\ctrl(), getForceMonthView(), ilBlockGUI\getRepositoryMode(), and ILIAS\Repository\lng().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 145 of file class.ilCalendarBlockGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by getData(), and getModalForApp().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 123 of file class.ilCalendarBlockGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by __construct(), and setSeed().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 175 of file class.ilCalendarBlockGUI.php.
| ilCalendarBlockGUI::returnToUpperContext | ( | ) | 
Definition at line 630 of file class.ilCalendarBlockGUI.php.
References ILIAS\Repository\ctrl().
Referenced by setSeed().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilCalendarBlockGUI::setForceMonthView | ( | bool | $a_val | ) | 
Definition at line 190 of file class.ilCalendarBlockGUI.php.
References ilBlockGUI\setPresentation().
 Here is the call graph for this function:| ilCalendarBlockGUI::setParentGUI | ( | string | $a_val | ) | 
Definition at line 180 of file class.ilCalendarBlockGUI.php.
| ilCalendarBlockGUI::setPdModeEvents | ( | ) | 
Definition at line 675 of file class.ilCalendarBlockGUI.php.
References ilBlockGUI\$user, ILIAS\Repository\ctrl(), exit, getHTML(), ilBlockGUI\setPresentation(), and ILIAS\Repository\user().
 Here is the call graph for this function:| ilCalendarBlockGUI::setPdModeMonth | ( | ) | 
Definition at line 690 of file class.ilCalendarBlockGUI.php.
References ilBlockGUI\$user, ILIAS\Repository\ctrl(), exit, getHTML(), ilBlockGUI\setPresentation(), and ILIAS\Repository\user().
 Here is the call graph for this function:| ilCalendarBlockGUI::setSeed | ( | ) | 
Definition at line 616 of file class.ilCalendarBlockGUI.php.
References ILIAS\Repository\ctrl(), exit, ilBlockGUI\getBlockId(), getBlockType(), getHTML(), initSeedFromQuery(), returnToUpperContext(), and ilSession\set().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 611 of file class.ilCalendarBlockGUI.php.
References ILIAS\Repository\tabs().
Referenced by executeCommand().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  static | 
Definition at line 43 of file class.ilCalendarBlockGUI.php.
      
  | 
  protected | 
Definition at line 35 of file class.ilCalendarBlockGUI.php.
      
  | 
  protected | 
Definition at line 40 of file class.ilCalendarBlockGUI.php.
      
  | 
  protected | 
Definition at line 55 of file class.ilCalendarBlockGUI.php.
Referenced by getForceMonthView().
      
  | 
  protected | 
Definition at line 47 of file class.ilCalendarBlockGUI.php.
      
  | 
  protected | 
Definition at line 38 of file class.ilCalendarBlockGUI.php.
      
  | 
  protected | 
Definition at line 41 of file class.ilCalendarBlockGUI.php.
      
  | 
  protected | 
Definition at line 58 of file class.ilCalendarBlockGUI.php.
      
  | 
  protected | 
Definition at line 39 of file class.ilCalendarBlockGUI.php.
      
  | 
  protected | 
Definition at line 46 of file class.ilCalendarBlockGUI.php.
Referenced by getHTML().
      
  | 
  protected | 
Definition at line 54 of file class.ilCalendarBlockGUI.php.
Referenced by getParentGUI().
      
  | 
  protected | 
Definition at line 37 of file class.ilCalendarBlockGUI.php.
      
  | 
  protected | 
Definition at line 57 of file class.ilCalendarBlockGUI.php.
      
  | 
  protected | 
Definition at line 36 of file class.ilCalendarBlockGUI.php.
      
  | 
  protected | 
Definition at line 50 of file class.ilCalendarBlockGUI.php.
      
  | 
  protected | 
Definition at line 51 of file class.ilCalendarBlockGUI.php.
      
  | 
  protected | 
Definition at line 45 of file class.ilCalendarBlockGUI.php.
      
  | 
  protected | 
Definition at line 52 of file class.ilCalendarBlockGUI.php.