| 
    ILIAS
    release_10 Revision v10.1-43-ga1241a92c2f
    
   | 
  
Administration, Side-Block presentation of calendar categories. More...
 Collaboration diagram for ilCalendarCategoryGUI:Public Member Functions | |
| __construct (int $a_user_id, ilDate $seed, int $a_ref_id=0) | |
| Constructor.  More... | |
| executeCommand () | |
| saveSelection () | |
| shareSearch () | |
| sharePerformSearch () | |
| shareAssignEditable () | |
| Share with write access.  More... | |
| shareAssign ($a_editable=false) | |
| shareAssignRoles (bool $a_editable=false) | |
| shareDeassign () | |
| getSearchToolbar () | |
| getHTML () | |
| addSubTabs (string $a_active) | |
| invitations () | |
Protected Member Functions | |
| initCategoryIdFromQuery () | |
| initSelectedCategoryIdsFromPost () | |
| cancel () | |
| add (ilPropertyFormGUI $form=null) | |
| save () | |
| edit (ilPropertyFormGUI $form=null) | |
| details () | |
| synchroniseCalendar () | |
| doSynchronisation (ilCalendarCategory $category) | |
| update () | |
| confirmDelete () | |
| delete () | |
| shareAssignRolesEditable () | |
| showUserList (array $a_ids=array()) | |
| showRoleList (array $a_ids=array()) | |
| initFormCategory (string $a_mode) | |
| unshare () | |
| showAssignedAppointments () | |
| askDeleteAppointments () | |
| deleteAppointments () | |
| appendCalendarSelection () | |
| switchCalendarMode () | |
| checkVisible () | |
| isImportable () | |
| addReferenceLinks ($a_obj_id) | |
| manage ($a_reset_offsets=false) | |
| importAppointments (ilPropertyFormGUI $form=null) | |
| initImportForm () | |
| uploadAppointments () | |
| doImportFile ($file, $category_id) | |
| acceptShared () | |
| declineShared () | |
| accept shared calendar  protected  More... | |
Protected Attributes | |
| const | SEARCH_USER = 1 | 
| const | SEARCH_ROLE = 2 | 
| ilPropertyFormGUI | $form = null | 
| ilDate | $seed | 
| ilCalendarActions | $actions | 
| ilCtrlInterface | $ctrl | 
| ilLanguage | $lng | 
| ilTabsGUI | $tabs | 
| ilGlobalTemplateInterface | $tpl | 
| ilObjUser | $user | 
| ilToolbarGUI | $toolbar | 
| ilHelpGUI | $help | 
| ilAccessHandler | $access | 
| ilRbacSystem | $rbacsystem | 
| ilTree | $tree | 
| HttpServices | $http | 
| RefineryFactory | $refinery | 
Private Member Functions | |
| readPermissions () | |
| isEditable () | |
Private Attributes | |
| int | $user_id = 0 | 
| int | $ref_id = 0 | 
| int | $obj_id = 0 | 
| bool | $editable = false | 
| bool | $visible = false | 
| bool | $importable = false | 
| int | $category_id = 0 | 
Administration, Side-Block presentation of calendar categories.
Definition at line 30 of file class.ilCalendarCategoryGUI.php.
| ilCalendarCategoryGUI::__construct | ( | int | $a_user_id, | 
| ilDate | $seed, | ||
| int | $a_ref_id = 0  | 
        ||
| ) | 
Constructor.
Definition at line 65 of file class.ilCalendarCategoryGUI.php.
References $DIC, $seed, ilObject\_lookupObjId(), ILIAS\Repository\access(), ILIAS\Repository\ctrl(), ilCalendarActions\getInstance(), ILIAS\Repository\help(), ILIAS\FileDelivery\http(), initCategoryIdFromQuery(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), ILIAS\Repository\tabs(), ILIAS\Repository\toolbar(), and ILIAS\Repository\user().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 1251 of file class.ilCalendarCategoryGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), ilCalendarShared\isSharedWithUser(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), and ILIAS\Repository\user().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 173 of file class.ilCalendarCategoryGUI.php.
References ILIAS\Repository\ctrl(), ilPropertyFormGUI\getHTML(), initFormCategory(), ILIAS\Repository\lng(), and ILIAS\Repository\tabs().
Referenced by save().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 1114 of file class.ilCalendarCategoryGUI.php.
References ilObject\_getAllReferences(), ilObject\_lookupObjId(), ilObject\_lookupTitle(), ilObject\_lookupType(), ilGlobalTemplateInterface\get(), ilGlobalTemplateInterface\parseCurrentBlock(), ilGlobalTemplateInterface\setCurrentBlock(), and ilGlobalTemplateInterface\setVariable().
Referenced by initFormCategory().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilCalendarCategoryGUI::addSubTabs | ( | string | $a_active | ) | 
Definition at line 1223 of file class.ilCalendarCategoryGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), and ILIAS\Repository\tabs().
Referenced by invitations(), and manage().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 986 of file class.ilCalendarCategoryGUI.php.
References ilCalendarUserSettings\_getInstance(), ilCalendarUserSettings\CAL_SELECTION_ITEMS, ilCalendarUserSettings\CAL_SELECTION_MEMBERSHIP, ILIAS\Repository\ctrl(), ilGlobalTemplateInterface\get(), IL_CAL_DATE, ILIAS\Repository\lng(), ilGlobalTemplateInterface\setVariable(), and ilGlobalTemplateInterface\touchBlock().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 924 of file class.ilCalendarCategoryGUI.php.
References ILIAS\Repository\ctrl(), details(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), and ILIAS\Repository\refinery().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 165 of file class.ilCalendarCategoryGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\FileDelivery\http().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 1094 of file class.ilCalendarCategoryGUI.php.
References $DIC, $ilErr, and ILIAS\Repository\lng().
Referenced by details(), importAppointments(), and unshare().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 334 of file class.ilCalendarCategoryGUI.php.
References ILIAS\Repository\ctrl(), initCategoryIdFromQuery(), initSelectedCategoryIdsFromPost(), ILIAS\Repository\lng(), and manage().
 Here is the call graph for this function:
      
  | 
  protected | 
