|
ILIAS
release_8 Revision v8.24
|
BlockGUI class for Personal Desktop Mail block. More...
Inheritance diagram for ilPDMailBlockGUI:
Collaboration diagram for ilPDMailBlockGUI:Public Member Functions | |
| __construct () | |
| getBlockType () | |
| executeCommand () | |
| getHTML () | |
| fillDataSection () | |
| Standard implementation for row based data. More... | |
| fillRow (array $a_set) | |
| deleteMail () | |
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 () |
| static | getScreenMode () |
Static Public Attributes | |
| static string | $block_type = 'pdmail' |
Protected Member Functions | |
| isRepositoryObject () | |
| Returns whether block has a corresponding repository object. More... | |
| getMails () | |
| getOverview () | |
| showMail () | |
| preloadData (array $data) | |
| Can be overwritten in subclasses. More... | |
| getListItemForData (array $data) | |
| Get list item for data array. More... | |
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 | |
| ilRbacSystem | $rbacsystem |
| ilSetting | $setting |
| array | $mails = [] |
| int | $inbox |
| bool | $new_rendering = true |
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 |
Private Attributes | |
| GlobalHttpState | $http |
| Refinery | $refinery |
| int | $requestMailObjId = 0 |
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 for Personal Desktop Mail block.
Definition at line 30 of file class.ilPDMailBlockGUI.php.
| ilPDMailBlockGUI::__construct | ( | ) |
Reimplemented from ilBlockGUI.
Definition at line 42 of file class.ilPDMailBlockGUI.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), ilBlockGUI\setLimit(), ilBlockGUI\setPresentation(), ilBlockGUI\setTitle(), and ILIAS\Repository\user().
Here is the call graph for this function:| ilPDMailBlockGUI::deleteMail | ( | ) |
Definition at line 217 of file class.ilPDMailBlockGUI.php.
References ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), ILIAS\Repository\refinery(), and ILIAS\Repository\user().
Here is the call graph for this function:| ilPDMailBlockGUI::executeCommand | ( | ) |
Definition at line 84 of file class.ilPDMailBlockGUI.php.
References ILIAS\Repository\ctrl().
Here is the call graph for this function:| ilPDMailBlockGUI::fillDataSection | ( | ) |
Standard implementation for row based data.
Overwrite this and call setContent for other data.
Reimplemented from ilBlockGUI.
Definition at line 118 of file class.ilPDMailBlockGUI.php.
References getMails(), getOverview(), ilBlockGUI\setData(), ilBlockGUI\setDataSection(), ilBlockGUI\setEnableNumInfo(), and ilBlockGUI\setRowTemplate().
Here is the call graph for this function:| ilPDMailBlockGUI::fillRow | ( | array | $a_set | ) |
Reimplemented from ilBlockGUI.
Definition at line 132 of file class.ilPDMailBlockGUI.php.
References ilBlockGUI\$user, ANONYMOUS_USER_ID, ILIAS\Repository\ctrl(), ilDatePresentation\formatDate(), ilObject\getId(), ilUtil\getImagePath(), ilObjUser\getPersonalPicturePath(), ilObjUser\getPublicName(), ilMailUserCache\getUserObjectById(), IL_CAL_DATE, and ILIAS\Repository\lng().
Here is the call graph for this function:| ilPDMailBlockGUI::getBlockType | ( | ) |
Reimplemented from ilBlockGUI.
Definition at line 60 of file class.ilPDMailBlockGUI.php.
References $block_type.
| ilPDMailBlockGUI::getHTML | ( | ) |
Reimplemented from ilBlockGUI.
Definition at line 91 of file class.ilPDMailBlockGUI.php.
References getMails(), ilBlockGUI\setData(), and ILIAS\Repository\user().
Here is the call graph for this function:
|
protected |
Get list item for data array.
| array | $data |
Reimplemented from ilBlockGUI.
Definition at line 267 of file class.ilPDMailBlockGUI.php.
References ilBlockGUI\$data, Vendor\Package\$f, ilBlockGUI\$user, ANONYMOUS_USER_ID, ILIAS\Repository\ctrl(), ilDatePresentation\formatDate(), ilObject\getId(), ilUtil\getImagePath(), ilObjUser\getPersonalPicturePath(), ilObjUser\getPublicName(), ilMailUserCache\getUserObjectById(), IL_CAL_DATE, ILIAS\Repository\lng(), and ILIAS\Repository\ui().
Here is the call graph for this function:
|
protected |
Definition at line 104 of file class.ilPDMailBlockGUI.php.
References ILIAS\Repository\user().
Referenced by fillDataSection(), and getHTML().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 171 of file class.ilPDMailBlockGUI.php.
References ILIAS\Repository\lng().
Referenced by fillDataSection().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Reimplemented from ilBlockGUI.
Definition at line 70 of file class.ilPDMailBlockGUI.php.
References $DIC, IL_SCREEN_CENTER, and IL_SCREEN_SIDE.
|
protected |
Returns whether block has a corresponding repository object.
Reimplemented from ilBlockGUI.
Definition at line 65 of file class.ilPDMailBlockGUI.php.
|
protected |
Can be overwritten in subclasses.
Only the visible part of the complete data was passed so a preload of the visible data is possible.
| array | $data |
Reimplemented from ilBlockGUI.
Definition at line 248 of file class.ilPDMailBlockGUI.php.
References ilBlockGUI\$data, ANONYMOUS_USER_ID, and ilMailUserCache\preloadUserObjects().
Here is the call graph for this function:
|
protected |
Definition at line 176 of file class.ilPDMailBlockGUI.php.
References $requestMailObjId, ILIAS\Repository\ctrl(), ILIAS\FileDelivery\http(), ILIAS\Repository\lng(), and ILIAS\Repository\refinery().
Here is the call graph for this function:
|
static |
Definition at line 32 of file class.ilPDMailBlockGUI.php.
Referenced by getBlockType().
|
private |
Definition at line 33 of file class.ilPDMailBlockGUI.php.
|
protected |
Definition at line 40 of file class.ilPDMailBlockGUI.php.
|
protected |
Definition at line 39 of file class.ilPDMailBlockGUI.php.
|
protected |
Definition at line 265 of file class.ilPDMailBlockGUI.php.
|
protected |
Definition at line 36 of file class.ilPDMailBlockGUI.php.
|
private |
Definition at line 34 of file class.ilPDMailBlockGUI.php.
|
private |
Definition at line 35 of file class.ilPDMailBlockGUI.php.
Referenced by showMail().
|
protected |
Definition at line 37 of file class.ilPDMailBlockGUI.php.