ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
This class represents a block method of a block. More...
Public Member Functions | |
getBlockType () | |
__construct () | |
Constructor. More... | |
setData ($a_data) | |
Set Data. More... | |
getData () | |
Get Data. More... | |
setPresentation (int $type) | |
Set presentation. More... | |
getPresentation () | |
Get presentation type. More... | |
setBlockId ($a_block_id=0) | |
Set Block Id. More... | |
getBlockId () | |
Get Block Id. More... | |
setGuiObject (&$a_gui_object) | |
Set GuiObject. More... | |
getGuiObject () | |
Get GuiObject. More... | |
setTitle ($a_title) | |
Set Title. More... | |
getTitle () | |
Get Title. More... | |
setOffset ($a_offset) | |
Set Offset. More... | |
getOffset () | |
Get Offset. More... | |
correctOffset () | |
setLimit ($a_limit) | |
Set Limit. More... | |
getLimit () | |
Get Limit. More... | |
setEnableEdit ($a_enableedit) | |
Set EnableEdit. More... | |
getEnableEdit () | |
Get EnableEdit. More... | |
setRepositoryMode ($a_repositorymode) | |
Set RepositoryMode. More... | |
getRepositoryMode () | |
Get RepositoryMode. More... | |
setSubtitle ($a_subtitle) | |
Set Subtitle. More... | |
getSubtitle () | |
Get Subtitle. More... | |
setRefId ($a_refid) | |
Set Ref Id (only used if isRepositoryObject() is true). More... | |
getRefId () | |
Get Ref Id (only used if isRepositoryObject() is true). More... | |
setAdminCommands (bool $a_admincommands) | |
Set Administration Commmands. More... | |
getAdminCommands () | |
Get Administration Commmands. More... | |
setEnableNumInfo ($a_enablenuminfo) | |
Set Enable Item Number Info. More... | |
getEnableNumInfo () | |
Get Enable Item Number Info. More... | |
setProperties ($a_properties) | |
This function is supposed to be used for block type specific properties, that should be inherited through ilColumnGUI->setBlockProperties. More... | |
getProperty ($a_property) | |
setProperty ($a_property, $a_value) | |
setRowTemplate ($a_rowtemplatename, $a_rowtemplatedir="") | |
Set Row Template Name. More... | |
getNavParameter () | |
getConfigParameter () | |
getMoveParameter () | |
getRowTemplateName () | |
Get Row Template Name. More... | |
getRowTemplateDir () | |
Get Row Template Directory. More... | |
addBlockCommand (string $a_href, string $a_text, string $a_onclick="") | |
Add Block Command. More... | |
getBlockCommands () | |
Get Block commands. More... | |
getHTML () | |
Get HTML. More... | |
fillHeaderCommands () | |
Fill header commands block. More... | |
fillHeaderTitleBlock () | |
Fill header title block (title and. More... | |
setDataSection ($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 ($a_set) | |
fillFooter () | |
fillPreviousNext () | |
Fill previous/next row. More... | |
setPreviousNextLinks () | |
Get previous/next linkbar. More... | |
getAsynch () | |
Use this for final get before sending asynchronous output (ajax) per echo to output. More... | |
getPaginationViewControl () | |
Fill previous/next row. More... | |
getHTMLNew () | |
Get HTML. More... | |
Static Public Member Functions | |
static | getScreenMode () |
Get Screen Mode for current command. More... | |
Data Fields | |
const | PRES_MAIN_LEG = 0 |
const | PRES_SEC_LEG = 1 |
const | PRES_SEC_LIST = 2 |
const | PRES_MAIN_LIST = 3 |
Protected Member Functions | |
isRepositoryObject () | |
Returns whether block has a corresponding repository object. More... | |
initCommands () | |
Init commands. More... | |
fillRowColor ($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... | |
getNoItemFoundContent () | |
No item entry. More... | |
Protected Attributes | |
$ui | |
$data = array() | |
$enablenuminfo = true | |
$footer_links = array() | |
$block_id = 0 | |
$allow_moving = true | |
$move = array("left" => false, "right" => false, "up" => false, "down" => false) | |
$block_commands = array() | |
$max_count = false | |
$close_command = false | |
$image = false | |
$property = false | |
$nav_value = "" | |
$css_row = "" | |
$title = "" | |
$admincommands = false | |
$dropdown | |
$tpl | |
$main_tpl | |
$user | |
$ctrl | |
$access | |
$lng | |
$obj_def | |
$presentation | |
$new_rendering = false | |
This class represents a block method of a block.
Definition at line 12 of file class.ilBlockGUI.php.
ilBlockGUI::__construct | ( | ) |
Constructor.
Reimplemented in ilExternalFeedBlockGUI, ilPollBlockGUI, ilPDStudyProgrammeExpandableListGUI, ilPDStudyProgrammeSimpleListGUI, ilWikiFunctionsBlockGUI, ilWikiImportantPagesBlockGUI, ilCalendarBlockGUI, ilPDCalendarBlockGUI, ilClassificationBlockGUI, ilDashboardContentBlockGUI, ilPDSelectedItemsBlockGUI, ilPDMailBlockGUI, ilNewsForContextBlockGUI, ilPDNewsBlockGUI, and ilPDTasksBlockGUI.
Definition at line 108 of file class.ilBlockGUI.php.
References $DIC, ilYuiUtil\initConnection(), PRES_SEC_LEG, setLimit(), ui(), and user().
Referenced by ilPDNewsBlockGUI\__construct().
ilBlockGUI::addBlockCommand | ( | string | $a_href, |
string | $a_text, | ||
string | $a_onclick = "" |
||
) |
Add Block Command.
string | $a_href | |
string | $a_text | |
string | $a_onclick |
Definition at line 477 of file class.ilBlockGUI.php.
Referenced by ilCalendarSelectionBlockGUI\__construct(), addRepoCommands(), ilWikiImportantPagesBlockGUI\getHTML(), ilExternalFeedBlockGUI\getHTML(), ilPollBlockGUI\getHTML(), getHTML(), ilCalendarBlockGUI\getHTML(), ilNewsForContextBlockGUI\getHTML(), ilPDNewsBlockGUI\getHTML(), ilPDSelectedItemsBlockGUI\getLegacyContent(), ilPDSelectedItemsBlockGUI\getListItemGroups(), ilCalendarBlockGUI\initCommands(), ilPDSelectedItemsBlockGUI\renderManageList(), and ilPDSelectedItemsBlockGUI\setFooterLinks().
|
protected |
Add repo commands.
Definition at line 1098 of file class.ilBlockGUI.php.
References $_GET, $access, $ctrl, $lng, $obj_def, ilObject\_lookupType(), addBlockCommand(), getRefId(), getRepositoryMode(), and isRepositoryObject().
Referenced by getHTMLNew().
ilBlockGUI::correctOffset | ( | ) |
Definition at line 255 of file class.ilBlockGUI.php.
References setOffset().
Referenced by fillDataSection(), and loadData().
ilBlockGUI::fillDataSection | ( | ) |
Standard implementation for row based data.
Overwrite this and call setContent for other data.
Reimplemented in ilExternalFeedBlockGUI, ilPollBlockGUI, ilPDStudyProgrammeSimpleListGUI, ilWikiFunctionsBlockGUI, ilWikiImportantPagesBlockGUI, ilCalendarBlockGUI, ilCalendarSelectionBlockGUI, ilClassificationBlockGUI, ilDashboardContentBlockGUI, ilPDSelectedItemsBlockGUI, ilPDMailBlockGUI, ilNewsForContextBlockGUI, ilPDNewsBlockGUI, ilObjectMetaDataBlockGUI, ilRepositoryObjectSearchBlockGUI, and ilPDTasksBlockGUI.
Definition at line 718 of file class.ilBlockGUI.php.
References $_GET, $_POST, $_SESSION, $data, $nav_value, correctOffset(), fillRow(), fillRowColor(), getData(), getLimit(), getNavParameter(), getOffset(), getRowTemplateDir(), getRowTemplateName(), preloadData(), and setOffset().
Referenced by ilCalendarBlockGUI\fillDataSection(), and getHTML().
ilBlockGUI::fillFooter | ( | ) |
Reimplemented in ilCalendarBlockGUI, ilDashboardContentBlockGUI, and ilPDSelectedItemsBlockGUI.
Definition at line 767 of file class.ilBlockGUI.php.
Referenced by getHTML().
ilBlockGUI::fillHeaderCommands | ( | ) |
Fill header commands block.
Definition at line 637 of file class.ilBlockGUI.php.
References $dropdown, getBlockType(), ilUtil\getImagePath(), ilAdvancedSelectionListGUI\ICON_CONFIG, and ilAdvancedSelectionListGUI\STYLE_LINK_BUTTON.
Referenced by getHTML().
ilBlockGUI::fillHeaderTitleBlock | ( | ) |
Fill header title block (title and.
Definition at line 677 of file class.ilBlockGUI.php.
References $lng, getBlockType(), and getTitle().
Referenced by getHTML().
ilBlockGUI::fillPreviousNext | ( | ) |
Fill previous/next row.
Reimplemented in ilDashboardContentBlockGUI.
Definition at line 782 of file class.ilBlockGUI.php.
References $lng, $max_count, getEnableNumInfo(), getLimit(), getOffset(), and setPreviousNextLinks().
Referenced by getHTML().
ilBlockGUI::fillRow | ( | $a_set | ) |
Reimplemented in ilPollBlockGUI, ilPDTasksBlockGUI, ilNewsForContextBlockGUI, ilExternalFeedBlockGUI, and ilPDMailBlockGUI.
Definition at line 760 of file class.ilBlockGUI.php.
Referenced by fillDataSection().
|
finalprotected |
Definition at line 771 of file class.ilBlockGUI.php.
Referenced by fillDataSection().
ilBlockGUI::getAdminCommands | ( | ) |
Get Administration Commmands.
Definition at line 378 of file class.ilBlockGUI.php.
References $admincommands.
Referenced by getHTML().
ilBlockGUI::getAsynch | ( | ) |
Use this for final get before sending asynchronous output (ajax) per echo to output.
Definition at line 926 of file class.ilBlockGUI.php.
ilBlockGUI::getBlockCommands | ( | ) |
Get Block commands.
Definition at line 491 of file class.ilBlockGUI.php.
References $block_commands.
Referenced by getHTML(), and getHTMLNew().
ilBlockGUI::getBlockId | ( | ) |
Get Block Id.
Definition at line 186 of file class.ilBlockGUI.php.
References $block_id.
Referenced by ilCalendarBlockGUI\__construct(), getConfigParameter(), ilExternalFeedBlockGUI\getDynamicReload(), ilNewsForContextBlockGUI\getDynamicReload(), ilExternalFeedBlockGUI\getHTML(), ilExternalFeedBlockGUI\getJSEnabler(), ilNewsForContextBlockGUI\getJSEnabler(), getMoveParameter(), getNavParameter(), and ilCalendarBlockGUI\setSeed().
|
abstract |
Reimplemented in ilExternalFeedBlockGUI, ilPollBlockGUI, ilPDStudyProgrammeSimpleListGUI, ilWikiFunctionsBlockGUI, ilWikiImportantPagesBlockGUI, ilCalendarBlockGUI, ilCalendarSelectionBlockGUI, ilPDCalendarBlockGUI, ilClassificationBlockGUI, ilDashboardContentBlockGUI, ilPDSelectedItemsBlockGUI, ilPDMailBlockGUI, ilNewsForContextBlockGUI, ilPDNewsBlockGUI, ilObjectMetaDataBlockGUI, ilRepositoryObjectSearchBlockGUI, and ilPDTasksBlockGUI.
Referenced by fillHeaderCommands(), fillHeaderTitleBlock(), getConfigParameter(), getHTML(), getHTMLNew(), getMoveParameter(), getNavParameter(), getPaginationViewControl(), and setPreviousNextLinks().
|
final |
Definition at line 440 of file class.ilBlockGUI.php.
References getBlockId(), and getBlockType().
ilBlockGUI::getData | ( | ) |
Get Data.
Reimplemented in ilCalendarBlockGUI.
Definition at line 146 of file class.ilBlockGUI.php.
References $data.
Referenced by ilExternalFeedBlockGUI\fillDataSection(), fillDataSection(), ilNewsForContextBlockGUI\fillDataSection(), ilPDNewsBlockGUI\fillDataSection(), ilNewsForContextBlockGUI\getHTML(), ilPollBlockGUI\getLegacyContent(), ilExternalFeedBlockGUI\getOverview(), ilNewsForContextBlockGUI\getOverview(), loadData(), and ilNewsForContextBlockGUI\showNews().
ilBlockGUI::getEnableEdit | ( | ) |
Get EnableEdit.
Reimplemented in ilCalendarBlockGUI, and ilNewsForContextBlockGUI.
Definition at line 297 of file class.ilBlockGUI.php.
ilBlockGUI::getEnableNumInfo | ( | ) |
Get Enable Item Number Info.
Definition at line 398 of file class.ilBlockGUI.php.
References $enablenuminfo.
Referenced by ilDashboardContentBlockGUI\fillFooter(), and fillPreviousNext().
ilBlockGUI::getGuiObject | ( | ) |
Get GuiObject.
Reimplemented in ilExternalFeedBlockGUI.
Definition at line 209 of file class.ilBlockGUI.php.
ilBlockGUI::getHTML | ( | ) |
Get HTML.
Reimplemented in ilExternalFeedBlockGUI, ilPollBlockGUI, ilPDStudyProgrammeSimpleListGUI, ilWikiFunctionsBlockGUI, ilCalendarBlockGUI, ilCalendarSelectionBlockGUI, ilClassificationBlockGUI, ilDashboardContentBlockGUI, ilPDSelectedItemsBlockGUI, ilPDMailBlockGUI, ilNewsForContextBlockGUI, ilPDNewsBlockGUI, and ilRepositoryObjectSearchBlockGUI.
Definition at line 517 of file class.ilBlockGUI.php.
References $_GET, $access, $ctrl, $ilCtrl, $ilUser, $lng, $obj_def, $user, ilObject\_lookupType(), addBlockCommand(), fillDataSection(), fillFooter(), fillHeaderCommands(), fillHeaderTitleBlock(), fillPreviousNext(), getAdminCommands(), getBlockCommands(), getBlockType(), getHTMLNew(), getPresentation(), getRefId(), getRepositoryMode(), initCommands(), and isRepositoryObject().
Referenced by ilPDNewsBlockGUI\getHTML().
ilBlockGUI::getHTMLNew | ( | ) |
Get HTML.
Reimplemented in ilPDTasksBlockGUI.
Definition at line 1153 of file class.ilBlockGUI.php.
References $access, $ctrl, $DIC, $factory, addRepoCommands(), exit, getBlockCommands(), getBlockType(), getListItemGroups(), getNoItemFoundContent(), getPresentation(), getTitle(), getViewControls(), handleNavigation(), isRepositoryObject(), PRES_MAIN_LEG, PRES_MAIN_LIST, PRES_SEC_LEG, and PRES_SEC_LIST.
Referenced by getHTML().
|
protected |
Get legacy content.
Reimplemented in ilPollBlockGUI, ilWikiFunctionsBlockGUI, ilWikiImportantPagesBlockGUI, ilCalendarBlockGUI, ilCalendarSelectionBlockGUI, ilClassificationBlockGUI, ilPDSelectedItemsBlockGUI, ilObjectMetaDataBlockGUI, and ilRepositoryObjectSearchBlockGUI.
Definition at line 945 of file class.ilBlockGUI.php.
ilBlockGUI::getLimit | ( | ) |
Get Limit.
Definition at line 277 of file class.ilBlockGUI.php.
Referenced by fillDataSection(), fillPreviousNext(), getPaginationViewControl(), handleNavigation(), loadData(), and setPreviousNextLinks().
|
protected |
Get list item for data array.
array | $data |
Reimplemented in ilExternalFeedBlockGUI, ilCalendarBlockGUI, ilCalendarSelectionBlockGUI, ilNewsForContextBlockGUI, ilPDTasksBlockGUI, and ilPDMailBlockGUI.
Definition at line 972 of file class.ilBlockGUI.php.
Referenced by getListItemGroups(), and ilPDSelectedItemsBlockGUI\getListItemGroups().
|
protected |
Get items.
Reimplemented in ilPDSelectedItemsBlockGUI.
Definition at line 1023 of file class.ilBlockGUI.php.
References $data, $DIC, $factory, getListItemForData(), and loadData().
Referenced by getHTMLNew().
|
final |
Definition at line 445 of file class.ilBlockGUI.php.
References getBlockId(), and getBlockType().
|
final |
Definition at line 435 of file class.ilBlockGUI.php.
References getBlockId(), and getBlockType().
Referenced by fillDataSection(), getPaginationViewControl(), handleNavigation(), and setPreviousNextLinks().
|
protected |
No item entry.
Reimplemented in ilCalendarBlockGUI, ilPDMembershipBlockGUI, ilPDSelectedItemsBlockGUI, ilNewsForContextBlockGUI, and ilPDTasksBlockGUI.
Definition at line 1286 of file class.ilBlockGUI.php.
Referenced by getHTMLNew().
ilBlockGUI::getOffset | ( | ) |
Get Offset.
Definition at line 250 of file class.ilBlockGUI.php.
Referenced by fillDataSection(), fillPreviousNext(), getPaginationViewControl(), loadData(), and setPreviousNextLinks().
ilBlockGUI::getPaginationViewControl | ( | ) |
Fill previous/next row.
Definition at line 1047 of file class.ilBlockGUI.php.
References $block_id, $ctrl, $DIC, $factory, $ilCtrl, getBlockType(), getLimit(), getNavParameter(), and getOffset().
Referenced by getViewControls().
ilBlockGUI::getPresentation | ( | ) |
Get presentation type.
Definition at line 166 of file class.ilBlockGUI.php.
References $presentation.
Referenced by getHTML(), getHTMLNew(), getViewControls(), and ilCalendarBlockGUI\getViewControls().
ilBlockGUI::getProperty | ( | $a_property | ) |
Definition at line 414 of file class.ilBlockGUI.php.
Referenced by ilCalendarBlockGUI\getHTML(), ilNewsForContextBlockGUI\getHTML(), ilNewsForContextBlockGUI\initSettingsForm(), ilNewsForContextBlockGUI\saveSettings(), and ilNewsForContextBlockGUI\showNews().
ilBlockGUI::getRefId | ( | ) |
Get Ref Id (only used if isRepositoryObject() is true).
Definition at line 358 of file class.ilBlockGUI.php.
Referenced by addRepoCommands(), ilPollBlockGUI\commentJSCall(), ilPollBlockGUI\fillRow(), ilExternalFeedBlockGUI\getHTML(), ilPollBlockGUI\getHTML(), and getHTML().
ilBlockGUI::getRepositoryMode | ( | ) |
Get RepositoryMode.
Definition at line 317 of file class.ilBlockGUI.php.
Referenced by ilCalendarBlockGUI\addConsultationHourButtons(), addRepoCommands(), getHTML(), ilNewsForContextBlockGUI\getHTML(), ilCalendarBlockGUI\getTargetGUIClassPath(), and ilCalendarBlockGUI\initCommands().
ilBlockGUI::getRowTemplateDir | ( | ) |
Get Row Template Directory.
Definition at line 465 of file class.ilBlockGUI.php.
Referenced by fillDataSection(), and ilPollBlockGUI\getLegacyContent().
ilBlockGUI::getRowTemplateName | ( | ) |
Get Row Template Name.
Definition at line 455 of file class.ilBlockGUI.php.
Referenced by fillDataSection(), and ilPollBlockGUI\getLegacyContent().
|
static |
Get Screen Mode for current command.
Reimplemented in ilExternalFeedBlockGUI, ilPollBlockGUI, ilWikiFunctionsBlockGUI, ilWikiImportantPagesBlockGUI, ilCalendarBlockGUI, ilCalendarSelectionBlockGUI, ilClassificationBlockGUI, ilPDSelectedItemsBlockGUI, ilPDMailBlockGUI, ilNewsForContextBlockGUI, ilPDNewsBlockGUI, ilObjectMetaDataBlockGUI, ilRepositoryObjectSearchBlockGUI, and ilPDTasksBlockGUI.
Definition at line 501 of file class.ilBlockGUI.php.
References IL_SCREEN_SIDE.
ilBlockGUI::getSubtitle | ( | ) |
Get Subtitle.
Definition at line 338 of file class.ilBlockGUI.php.
ilBlockGUI::getTitle | ( | ) |
Get Title.
Definition at line 230 of file class.ilBlockGUI.php.
References $title.
Referenced by fillHeaderTitleBlock(), getHTMLNew(), ilWikiFunctionsBlockGUI\getLegacyContent(), ilObjectMetaDataBlockGUI\getLegacyContent(), and ilExternalFeedBlockGUI\showFeedItem().
|
protected |
Get view controls.
Reimplemented in ilCalendarBlockGUI.
Definition at line 955 of file class.ilBlockGUI.php.
References getPaginationViewControl(), and getPresentation().
Referenced by getHTMLNew().
|
protected |
Handle navigation.
Definition at line 981 of file class.ilBlockGUI.php.
References $_SESSION, $nav_value, getLimit(), getNavParameter(), and setOffset().
Referenced by getHTMLNew().
|
protected |
Init commands.
Reimplemented in ilCalendarBlockGUI.
Definition at line 509 of file class.ilBlockGUI.php.
Referenced by getHTML().
|
abstractprotected |
Returns whether block has a corresponding repository object.
Reimplemented in ilExternalFeedBlockGUI, ilPollBlockGUI, ilPDStudyProgrammeSimpleListGUI, ilWikiFunctionsBlockGUI, ilWikiImportantPagesBlockGUI, ilCalendarBlockGUI, ilCalendarSelectionBlockGUI, ilClassificationBlockGUI, ilDashboardContentBlockGUI, ilPDSelectedItemsBlockGUI, ilPDMailBlockGUI, ilNewsForContextBlockGUI, ilPDNewsBlockGUI, ilObjectMetaDataBlockGUI, ilRepositoryObjectSearchBlockGUI, and ilPDTasksBlockGUI.
Referenced by addRepoCommands(), getHTML(), and getHTMLNew().
|
protected |
Load data for current page.
Definition at line 1007 of file class.ilBlockGUI.php.
References $data, correctOffset(), getData(), getLimit(), getOffset(), and preloadData().
Referenced by getListItemGroups().
|
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 in ilPDMailBlockGUI.
Definition at line 918 of file class.ilBlockGUI.php.
Referenced by fillDataSection(), and loadData().
ilBlockGUI::setAdminCommands | ( | bool | $a_admincommands | ) |
Set Administration Commmands.
boolean | $a_admincommands | Administration Commmands |
Definition at line 368 of file class.ilBlockGUI.php.
ilBlockGUI::setBlockId | ( | $a_block_id = 0 | ) |
Set Block Id.
int | $a_block_id | Block ID |
Definition at line 176 of file class.ilBlockGUI.php.
Referenced by ilCalendarBlockGUI\__construct(), ilPDCalendarBlockGUI\__construct(), ilNewsForContextBlockGUI\__construct(), ilObjectMetaDataBlockGUI\__construct(), ilExternalFeedBlockGUI\setBlock(), and ilPollBlockGUI\setBlock().
ilBlockGUI::setData | ( | $a_data | ) |
Set Data.
array | $a_data | Data |
Definition at line 136 of file class.ilBlockGUI.php.
Referenced by ilNewsForContextBlockGUI\__construct(), ilPDNewsBlockGUI\__construct(), ilPDMailBlockGUI\fillDataSection(), ilExternalFeedBlockGUI\getHTML(), ilPollBlockGUI\getHTML(), ilPDSelectedItemsBlockGUI\getHTML(), ilPDMailBlockGUI\getHTML(), ilNewsForContextBlockGUI\hideNotifications(), ilNewsForContextBlockGUI\showNews(), and ilNewsForContextBlockGUI\showNotifications().
ilBlockGUI::setDataSection | ( | $a_content | ) |
Call this from overwritten fillDataSection(), if standard row based data is not used.
Definition at line 706 of file class.ilBlockGUI.php.
References $a_content.
Referenced by ilExternalFeedBlockGUI\fillDataSection(), ilPollBlockGUI\fillDataSection(), ilWikiFunctionsBlockGUI\fillDataSection(), ilWikiImportantPagesBlockGUI\fillDataSection(), ilCalendarBlockGUI\fillDataSection(), ilPDSelectedItemsBlockGUI\fillDataSection(), ilPDMailBlockGUI\fillDataSection(), ilNewsForContextBlockGUI\fillDataSection(), ilPDNewsBlockGUI\fillDataSection(), ilObjectMetaDataBlockGUI\fillDataSection(), ilRepositoryObjectSearchBlockGUI\fillDataSection(), and ilPDTasksBlockGUI\fillDataSection().
ilBlockGUI::setEnableEdit | ( | $a_enableedit | ) |
Set EnableEdit.
boolean | $a_enableedit | EnableEdit |
Reimplemented in ilCalendarBlockGUI, and ilNewsForContextBlockGUI.
Definition at line 287 of file class.ilBlockGUI.php.
ilBlockGUI::setEnableNumInfo | ( | $a_enablenuminfo | ) |
Set Enable Item Number Info.
boolean | $a_enablenuminfo | Enable Item Number Info |
Definition at line 388 of file class.ilBlockGUI.php.
Referenced by ilRepositoryObjectSearchBlockGUI\__construct(), ilWikiFunctionsBlockGUI\__construct(), ilWikiImportantPagesBlockGUI\__construct(), ilCalendarBlockGUI\__construct(), ilDashboardContentBlockGUI\__construct(), ilPDSelectedItemsBlockGUI\__construct(), ilNewsForContextBlockGUI\__construct(), ilObjectMetaDataBlockGUI\__construct(), ilPDMailBlockGUI\fillDataSection(), ilPDNewsBlockGUI\fillDataSection(), ilPDTasksBlockGUI\fillDataSection(), ilCalendarBlockGUI\getData(), ilExternalFeedBlockGUI\getOverview(), and ilPDSelectedItemsBlockGUI\setFooterLinks().
ilBlockGUI::setGuiObject | ( | & | $a_gui_object | ) |
Set GuiObject.
Only used for repository blocks, that are represented as real repository objects (have a ref id and permissions)
object | $a_gui_object | GUI object |
Reimplemented in ilExternalFeedBlockGUI.
Definition at line 199 of file class.ilBlockGUI.php.
ilBlockGUI::setLimit | ( | $a_limit | ) |
Set Limit.
int | $a_limit | Limit |
Definition at line 267 of file class.ilBlockGUI.php.
Referenced by ilCalendarSelectionBlockGUI\__construct(), ilExternalFeedBlockGUI\__construct(), __construct(), ilCalendarBlockGUI\__construct(), ilDashboardContentBlockGUI\__construct(), ilPDSelectedItemsBlockGUI\__construct(), ilPDMailBlockGUI\__construct(), ilNewsForContextBlockGUI\__construct(), ilPDNewsBlockGUI\__construct(), and ilPDTasksBlockGUI\__construct().
ilBlockGUI::setOffset | ( | $a_offset | ) |
Set Offset.
int | $a_offset | Offset |
Definition at line 240 of file class.ilBlockGUI.php.
Referenced by correctOffset(), fillDataSection(), and handleNavigation().
ilBlockGUI::setPresentation | ( | int | $type | ) |
Set presentation.
int | $type |
Definition at line 156 of file class.ilBlockGUI.php.
References $type.
Referenced by ilCalendarSelectionBlockGUI\__construct(), ilExternalFeedBlockGUI\__construct(), ilWikiFunctionsBlockGUI\__construct(), ilCalendarBlockGUI\__construct(), ilDashboardContentBlockGUI\__construct(), ilPDSelectedItemsBlockGUI\__construct(), ilPDMailBlockGUI\__construct(), ilNewsForContextBlockGUI\__construct(), ilPDNewsBlockGUI\__construct(), ilPDTasksBlockGUI\__construct(), ilCalendarBlockGUI\setForceMonthView(), ilCalendarBlockGUI\setPdModeEvents(), and ilCalendarBlockGUI\setPdModeMonth().
ilBlockGUI::setPreviousNextLinks | ( | ) |
Get previous/next linkbar.
Definition at line 810 of file class.ilBlockGUI.php.
References $block_id, $ctrl, $ilCtrl, $lng, getBlockType(), getLimit(), getNavParameter(), and getOffset().
Referenced by fillPreviousNext().
ilBlockGUI::setProperties | ( | $a_properties | ) |
This function is supposed to be used for block type specific properties, that should be inherited through ilColumnGUI->setBlockProperties.
string | $a_properties | properties array (key => value) |
Definition at line 409 of file class.ilBlockGUI.php.
ilBlockGUI::setProperty | ( | $a_property, | |
$a_value | |||
) |
Definition at line 419 of file class.ilBlockGUI.php.
ilBlockGUI::setRefId | ( | $a_refid | ) |
Set Ref Id (only used if isRepositoryObject() is true).
int | $a_refid | Ref Id |
Definition at line 348 of file class.ilBlockGUI.php.
ilBlockGUI::setRepositoryMode | ( | $a_repositorymode | ) |
Set RepositoryMode.
boolean | $a_repositorymode | RepositoryMode |
Definition at line 307 of file class.ilBlockGUI.php.
ilBlockGUI::setRowTemplate | ( | $a_rowtemplatename, | |
$a_rowtemplatedir = "" |
|||
) |
Set Row Template Name.
string | $a_rowtemplatename | Row Template Name |
Definition at line 429 of file class.ilBlockGUI.php.
Referenced by ilExternalFeedBlockGUI\__construct(), ilPollBlockGUI\__construct(), ilNewsForContextBlockGUI\__construct(), ilPDNewsBlockGUI\__construct(), ilCalendarBlockGUI\fillDataSection(), ilPDMailBlockGUI\fillDataSection(), and ilPDTasksBlockGUI\fillDataSection().
ilBlockGUI::setSubtitle | ( | $a_subtitle | ) |
Set Subtitle.
string | $a_subtitle | Subtitle |
Definition at line 328 of file class.ilBlockGUI.php.
ilBlockGUI::setTitle | ( | $a_title | ) |
Set Title.
string | $a_title | Title |
Definition at line 220 of file class.ilBlockGUI.php.
Referenced by ilCalendarSelectionBlockGUI\__construct(), ilRepositoryObjectSearchBlockGUI\__construct(), ilPDStudyProgrammeSimpleListGUI\__construct(), ilWikiFunctionsBlockGUI\__construct(), ilWikiImportantPagesBlockGUI\__construct(), ilCalendarBlockGUI\__construct(), ilClassificationBlockGUI\__construct(), ilPDMailBlockGUI\__construct(), ilNewsForContextBlockGUI\__construct(), ilPDNewsBlockGUI\__construct(), ilPDTasksBlockGUI\__construct(), ilObjectMetaDataBlockGUI\__construct(), ilPollBlockGUI\getHTML(), ilPDSelectedItemsBlockGUI\getHTML(), ilNewsForContextBlockGUI\getHTML(), and ilExternalFeedBlockGUI\setBlock().
|
protected |
Definition at line 86 of file class.ilBlockGUI.php.
Referenced by addRepoCommands(), ilExternalFeedBlockGUI\fillRow(), ilClassificationBlockGUI\filterContainer(), ilCalendarSelectionBlockGUI\getCalendars(), ilExternalFeedBlockGUI\getHTML(), ilPollBlockGUI\getHTML(), getHTML(), getHTMLNew(), ilWikiFunctionsBlockGUI\getLegacyContent(), ilWikiImportantPagesBlockGUI\getLegacyContent(), and ilNewsForContextBlockGUI\showNews().
|
protected |
Definition at line 59 of file class.ilBlockGUI.php.
Referenced by getAdminCommands().
|
protected |
Definition at line 40 of file class.ilBlockGUI.php.
|
protected |
Definition at line 42 of file class.ilBlockGUI.php.
Referenced by getBlockCommands().
|
protected |
Definition at line 39 of file class.ilBlockGUI.php.
Referenced by ilNewsForContextBlockGUI\addToSettingsForm(), getBlockId(), getPaginationViewControl(), setPreviousNextLinks(), and ilNewsForContextBlockGUI\writeSettings().
|
protected |
Definition at line 44 of file class.ilBlockGUI.php.
|
protected |
Definition at line 48 of file class.ilBlockGUI.php.
|
protected |
Definition at line 81 of file class.ilBlockGUI.php.
Referenced by addRepoCommands(), ilExternalFeedBlockGUI\cancelSaveFeedBlock(), ilNewsForContextBlockGUI\cancelSettings(), ilPDNewsBlockGUI\cancelSettings(), ilPDNewsBlockGUI\changeFeedSettings(), ilExternalFeedBlockGUI\disableJS(), ilNewsForContextBlockGUI\disableJS(), ilPDNewsBlockGUI\editSettings(), ilExternalFeedBlockGUI\executeCommand(), ilPollBlockGUI\executeCommand(), ilWikiFunctionsBlockGUI\executeCommand(), ilWikiImportantPagesBlockGUI\executeCommand(), ilClassificationBlockGUI\executeCommand(), ilNewsForContextBlockGUI\executeCommand(), ilPDNewsBlockGUI\executeCommand(), ilObjectMetaDataBlockGUI\executeCommand(), ilRepositoryObjectSearchBlockGUI\executeCommand(), ilPDTasksBlockGUI\executeCommand(), ilClassificationBlockGUI\fillDataSection(), ilPollBlockGUI\fillRow(), ilExternalFeedBlockGUI\fillRow(), ilExternalFeedBlockGUI\getDynamic(), ilNewsForContextBlockGUI\getDynamic(), ilExternalFeedBlockGUI\getDynamicReload(), ilNewsForContextBlockGUI\getDynamicReload(), ilWikiImportantPagesBlockGUI\getHTML(), ilExternalFeedBlockGUI\getHTML(), ilPollBlockGUI\getHTML(), ilWikiFunctionsBlockGUI\getHTML(), getHTML(), ilClassificationBlockGUI\getHTML(), ilNewsForContextBlockGUI\getHTML(), ilPDNewsBlockGUI\getHTML(), getHTMLNew(), ilNewsForContextBlockGUI\getInfoForData(), ilExternalFeedBlockGUI\getJSEnabler(), ilNewsForContextBlockGUI\getJSEnabler(), ilWikiFunctionsBlockGUI\getLegacyContent(), ilWikiImportantPagesBlockGUI\getLegacyContent(), ilRepositoryObjectSearchBlockGUI\getLegacyContent(), ilExternalFeedBlockGUI\getListItemForData(), ilNewsForContextBlockGUI\getNewsData(), ilExternalFeedBlockGUI\getOverview(), ilNewsForContextBlockGUI\getOverview(), getPaginationViewControl(), ilNewsForContextBlockGUI\hideNotifications(), ilExternalFeedBlockGUI\initImportForm(), ilPDNewsBlockGUI\initPrivateSettingsForm(), ilNewsForContextBlockGUI\initSettingsForm(), ilNewsForContextBlockGUI\saveSettings(), ilPDNewsBlockGUI\saveSettings(), ilExternalFeedBlockGUI\setBlock(), setPreviousNextLinks(), ilPDStudyProgrammeSimpleListGUI\shouldShowThisList(), ilExternalFeedBlockGUI\showFeedItem(), ilNewsForContextBlockGUI\showFeedUrl(), ilPDNewsBlockGUI\showFeedUrl(), ilNewsForContextBlockGUI\showNews(), ilNewsForContextBlockGUI\showNotifications(), ilNewsForContextBlockGUI\subscribeNews(), and ilNewsForContextBlockGUI\unsubscribeNews().
|
protected |
Definition at line 36 of file class.ilBlockGUI.php.
Referenced by ilNewsForContextBlockGUI\__construct(), ilPDNewsBlockGUI\__construct(), ilCalendarSelectionBlockGUI\buildPath(), fillDataSection(), ilNewsForContextBlockGUI\fillRow(), getData(), ilCalendarBlockGUI\getData(), ilExternalFeedBlockGUI\getListItemForData(), ilCalendarBlockGUI\getListItemForData(), ilCalendarSelectionBlockGUI\getListItemForData(), ilPDTasksBlockGUI\getListItemForData(), getListItemGroups(), ilPDNewsBlockGUI\getNewsData(), ilNewsForContextBlockGUI\hideNotifications(), loadData(), ilPDMailBlockGUI\preloadData(), and ilNewsForContextBlockGUI\showNotifications().
|
protected |
Definition at line 61 of file class.ilBlockGUI.php.
Referenced by fillHeaderCommands().
|
protected |
Definition at line 37 of file class.ilBlockGUI.php.
Referenced by getEnableNumInfo().
|
protected |
Definition at line 38 of file class.ilBlockGUI.php.
|
protected |
Definition at line 45 of file class.ilBlockGUI.php.
|
protected |
Definition at line 91 of file class.ilBlockGUI.php.
Referenced by ilCalendarSelectionBlockGUI\__construct(), ilExternalFeedBlockGUI\__construct(), ilPollBlockGUI\__construct(), ilPDStudyProgrammeSimpleListGUI\__construct(), ilWikiFunctionsBlockGUI\__construct(), ilWikiImportantPagesBlockGUI\__construct(), ilCalendarBlockGUI\__construct(), ilClassificationBlockGUI\__construct(), ilNewsForContextBlockGUI\__construct(), ilPDNewsBlockGUI\__construct(), ilPDTasksBlockGUI\__construct(), ilCalendarBlockGUI\addMiniMonth(), addRepoCommands(), ilCalendarBlockGUI\addSubscriptionButton(), ilNewsForContextBlockGUI\addToSettingsForm(), ilPDNewsBlockGUI\changeFeedSettings(), ilPDNewsBlockGUI\editSettings(), ilCalendarSelectionBlockGUI\fillDataSection(), ilDashboardContentBlockGUI\fillFooter(), fillHeaderTitleBlock(), fillPreviousNext(), ilPollBlockGUI\fillRow(), ilPDTasksBlockGUI\fillRow(), ilClassificationBlockGUI\filterContainer(), ilCalendarBlockGUI\getData(), ilExternalFeedBlockGUI\getDynamicReload(), ilNewsForContextBlockGUI\getDynamicReload(), ilWikiImportantPagesBlockGUI\getHTML(), ilExternalFeedBlockGUI\getHTML(), ilPollBlockGUI\getHTML(), ilWikiFunctionsBlockGUI\getHTML(), getHTML(), ilCalendarBlockGUI\getHTML(), ilNewsForContextBlockGUI\getHTML(), ilPDNewsBlockGUI\getHTML(), ilNewsForContextBlockGUI\getInfoForData(), ilExternalFeedBlockGUI\getJSEnabler(), ilNewsForContextBlockGUI\getJSEnabler(), ilWikiFunctionsBlockGUI\getLegacyContent(), ilWikiImportantPagesBlockGUI\getLegacyContent(), ilRepositoryObjectSearchBlockGUI\getLegacyContent(), ilPDTasksBlockGUI\getListItemForData(), ilExternalFeedBlockGUI\getOverview(), ilCalendarBlockGUI\getOverview(), ilNewsForContextBlockGUI\getOverview(), ilPDTasksBlockGUI\getOverview(), ilCalendarBlockGUI\getViewControl(), ilExternalFeedBlockGUI\importFile(), ilCalendarBlockGUI\initCommands(), ilExternalFeedBlockGUI\initFormFeedBlock(), ilExternalFeedBlockGUI\initImportForm(), ilPDNewsBlockGUI\initPrivateSettingsForm(), ilNewsForContextBlockGUI\initSettingsForm(), setPreviousNextLinks(), ilExternalFeedBlockGUI\showFeedItem(), ilNewsForContextBlockGUI\showFeedUrl(), ilPDNewsBlockGUI\showFeedUrl(), and ilNewsForContextBlockGUI\showNews().
|
protected |
Definition at line 71 of file class.ilBlockGUI.php.
Referenced by ilCalendarBlockGUI\__construct(), ilClassificationBlockGUI\fillDataSection(), ilPollBlockGUI\fillRow(), ilClassificationBlockGUI\filterContainer(), ilClassificationBlockGUI\getAjax(), ilClassificationBlockGUI\getHTML(), and ilExternalFeedBlockGUI\importFile().
|
protected |
Definition at line 43 of file class.ilBlockGUI.php.
Referenced by fillPreviousNext().
|
protected |
Definition at line 41 of file class.ilBlockGUI.php.
|
protected |
Definition at line 47 of file class.ilBlockGUI.php.
Referenced by fillDataSection(), and handleNavigation().
|
protected |
Definition at line 937 of file class.ilBlockGUI.php.
|
protected |
Definition at line 96 of file class.ilBlockGUI.php.
Referenced by addRepoCommands(), getHTML(), and ilNewsForContextBlockGUI\getHTML().
|
protected |
Definition at line 101 of file class.ilBlockGUI.php.
Referenced by ilCalendarBlockGUI\addSubscriptionButton(), ilCalendarBlockGUI\executeCommand(), ilPDSelectedItemsBlockGUI\getGroupedCommandsForView(), and getPresentation().
|
protected |
Definition at line 46 of file class.ilBlockGUI.php.
|
protected |
Definition at line 53 of file class.ilBlockGUI.php.
Referenced by ilCalendarBlockGUI\__construct(), ilPDSelectedItemsBlockGUI\confirmRemoveObject(), ilWikiImportantPagesBlockGUI\getLegacyContent(), ilPDTasksBlockGUI\getListItemForData(), ilPDSelectedItemsBlockGUI\getRepositoryTitle(), getTitle(), ilNewsForContextBlockGUI\showFeedUrl(), and ilNewsForContextBlockGUI\showNews().
|
protected |
Definition at line 66 of file class.ilBlockGUI.php.
Referenced by ilCalendarBlockGUI\__construct(), ilCalendarBlockGUI\fillDataSection(), ilCalendarSelectionBlockGUI\fillDataSection(), ilClassificationBlockGUI\fillDataSection(), ilPollBlockGUI\fillRow(), ilClassificationBlockGUI\filterContainer(), ilClassificationBlockGUI\getAjax(), ilClassificationBlockGUI\getHTML(), ilWikiFunctionsBlockGUI\getLegacyContent(), ilWikiImportantPagesBlockGUI\getLegacyContent(), ilCalendarBlockGUI\getLegacyContent(), ilRepositoryObjectSearchBlockGUI\getLegacyContent(), ilExternalFeedBlockGUI\importFile(), ilExternalFeedBlockGUI\showFeedItem(), ilNewsForContextBlockGUI\showFeedUrl(), ilPDNewsBlockGUI\showFeedUrl(), and ilNewsForContextBlockGUI\showNews().
|
protected |
Definition at line 22 of file class.ilBlockGUI.php.
|
protected |
Definition at line 76 of file class.ilBlockGUI.php.
Referenced by ilCalendarBlockGUI\__construct(), ilCalendarBlockGUI\addConsultationHourButtons(), ilCalendarBlockGUI\addMiniMonth(), ilPDNewsBlockGUI\changeFeedSettings(), ilExternalFeedBlockGUI\disableJS(), ilNewsForContextBlockGUI\disableJS(), ilPDNewsBlockGUI\editSettings(), ilExternalFeedBlockGUI\enableJS(), ilNewsForContextBlockGUI\enableJS(), ilPollBlockGUI\fillRow(), ilExternalFeedBlockGUI\getDynamic(), ilNewsForContextBlockGUI\getDynamic(), ilExternalFeedBlockGUI\getHTML(), ilPollBlockGUI\getHTML(), ilWikiFunctionsBlockGUI\getHTML(), getHTML(), ilCalendarBlockGUI\getHTML(), ilNewsForContextBlockGUI\getHTML(), ilPDNewsBlockGUI\getHTML(), ilNewsForContextBlockGUI\getNewsData(), ilPDNewsBlockGUI\getNewsData(), ilExternalFeedBlockGUI\getOverview(), ilNewsForContextBlockGUI\getOverview(), ilNewsForContextBlockGUI\handleView(), ilNewsForContextBlockGUI\hideNotifications(), ilPDNewsBlockGUI\initPrivateSettingsForm(), ilNewsForContextBlockGUI\initSettingsForm(), ilNewsForContextBlockGUI\saveSettings(), ilPDNewsBlockGUI\saveSettings(), ilCalendarBlockGUI\setPdModeEvents(), ilCalendarBlockGUI\setPdModeMonth(), ilNewsForContextBlockGUI\showFeedUrl(), ilPDNewsBlockGUI\showFeedUrl(), ilNewsForContextBlockGUI\showNews(), ilNewsForContextBlockGUI\showNotifications(), ilNewsForContextBlockGUI\subscribeNews(), and ilNewsForContextBlockGUI\unsubscribeNews().
const ilBlockGUI::PRES_MAIN_LEG = 0 |
Definition at line 14 of file class.ilBlockGUI.php.
Referenced by getHTMLNew().
const ilBlockGUI::PRES_MAIN_LIST = 3 |
Definition at line 17 of file class.ilBlockGUI.php.
Referenced by getHTMLNew().
const ilBlockGUI::PRES_SEC_LEG = 1 |
Definition at line 15 of file class.ilBlockGUI.php.
Referenced by __construct(), and getHTMLNew().
const ilBlockGUI::PRES_SEC_LIST = 2 |
Definition at line 16 of file class.ilBlockGUI.php.
Referenced by getHTMLNew().