accept shared calendar protected
Definition at line 1286 of file class.ilCalendarCategoryGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), ilCalendarShared\isSharedWithUser(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), and ILIAS\Repository\user().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 360 of file class.ilCalendarCategoryGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), and ILIAS\Repository\refinery().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 955 of file class.ilCalendarCategoryGUI.php.
References ilCalendarCategoryAssignments\_deleteByAppointmentId(), details(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), and ILIAS\Repository\refinery().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 255 of file class.ilCalendarCategoryGUI.php.
References checkVisible(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), readPermissions(), and showAssignedAppointments().
Referenced by askDeleteAppointments(), and deleteAppointments().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 1213 of file class.ilCalendarCategoryGUI.php.
References ilICalParser\INPUT_FILE, and ilCalendarCategoryAssignments\lookupNumberOfAssignedAppointments().
Referenced by uploadAppointments().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 291 of file class.ilCalendarCategoryGUI.php.
References ilCalendarCategory\getRemotePass(), ilCalendarCategory\getRemoteUrl(), ilCalendarCategory\getRemoteUser(), and ilCalendarRemoteReader\setUser().
Referenced by save(), and synchroniseCalendar().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 234 of file class.ilCalendarCategoryGUI.php.
References ILIAS\Repository\ctrl(), ilPropertyFormGUI\getHTML(), initFormCategory(), ILIAS\Repository\lng(), readPermissions(), and ILIAS\Repository\tabs().
Referenced by update().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilCalendarCategoryGUI::executeCommand | ( | ) | 
Definition at line 132 of file class.ilCalendarCategoryGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), IL_CAL_DATE, and ILIAS\Repository\refinery().
 Here is the call graph for this function:| ilCalendarCategoryGUI::getHTML | ( | ) | 
Definition at line 980 of file class.ilCalendarCategoryGUI.php.
References ILIAS\Repository\ctrl().
 Here is the call graph for this function:| ilCalendarCategoryGUI::getSearchToolbar | ( | ) | 
