|
ILIAS
release_8 Revision v8.24
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Inheritance diagram for ilCalendarSelectionBlockGUI:
Collaboration diagram for ilCalendarSelectionBlockGUI:Public Member Functions | |
| __construct (ilDate $a_seed, int $a_ref_id=0) | |
| Constructor. More... | |
| getBlockType () | |
| @inheritDoc More... | |
| executeCommand () | |
| getCalendars () | |
| Get calendars. More... | |
| getHTML () | |
| @inheritDoc 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 () | |
| correctOffset () | |
| 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="") | |
| getBlockCommands () | |
| getHTML () | |
| fillHeaderCommands () | |
| fillHeaderTitleBlock () | |
| setDataSection (string $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 (array $a_set) | |
| fillFooter () | |
| fillPreviousNext () | |
| setPreviousNextLinks () | |
| getAsynch () | |
| Use this for final get before sending asynchronous output (ajax) per echo to output. More... | |
| getPaginationViewControl () | |
| Fill previous/next row. More... | |
| getHTMLNew () | |
| getNoItemFoundContent () | |
Static Public Member Functions | |
| static | getScreenMode () |
| @inheritDoc More... | |
| static | getScreenMode () |
Static Public Attributes | |
| static string | $block_type = "cal_sel" |
Protected Member Functions | ||||
| isRepositoryObject () | ||||
| @inheritDoc More... | ||||
| buildPath ($a_ref_id) | ||||
| Build path for ref id. More... | ||||
| getLegacyContent () | ||||
| Get legacy content. More... | ||||
| renderItem (array $a_set, ilTemplate $a_tpl) | ||||
| getListItemForData (array $data) | ||||
Get list item for data array.
| ||||
Protected Member Functions inherited from ilBlockGUI | ||||
| isRepositoryObject () | ||||
| Returns whether block has a corresponding repository object. More... | ||||
| specialCharsAsEntities (string $string) | ||||
| initCommands () | ||||
| fillRowColor (string $a_placeholder="CSS_ROW") | ||||
| preloadData (array $data) | ||||
| Can be overwritten in subclasses. More... | ||||
| getLegacyContent () | ||||
| Get legacy content. More... | ||||
| getViewControls () | ||||
| Get view controls. 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... | ||||
| 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" |
| bool | $new_rendering = true |
| 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 | |
| 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 |
| bool | $new_rendering = false |
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 |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning BlockGUI class calendar selection.
Definition at line 31 of file class.ilCalendarSelectionBlockGUI.php.
| ilCalendarSelectionBlockGUI::__construct | ( | ilDate | $a_seed, |
| int | $a_ref_id = 0 |
||
| ) |
Constructor.
Definition at line 68 of file class.ilCalendarSelectionBlockGUI.php.
References $DIC, ILIAS\GlobalScreen\Provider\__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 281 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 163 of file class.ilCalendarSelectionBlockGUI.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:| ilCalendarSelectionBlockGUI::getBlockType | ( | ) |
@inheritDoc
Reimplemented from ilBlockGUI.
Definition at line 146 of file class.ilCalendarSelectionBlockGUI.php.
References $block_type.
| ilCalendarSelectionBlockGUI::getCalendars | ( | ) |
Get calendars.
Definition at line 176 of file class.ilCalendarSelectionBlockGUI.php.
References $ref_id, ilObject\_getAllReferences(), ilCalendarUserSettings\_getInstance(), ilCalendarVisibility\_getInstanceByUserId(), ilObject\_lookupType(), ILIAS\Repository\access(), buildPath(), CAL_GRP_CURRENT_CONT, CAL_GRP_CURRENT_CONT_CONS, CAL_GRP_OTHERS, CAL_GRP_PERSONAL, ilCalendarUserSettings\CAL_SELECTION_MEMBERSHIP, 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 | ( | ) |
@inheritDoc
Reimplemented from ilBlockGUI.
Definition at line 456 of file class.ilCalendarSelectionBlockGUI.php.
References getCalendars().
Here is the call graph for this function:
|
protected |
Get legacy content.
Reimplemented from ilBlockGUI.
Definition at line 305 of file class.ilCalendarSelectionBlockGUI.php.
References $c, ilBlockGUI\$tpl, $txt, $type, 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 |
Get list item for data array.
| array | $data |
Reimplemented from ilBlockGUI.
Definition at line 465 of file class.ilCalendarSelectionBlockGUI.php.
References ilBlockGUI\$data, $factory, and ILIAS\Repository\ui().
Here is the call graph for this function:
|
static |
@inheritDoc
Reimplemented from ilBlockGUI.
Definition at line 154 of file class.ilCalendarSelectionBlockGUI.php.
References $DIC, and IL_SCREEN_SIDE.
|
protected |
@inheritDoc
Reimplemented from ilBlockGUI.
Definition at line 138 of file class.ilCalendarSelectionBlockGUI.php.
|
protected |
Definition at line 336 of file class.ilCalendarSelectionBlockGUI.php.
References ilLink\_getLink(), 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 33 of file class.ilCalendarSelectionBlockGUI.php.
Referenced by getBlockType().
|
protected |
Definition at line 51 of file class.ilCalendarSelectionBlockGUI.php.
|
protected |
Definition at line 52 of file class.ilCalendarSelectionBlockGUI.php.
|
protected |
Definition at line 63 of file class.ilCalendarSelectionBlockGUI.php.
|
protected |
Definition at line 47 of file class.ilCalendarSelectionBlockGUI.php.
|
protected |
Definition at line 43 of file class.ilCalendarSelectionBlockGUI.php.
|
protected |
Definition at line 62 of file class.ilCalendarSelectionBlockGUI.php.
|
protected |
Definition at line 57 of file class.ilCalendarSelectionBlockGUI.php.
Referenced by getCalendars().
|
protected |
Definition at line 46 of file class.ilCalendarSelectionBlockGUI.php.
|
protected |
Definition at line 50 of file class.ilCalendarSelectionBlockGUI.php.
|
protected |
Definition at line 45 of file class.ilCalendarSelectionBlockGUI.php.
|
protected |
Definition at line 36 of file class.ilCalendarSelectionBlockGUI.php.
Referenced by getCalendars().
|
protected |
Definition at line 35 of file class.ilCalendarSelectionBlockGUI.php.
Referenced by getCalendars().
|
protected |
Definition at line 38 of file class.ilCalendarSelectionBlockGUI.php.
Referenced by getCalendars().
|
protected |
Definition at line 37 of file class.ilCalendarSelectionBlockGUI.php.
Referenced by getCalendars().