|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
BlockGUI class calendar selection. More...
Inheritance diagram for ilCalendarSelectionBlockGUI:
Collaboration diagram for ilCalendarSelectionBlockGUI:Public Member Functions | |
| __construct (ilDate $a_seed, int $a_ref_id=0) | |
| Constructor. More... | |
| getBlockType () | |
| executeCommand () | |
| getCalendars () | |
| Get calendars. More... | |
| getHTML () | |
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 () |
Static Public Member Functions inherited from ilBlockGUI | |
| static | getScreenMode () |
Static Public Attributes | |
| static string | $block_type = "cal_sel" |
Protected Member Functions | |
| isRepositoryObject () | |
| buildPath ($a_ref_id) | |
| Build path for ref id. More... | |
| getLegacyContent () | |
| renderItem (array $a_set, ilTemplate $a_tpl) | |
| getListItemForData (array $data) | |
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... | |
Protected Attributes | |
| const | CAL_GRP_CURRENT_CONT_CONS = "curr_cont_cons" |
| const | CAL_GRP_CURRENT_CONT = "curr_cont" |
| const | CAL_GRP_PERSONAL = "personal" |
| const | CAL_GRP_OTHERS = "others" |
| ilTree | $tree |
| RefineryFactory | $refinery |
| HttpServices | $http |
| ilDate | $seed |
| array | $calendar_groups = array() |
| array | $calendars = array() |
| int | $ref_id = 0 |
| int | $obj_id = 0 |
| int | $category_id = 0 |
Protected Attributes inherited from ilBlockGUI | |
| ILIAS UI Renderer | $renderer |
| Factory | $factory |
| object | $gui_object |
| ILIAS Block StandardGUIRequest | $request |
| ILIAS Block BlockManager | $block_manager |
| bool | $repositorymode = false |
| ILIAS DI UIServices | $ui |
| array | $data = array() |
| bool | $enablenuminfo = true |
| array | $footer_links = array() |
| string | $block_id = "0" |
| bool | $allow_moving = true |
| array | $move = array("left" => false, "right" => false, "up" => false, "down" => false) |
| array | $block_commands = array() |
| int | $max_count = 0 |
| bool | $close_command = false |
| bool | $image = false |
| array | $property = [] |
| string | $nav_value = "" |
| string | $css_row = "" |
| string | $title = "" |
| bool | $admincommands = false |
| array | $dropdown |
| ilTemplate | $tpl |
| ilGlobalTemplateInterface | $main_tpl |
| ilObjUser | $user |
| ilCtrl | $ctrl |
| ilAccessHandler | $access |
| ilLanguage | $lng |
| ilObjectDefinition | $obj_def |
| int | $presentation |
| int | $requested_ref_id |
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 |
BlockGUI class calendar selection.
Definition at line 30 of file class.ilCalendarSelectionBlockGUI.php.
| ilCalendarSelectionBlockGUI::__construct | ( | ilDate | $a_seed, |
| int | $a_ref_id = 0 |
||
| ) |
Constructor.
Definition at line 62 of file class.ilCalendarSelectionBlockGUI.php.
References $DIC, ILIAS\MetaData\Repository\Validation\Data\__construct(), ilCalendarUserSettings\_getInstance(), ilObject\_lookupObjId(), ilBlockGUI\addBlockCommand(), ilCalendarUserSettings\CAL_SELECTION_ITEMS, ilCalendarUserSettings\CAL_SELECTION_MEMBERSHIP, ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), IL_CAL_DATE, ILIAS\Repository\lng(), ILIAS\Repository\refinery(), ilBlockGUI\setLimit(), ilBlockGUI\setPresentation(), and ilBlockGUI\setTitle().
Here is the call graph for this function:
|
protected |
Build path for ref id.
Definition at line 275 of file class.ilCalendarSelectionBlockGUI.php.
References ilBlockGUI\$data, $path, ilObject\_lookupType(), and ROOT_FOLDER_ID.
Referenced by getCalendars().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCalendarSelectionBlockGUI::executeCommand | ( | ) |
Definition at line 157 of file class.ilCalendarSelectionBlockGUI.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:| ilCalendarSelectionBlockGUI::getBlockType | ( | ) |
Definition at line 140 of file class.ilCalendarSelectionBlockGUI.php.
| ilCalendarSelectionBlockGUI::getCalendars | ( | ) |
Get calendars.
Definition at line 170 of file class.ilCalendarSelectionBlockGUI.php.
References $ref_id, ilObject\_getAllReferences(), ilCalendarUserSettings\_getInstance(), ilCalendarVisibility\_getInstanceByUserId(), ilObject\_lookupType(), ILIAS\Repository\access(), buildPath(), ilCalendarUserSettings\CAL_SELECTION_MEMBERSHIP, ilCalendarCategories\initialize(), ILIAS\Repository\int(), ilCalendarCategory\lookupCategorySortIndex(), ilCalendarCategories\MODE_PERSONAL_DESKTOP_ITEMS, ilCalendarCategories\MODE_PERSONAL_DESKTOP_MEMBERSHIP, ilCalendarCategories\MODE_REPOSITORY, ilArrayUtil\sortArray(), ilCalendarCategory\TYPE_BOOK, ilCalendarCategory\TYPE_CH, ilCalendarCategory\TYPE_OBJ, ilCalendarCategory\TYPE_USR, and ILIAS\Repository\user().
Referenced by getHTML().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCalendarSelectionBlockGUI::getHTML | ( | ) |
Definition at line 450 of file class.ilCalendarSelectionBlockGUI.php.
References getCalendars().
Here is the call graph for this function:
|
protected |
Definition at line 299 of file class.ilCalendarSelectionBlockGUI.php.
References Vendor\Package\$c, ilBlockGUI\$tpl, $txt, ilObject\_lookupType(), ILIAS\Repository\ctrl(), ilTemplate\get(), ilUtil\getImagePath(), ILIAS\Repository\lng(), ilTemplate\parseCurrentBlock(), renderItem(), ilTemplate\setCurrentBlock(), and HTML_Template_IT\setVariable().
Here is the call graph for this function:
|
protected |
Definition at line 459 of file class.ilCalendarSelectionBlockGUI.php.
References ilBlockGUI\$factory, and ILIAS\Repository\ui().
Here is the call graph for this function:
|
static |
Definition at line 148 of file class.ilCalendarSelectionBlockGUI.php.
References $DIC, and IL_SCREEN_SIDE.
|
protected |
Definition at line 132 of file class.ilCalendarSelectionBlockGUI.php.
|
protected |
Definition at line 330 of file class.ilCalendarSelectionBlockGUI.php.
References ilObject\_lookupType(), ILIAS\Repository\ctrl(), ilUtil\getImagePath(), ILIAS\Repository\lng(), ilTemplate\parseCurrentBlock(), ilTemplate\setCurrentBlock(), HTML_Template_IT\setVariable(), ilCalendarCategory\TYPE_BOOK, ilCalendarCategory\TYPE_CH, ilCalendarCategory\TYPE_GLOBAL, ilCalendarCategory\TYPE_OBJ, and ilCalendarCategory\TYPE_USR.
Referenced by getLegacyContent().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 32 of file class.ilCalendarSelectionBlockGUI.php.
|
protected |
Definition at line 45 of file class.ilCalendarSelectionBlockGUI.php.
|
protected |
Definition at line 46 of file class.ilCalendarSelectionBlockGUI.php.
|
protected |
Definition at line 57 of file class.ilCalendarSelectionBlockGUI.php.
|
protected |
Definition at line 41 of file class.ilCalendarSelectionBlockGUI.php.
|
protected |
Definition at line 56 of file class.ilCalendarSelectionBlockGUI.php.
|
protected |
Definition at line 51 of file class.ilCalendarSelectionBlockGUI.php.
Referenced by getCalendars().
|
protected |
Definition at line 40 of file class.ilCalendarSelectionBlockGUI.php.
|
protected |
Definition at line 44 of file class.ilCalendarSelectionBlockGUI.php.
|
protected |
Definition at line 39 of file class.ilCalendarSelectionBlockGUI.php.
|
protected |
Definition at line 35 of file class.ilCalendarSelectionBlockGUI.php.
|
protected |
Definition at line 34 of file class.ilCalendarSelectionBlockGUI.php.
|
protected |
Definition at line 37 of file class.ilCalendarSelectionBlockGUI.php.
|
protected |
Definition at line 36 of file class.ilCalendarSelectionBlockGUI.php.