Definition at line 709 of file class.ilCalendarCategoryGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), ilSelectInputGUI\setValue(), and ILIAS\Repository\toolbar().
Referenced by sharePerformSearch(), and shareSearch().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 1156 of file class.ilCalendarCategoryGUI.php.
References checkVisible(), ILIAS\Repository\ctrl(), ilPropertyFormGUI\getHTML(), initImportForm(), isImportable(), ILIAS\Repository\lng(), readPermissions(), and ILIAS\Repository\tabs().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 105 of file class.ilCalendarCategoryGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by __construct(), confirmDelete(), and uploadAppointments().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 749 of file class.ilCalendarCategoryGUI.php.
References $form, $location, $url, ilCalendarCategories\_getInstance(), ilCalendarSettings\_getInstance(), addReferenceLinks(), ILIAS\Repository\ctrl(), ILIAS\Repository\form(), ilUserUtil\getNamePresentation(), ILIAS\Repository\help(), isEditable(), ILIAS\Repository\lng(), ilCalendarCategory\LTYPE_LOCAL, ilCalendarCategory\LTYPE_REMOTE, ilFormPropertyGUI\setDisabled(), ilRadioGroupInputGUI\setValue(), ilColorPickerInputGUI\setValue(), ilCalendarCategory\TYPE_GLOBAL, ilCalendarCategory\TYPE_OBJ, and ilCalendarCategory\TYPE_USR.
Referenced by add(), edit(), save(), and update().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 1182 of file class.ilCalendarCategoryGUI.php.
References $form, ilPropertyFormGUI\addCommandButton(), ilPropertyFormGUI\addItem(), ILIAS\Repository\ctrl(), ILIAS\Repository\lng(), ilFileInputGUI\setAllowDeletion(), ilFormGUI\setFormAction(), and ilPropertyFormGUI\setTitle().
Referenced by importAppointments(), and uploadAppointments().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 119 of file class.ilCalendarCategoryGUI.php.
References ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
Referenced by confirmDelete(), and saveSelection().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilCalendarCategoryGUI::invitations | ( | ) | 
Definition at line 1243 of file class.ilCalendarCategoryGUI.php.
References addSubTabs(), and ilCalendarShared\getSharedCalendarsForUser().
 Here is the call graph for this function:
      
  | 
  private | 
Definition at line 1104 of file class.ilCalendarCategoryGUI.php.
References $editable.
Referenced by initFormCategory(), shareAssign(), shareAssignRoles(), shareDeassign(), shareSearch(), and update().
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 1109 of file class.ilCalendarCategoryGUI.php.
References $importable.
Referenced by importAppointments().
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 1137 of file class.ilCalendarCategoryGUI.php.
References ilToolbarGUI\addButton(), addSubTabs(), ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by confirmDelete(), and shareSearch().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 1036 of file class.ilCalendarCategoryGUI.php.
References ilObject\_getAllReferences(), ilCalendarSettings\_getInstance(), ILIAS\Repository\access(), ilCalendarShared\getSharedCalendarsForUser(), ilCalendarShared\isEditableForUser(), ilCalendarCategory\TYPE_BOOK, ilCalendarCategory\TYPE_CH, ilCalendarCategory\TYPE_GLOBAL, ilCalendarCategory\TYPE_OBJ, ilCalendarCategory\TYPE_USR, and ILIAS\Repository\user().
Referenced by details(), edit(), importAppointments(), shareAssign(), shareAssignRoles(), shareDeassign(), shareSearch(), unshare(), and update().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 187 of file class.ilCalendarCategoryGUI.php.
References Vendor\Package\$e, $GLOBALS, add(), ilPropertyFormGUI\checkInput(), ILIAS\Repository\ctrl(), doSynchronisation(), ILIAS\Survey\Mode\getId(), ilPropertyFormGUI\getInput(), initFormCategory(), ILIAS\Repository\lng(), ilCalendarCategory\LTYPE_REMOTE, ilPropertyFormGUI\setValuesByPost(), ilCalendarCategory\TYPE_GLOBAL, ilCalendarCategory\TYPE_USR, and ILIAS\Repository\user().
 Here is the call graph for this function:| ilCalendarCategoryGUI::saveSelection | ( | ) | 
Definition at line 386 of file class.ilCalendarCategoryGUI.php.
References $ref_id, ilCalendarCategories\_getInstance(), ilCalendarVisibility\_getInstanceByUserId(), ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), initSelectedCategoryIdsFromPost(), ILIAS\Repository\int(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), and ILIAS\Repository\user().
 Here is the call graph for this function:| ilCalendarCategoryGUI::shareAssign | ( | $a_editable = false | ) | 
Definition at line 567 of file class.ilCalendarCategoryGUI.php.
References $user_id, ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), isEditable(), ILIAS\Repository\lng(), readPermissions(), ILIAS\Repository\refinery(), sharePerformSearch(), shareSearch(), ilCalendarShared\TYPE_USR, and ILIAS\Repository\user().
Referenced by shareAssignEditable().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilCalendarCategoryGUI::shareAssignEditable | ( | ) | 
Share with write access.
Definition at line 562 of file class.ilCalendarCategoryGUI.php.
References shareAssign().
 Here is the call graph for this function:| ilCalendarCategoryGUI::shareAssignRoles | ( | bool | $a_editable = false | ) | 
Definition at line 611 of file class.ilCalendarCategoryGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), isEditable(), ILIAS\Repository\lng(), readPermissions(), ILIAS\Repository\refinery(), sharePerformSearch(), shareSearch(), and ilCalendarShared\TYPE_ROLE.
Referenced by shareAssignRolesEditable().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 606 of file class.ilCalendarCategoryGUI.php.
References shareAssignRoles().
 Here is the call graph for this function:| ilCalendarCategoryGUI::shareDeassign | ( | ) | 
Definition at line 650 of file class.ilCalendarCategoryGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), isEditable(), ILIAS\Repository\lng(), readPermissions(), ILIAS\Repository\refinery(), and shareSearch().
 Here is the call graph for this function:| ilCalendarCategoryGUI::sharePerformSearch | ( | ) | 
Definition at line 467 of file class.ilCalendarCategoryGUI.php.
References $res, ilObjectSearchFactory\_getUserSearchInstance(), ILIAS\Repository\ctrl(), ilSession\get(), getSearchToolbar(), ILIAS\FileDelivery\http(), ILIAS\Repository\int(), ILIAS\Repository\lng(), ilQueryParser\QP_COMBINATION_OR, ILIAS\Repository\refinery(), ROOT_FOLDER_ID, ilSession\set(), shareSearch(), showRoleList(), showUserList(), ilUtil\stripSlashes(), and ILIAS\Repository\tabs().
Referenced by shareAssign(), and shareAssignRoles().
 Here is the call graph for this function:
 Here is the caller graph for this function:| ilCalendarCategoryGUI::shareSearch | ( | ) | 
Definition at line 440 of file class.ilCalendarCategoryGUI.php.
References ilSession\clear(), ILIAS\Repository\ctrl(), getSearchToolbar(), isEditable(), ILIAS\Repository\lng(), manage(), readPermissions(), and ILIAS\Repository\tabs().
Referenced by shareAssign(), shareAssignRoles(), shareDeassign(), and sharePerformSearch().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 912 of file class.ilCalendarCategoryGUI.php.
References ilCalendarCategoryAssignments\_getAssignedAppointments(), ilCalendarCategories\_getInstance(), and ILIAS\Repository\lng().
Referenced by details().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 698 of file class.ilCalendarCategoryGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by sharePerformSearch().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 688 of file class.ilCalendarCategoryGUI.php.
References ILIAS\Repository\ctrl(), and ILIAS\Repository\lng().
Referenced by sharePerformSearch().
 Here is the call graph for this function:
 Here is the caller graph for this function:
      
  | 
  protected | 
Definition at line 1021 of file class.ilCalendarCategoryGUI.php.
References ilCalendarUserSettings\_getInstance(), ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), and ILIAS\Repository\refinery().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 274 of file class.ilCalendarCategoryGUI.php.
References Vendor\Package\$e, ILIAS\Repository\ctrl(), doSynchronisation(), and ILIAS\Repository\lng().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 889 of file class.ilCalendarCategoryGUI.php.
References $category_id, checkVisible(), ILIAS\Repository\ctrl(), ilCalendarShared\isSharedWithUser(), ILIAS\Repository\lng(), readPermissions(), and ILIAS\Repository\user().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 300 of file class.ilCalendarCategoryGUI.php.
References ilPropertyFormGUI\checkInput(), ILIAS\Repository\ctrl(), edit(), ilPropertyFormGUI\getInput(), initFormCategory(), isEditable(), ILIAS\Repository\lng(), readPermissions(), ilPropertyFormGUI\setValuesByPost(), and ilCalendarCategory\TYPE_OBJ.
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 1197 of file class.ilCalendarCategoryGUI.php.
References ilPropertyFormGUI\checkInput(), ILIAS\Repository\ctrl(), doImportFile(), ilPropertyFormGUI\getInput(), ilFileUtils\ilTempnam(), initCategoryIdFromQuery(), initImportForm(), ILIAS\Repository\lng(), and ilFileUtils\moveUploadedFile().
 Here is the call graph for this function:
      
  | 
  protected | 
Definition at line 55 of file class.ilCalendarCategoryGUI.php.
      
  | 
  protected | 
Definition at line 46 of file class.ilCalendarCategoryGUI.php.
      
  | 
  private | 
Definition at line 41 of file class.ilCalendarCategoryGUI.php.
Referenced by unshare().
      
  | 
  protected | 
Definition at line 48 of file class.ilCalendarCategoryGUI.php.
      
  | 
  private | 
Definition at line 38 of file class.ilCalendarCategoryGUI.php.
Referenced by isEditable().
      
  | 
  protected | 
Definition at line 43 of file class.ilCalendarCategoryGUI.php.
Referenced by initFormCategory(), and initImportForm().
      
  | 
  protected | 
Definition at line 54 of file class.ilCalendarCategoryGUI.php.
      
  | 
  protected | 
Definition at line 58 of file class.ilCalendarCategoryGUI.php.
      
  | 
  private | 
Definition at line 40 of file class.ilCalendarCategoryGUI.php.
Referenced by isImportable().
      
  | 
  protected | 
Definition at line 49 of file class.ilCalendarCategoryGUI.php.
      
  | 
  private | 
Definition at line 37 of file class.ilCalendarCategoryGUI.php.
      
  | 
  protected | 
Definition at line 56 of file class.ilCalendarCategoryGUI.php.
      
  | 
  private | 
Definition at line 36 of file class.ilCalendarCategoryGUI.php.
Referenced by saveSelection().
      
  | 
  protected | 
Definition at line 59 of file class.ilCalendarCategoryGUI.php.
      
  | 
  protected | 
Definition at line 45 of file class.ilCalendarCategoryGUI.php.
Referenced by __construct().
      
  | 
  protected | 
Definition at line 50 of file class.ilCalendarCategoryGUI.php.
      
  | 
  protected | 
Definition at line 53 of file class.ilCalendarCategoryGUI.php.
      
  | 
  protected | 
Definition at line 51 of file class.ilCalendarCategoryGUI.php.
      
  | 
  protected | 
Definition at line 57 of file class.ilCalendarCategoryGUI.php.
      
  | 
  protected | 
Definition at line 52 of file class.ilCalendarCategoryGUI.php.
      
  | 
  private | 
Definition at line 35 of file class.ilCalendarCategoryGUI.php.
Referenced by shareAssign().
      
  | 
  private | 
Definition at line 39 of file class.ilCalendarCategoryGUI.php.
      
  | 
  protected | 
Definition at line 33 of file class.ilCalendarCategoryGUI.php.
      
  | 
  protected | 
Definition at line 32 of file class.ilCalendarCategoryGUI.php.