ILIAS
Release_4_4_x_branch Revision 61816
|
This class represents a block method of a block. More...
Public Member Functions | |
ilBlockGUI () | |
Constructor. | |
addHeaderLink ($a_href, $a_text, $status=true) | |
getHeaderLinks () | |
setData ($a_data) | |
Set Data. | |
getData () | |
Get Data. | |
setBigMode ($a_bigmode) | |
Set Big Mode. | |
getBigMode () | |
Get Big Mode. | |
setBlockId ($a_block_id=0) | |
Set Block Id. | |
getBlockId () | |
Get Block Id. | |
setAvailableDetailLevels ($a_max, $a_min=0) | |
Set Available Detail Levels. | |
setCurrentDetailLevel ($a_currentdetaillevel) | |
Set Current Detail Level. | |
setGuiObject (&$a_gui_object) | |
Set GuiObject. | |
getGuiObject () | |
Get GuiObject. | |
getCurrentDetailLevel () | |
Get Current Detail Level. | |
setTitle ($a_title) | |
Set Title. | |
getTitle () | |
Get Title. | |
setImage ($a_image) | |
Set Image. | |
getImage () | |
Get Image. | |
setOffset ($a_offset) | |
Set Offset. | |
getOffset () | |
Get Offset. | |
correctOffset () | |
setLimit ($a_limit) | |
Set Limit. | |
getLimit () | |
Get Limit. | |
setEnableEdit ($a_enableedit) | |
Set EnableEdit. | |
getEnableEdit () | |
Get EnableEdit. | |
setRepositoryMode ($a_repositorymode) | |
Set RepositoryMode. | |
getRepositoryMode () | |
Get RepositoryMode. | |
setFooterInfo ($a_footerinfo, $a_hide_and_icon=false) | |
Set Footer Info. | |
getFooterInfo ($a_hide_and_icon=false) | |
Get Footer Info. | |
setSubtitle ($a_subtitle) | |
Set Subtitle. | |
getSubtitle () | |
Get Subtitle. | |
setRefId ($a_refid) | |
Set Ref Id (only used if isRepositoryObject() is true). | |
getRefId () | |
Get Ref Id (only used if isRepositoryObject() is true). | |
setAdminCommands ($a_admincommands) | |
Set Administration Commmands. | |
getAdminCommands () | |
Get Administration Commmands. | |
setColSpan ($a_colspan) | |
Set Columns Span. | |
getColSpan () | |
Get Columns Span. | |
setEnableDetailRow ($a_enabledetailrow) | |
Set EnableDetailRow. | |
getEnableDetailRow () | |
Get EnableDetailRow. | |
setEnableNumInfo ($a_enablenuminfo) | |
Set Enable Item Number Info. | |
getEnableNumInfo () | |
Get Enable Item Number Info. | |
setProperties ($a_properties) | |
This function is supposed to be used for block type specific properties, that should be inherited through ilColumnGUI->setBlockProperties. | |
getProperty ($a_property) | |
setProperty ($a_property, $a_value) | |
setRowTemplate ($a_rowtemplatename, $a_rowtemplatedir="") | |
Set Row Template Name. | |
getNavParameter () | |
getDetailParameter () | |
getConfigParameter () | |
getMoveParameter () | |
getRowTemplateName () | |
Get Row Template Name. | |
getRowTemplateDir () | |
Get Row Template Directory. | |
addBlockCommand ($a_href, $a_text, $a_target="", $a_img="", $a_right_aligned=false, $a_checked=false) | |
Add Block Command. | |
getBlockCommands () | |
Get Block commands. | |
addHeaderCommand ($a_href, $a_text, $a_as_close=false) | |
Add Header Block Command. | |
getHeaderCommands () | |
Get Header Block commands. | |
addFooterLink ($a_text, $a_href="", $a_onclick="", $a_block_id="", $a_top=false, $a_omit_separator=false, $a_checked=false) | |
Add a footer text/link. | |
getFooterLinks () | |
Get footer links. | |
clearFooterLinks () | |
Clear footer links. | |
handleDetailLevel () | |
Handle read/write current detail level. | |
getHTML () | |
Handle config status. | |
fillHeaderCommands () | |
Fill header commands block. | |
fillHeaderTitleBlock () | |
Fill header title block (title and. | |
setDataSection ($a_content) | |
Call this from overwritten fillDataSection(), if standard row based data is not used. | |
fillDataSection () | |
Standard implementation for row based data. | |
fillRow ($a_set) | |
fillFooter () | |
fillPreviousNext () | |
Fill previous/next row. | |
setPreviousNextLinks () | |
Get previous/next linkbar. | |
fillFooterLinks ($a_top=false, $a_numinfo="") | |
Fill footer links. | |
fillDetailRow () | |
Fill Detail Setting Row. |
Static Public Member Functions | |
static | getBlockType () |
static | isRepositoryObject () |
static | getScreenMode () |
Get Screen Mode for current command. |
Protected Member Functions | |
fillRowColor ($a_placeholder="CSS_ROW") | |
preloadData (array $data) | |
Can be overwritten in subclasses. |
Protected Attributes | |
$data = array() | |
$colspan = 1 | |
$enablenuminfo = true | |
$detail_min = 0 | |
$detail_max = 0 | |
$bigmode = false | |
$footer_links = array() | |
$block_id = 0 | |
$header_commands = array() | |
$allow_moving = true | |
$move = array("left" => false, "right" => false, "up" => false, "down" => false) | |
$enabledetailrow = true | |
$header_links = array() | |
$footerinfo = false | |
$footerinfo_icon = false | |
$block_commands = array() | |
$max_count = false | |
$close_command = false | |
$image = false | |
$property = false | |
$nav_value = "" | |
$css_row = "" | |
$dropdown |
This class represents a block method of a block.
Definition at line 12 of file class.ilBlockGUI.php.
ilBlockGUI::addBlockCommand | ( | $a_href, | |
$a_text, | |||
$a_target = "" , |
|||
$a_img = "" , |
|||
$a_right_aligned = false , |
|||
$a_checked = false |
|||
) |
Add Block Command.
string | $a_href | command link target |
string | $a_text | text |
Definition at line 546 of file class.ilBlockGUI.php.
Referenced by ilWikiImportantPagesBlockGUI\getHTML(), ilExternalFeedBlockGUI\getHTML(), ilPDExternalFeedBlockGUI\getHTML(), ilPollBlockGUI\getHTML(), ilPDNewsBlockGUI\getHTML(), ilNewsForContextBlockGUI\getHTML(), ilCalendarBlockGUI\getHTML(), getHTML(), and ilCalendarSelectionBlockGUI\ilCalendarSelectionBlockGUI().
ilBlockGUI::addFooterLink | ( | $a_text, | |
$a_href = "" , |
|||
$a_onclick = "" , |
|||
$a_block_id = "" , |
|||
$a_top = false , |
|||
$a_omit_separator = false , |
|||
$a_checked = false |
|||
) |
Add a footer text/link.
Definition at line 598 of file class.ilBlockGUI.php.
Referenced by ilBookmarkBlockGUI\setFooterLinks(), ilPDSelectedItemsBlockGUI\setFooterLinks(), ilCalendarBlockGUI\setFooterLinks(), setPreviousNextLinks(), and ilNewsForContextBlockGUI\showViewFooter().
ilBlockGUI::addHeaderCommand | ( | $a_href, | |
$a_text, | |||
$a_as_close = false |
|||
) |
Add Header Block Command.
string | $a_href | command link target |
string | $a_text | text |
Definition at line 571 of file class.ilBlockGUI.php.
ilBlockGUI::addHeaderLink | ( | $a_href, | |
$a_text, | |||
$status = true |
|||
) |
Definition at line 59 of file class.ilBlockGUI.php.
ilBlockGUI::clearFooterLinks | ( | ) |
Clear footer links.
Definition at line 622 of file class.ilBlockGUI.php.
Referenced by ilNewsForContextBlockGUI\showViewFooter().
ilBlockGUI::correctOffset | ( | ) |
Definition at line 245 of file class.ilBlockGUI.php.
References setOffset().
Referenced by fillDataSection().
ilBlockGUI::fillDataSection | ( | ) |
Standard implementation for row based data.
Overwrite this and call setContent for other data.
Reimplemented in ilPDSelectedItemsBlockGUI, ilCalendarBlockGUI, ilNewsForContextBlockGUI, ilCalendarSelectionBlockGUI, ilPDNewsBlockGUI, ilUsersOnlineBlockGUI, ilPDExternalFeedBlockGUI, ilHtmlBlockGUI, ilExternalFeedBlockGUI, ilPDMailBlockGUI, ilPDTaggingBlockGUI, ilWikiFunctionsBlockGUI, ilWikiSearchBlockGUI, ilWikiSideBlockGUI, ilDummyBlockGUI, ilWikiImportantPagesBlockGUI, ilPDContentBlockGUI, ilBookmarkBlockGUI, and ilPDNotesBlockGUI.
Definition at line 999 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 getHTML().
ilBlockGUI::fillDetailRow | ( | ) |
Fill Detail Setting Row.
Definition at line 1267 of file class.ilBlockGUI.php.
References $block_id, $detail_min, $ilCtrl, $lng, getBlockId(), getBlockType(), getCurrentDetailLevel(), getDetailParameter(), getFooterInfo(), and ilUtil\getImagePath().
Referenced by getHTML().
ilBlockGUI::fillFooter | ( | ) |
Reimplemented in ilNewsForContextBlockGUI, ilCalendarBlockGUI, ilPDSelectedItemsBlockGUI, ilPDTaggingBlockGUI, ilBookmarkBlockGUI, and ilPDContentBlockGUI.
Definition at line 1049 of file class.ilBlockGUI.php.
Referenced by getHTML().
ilBlockGUI::fillFooterLinks | ( | $a_top = false , |
|
$a_numinfo = "" |
|||
) |
Fill footer links.
Definition at line 1176 of file class.ilBlockGUI.php.
References $ilCtrl, $lng, and getFooterLinks().
Referenced by ilPDContentBlockGUI\fillFooter(), ilBookmarkBlockGUI\fillFooter(), ilPDTaggingBlockGUI\fillFooter(), ilPDSelectedItemsBlockGUI\fillFooter(), ilCalendarBlockGUI\fillFooter(), fillPreviousNext(), and ilNewsForContextBlockGUI\showViewFooter().
ilBlockGUI::fillHeaderCommands | ( | ) |
Fill header commands block.
Definition at line 899 of file class.ilBlockGUI.php.
References $close_command, $ilCtrl, $img, $lng, getDetailParameter(), getHeaderCommands(), and getRepositoryMode().
Referenced by getHTML().
ilBlockGUI::fillHeaderTitleBlock | ( | ) |
Fill header title block (title and.
Definition at line 954 of file class.ilBlockGUI.php.
References $lng, getBlockType(), getImage(), and getTitle().
Referenced by getHTML().
ilBlockGUI::fillPreviousNext | ( | ) |
Fill previous/next row.
Reimplemented in ilPDContentBlockGUI.
Definition at line 1064 of file class.ilBlockGUI.php.
References $ilCtrl, $lng, $max_count, fillFooterLinks(), getEnableNumInfo(), getLimit(), getOffset(), and setPreviousNextLinks().
Referenced by getHTML().
ilBlockGUI::fillRow | ( | $a_set | ) |
Reimplemented in ilNewsForContextBlockGUI, ilPDExternalFeedBlockGUI, ilExternalFeedBlockGUI, ilBookmarkBlockGUI, ilUsersOnlineBlockGUI, ilPDNotesBlockGUI, ilPDMailBlockGUI, and ilPollBlockGUI.
Definition at line 1041 of file class.ilBlockGUI.php.
Referenced by fillDataSection().
|
finalprotected |
Definition at line 1053 of file class.ilBlockGUI.php.
Referenced by fillDataSection().
ilBlockGUI::getAdminCommands | ( | ) |
Get Administration Commmands.
Definition at line 402 of file class.ilBlockGUI.php.
Referenced by getHTML().
ilBlockGUI::getBigMode | ( | ) |
Get Big Mode.
Definition at line 105 of file class.ilBlockGUI.php.
References $bigmode.
Referenced by getHTML().
ilBlockGUI::getBlockCommands | ( | ) |
Get Block commands.
Definition at line 560 of file class.ilBlockGUI.php.
References $block_commands.
Referenced by getHTML().
ilBlockGUI::getBlockId | ( | ) |
Get Block Id.
Definition at line 125 of file class.ilBlockGUI.php.
References $block_id.
Referenced by ilCalendarBlockGUI\addMiniMonth(), fillDetailRow(), getConfigParameter(), getDetailParameter(), ilExternalFeedBlockGUI\getDynamicReload(), ilPDExternalFeedBlockGUI\getDynamicReload(), ilNewsForContextBlockGUI\getDynamicReload(), ilExternalFeedBlockGUI\getHTML(), ilPDExternalFeedBlockGUI\getHTML(), ilExternalFeedBlockGUI\getJSEnabler(), ilPDExternalFeedBlockGUI\getJSEnabler(), ilNewsForContextBlockGUI\getJSEnabler(), getMoveParameter(), getNavParameter(), ilCalendarBlockGUI\ilCalendarBlockGUI(), and ilCalendarBlockGUI\setSeed().
|
staticabstract |
Reimplemented in ilPDSelectedItemsBlockGUI, ilCalendarBlockGUI, ilNewsForContextBlockGUI, ilPDNewsBlockGUI, ilCalendarSelectionBlockGUI, ilWikiSearchBlockGUI, ilPDExternalFeedBlockGUI, ilHtmlBlockGUI, ilPDCalendarBlockGUI, ilPDTaggingBlockGUI, ilPDContentBlockGUI, ilDummyBlockGUI, ilWikiImportantPagesBlockGUI, ilWikiFunctionsBlockGUI, ilWikiSideBlockGUI, ilChatroomBlockGUI, ilExternalFeedBlockGUI, ilBookmarkBlockGUI, ilUsersOnlineBlockGUI, ilPollBlockGUI, ilPDMailBlockGUI, ilPDNotesBlockGUI, and ilPDSysMessageBlockGUI.
Referenced by fillDetailRow(), fillHeaderTitleBlock(), getConfigParameter(), getDetailParameter(), getHTML(), getMoveParameter(), getNavParameter(), handleDetailLevel(), and setPreviousNextLinks().
ilBlockGUI::getColSpan | ( | ) |
Get Columns Span.
Definition at line 422 of file class.ilBlockGUI.php.
References $colspan.
Referenced by ilBookmarkBlockGUI\fillFooter(), ilPDTaggingBlockGUI\fillFooter(), ilPDSelectedItemsBlockGUI\fillFooter(), ilCalendarBlockGUI\fillFooter(), and getHTML().
|
final |
Definition at line 510 of file class.ilBlockGUI.php.
References getBlockId(), and getBlockType().
ilBlockGUI::getCurrentDetailLevel | ( | ) |
Get Current Detail Level.
Definition at line 180 of file class.ilBlockGUI.php.
Referenced by ilPDNotesBlockGUI\fillDataSection(), ilBookmarkBlockGUI\fillDataSection(), ilPDTaggingBlockGUI\fillDataSection(), ilPDMailBlockGUI\fillDataSection(), ilExternalFeedBlockGUI\fillDataSection(), ilPDExternalFeedBlockGUI\fillDataSection(), ilUsersOnlineBlockGUI\fillDataSection(), ilPDNewsBlockGUI\fillDataSection(), ilNewsForContextBlockGUI\fillDataSection(), ilCalendarBlockGUI\fillDataSection(), fillDetailRow(), ilPDMailBlockGUI\fillRow(), ilPDNotesBlockGUI\fillRow(), ilUsersOnlineBlockGUI\fillRow(), ilBookmarkBlockGUI\fillRow(), ilNewsForContextBlockGUI\fillRow(), ilPDSysMessageBlockGUI\getHTML(), ilPDMailBlockGUI\getHTML(), ilPDNotesBlockGUI\getHTML(), ilBookmarkBlockGUI\getHTML(), ilChatroomBlockGUI\getHTML(), ilPDTaggingBlockGUI\getHTML(), ilUsersOnlineBlockGUI\getHTML(), ilHtmlBlockGUI\getHTML(), ilExternalFeedBlockGUI\getHTML(), ilPDExternalFeedBlockGUI\getHTML(), ilPDNewsBlockGUI\getHTML(), ilCalendarBlockGUI\getHTML(), ilPDSelectedItemsBlockGUI\getMembershipItemsPerLocation(), ilPDSelectedItemsBlockGUI\getMembershipItemsPerType(), ilPDSelectedItemsBlockGUI\getSelectedItemsPerLocation(), ilPDSelectedItemsBlockGUI\getSelectedItemsPerType(), ilPDTaggingBlockGUI\getTagCloud(), ilNewsForContextBlockGUI\ilNewsForContextBlockGUI(), ilPDNewsBlockGUI\ilPDNewsBlockGUI(), and ilCalendarBlockGUI\setFooterLinks().
ilBlockGUI::getData | ( | ) |
Get Data.
Reimplemented in ilCalendarBlockGUI.
Definition at line 85 of file class.ilBlockGUI.php.
References $data.
Referenced by ilExternalFeedBlockGUI\fillDataSection(), ilPDExternalFeedBlockGUI\fillDataSection(), ilPDNewsBlockGUI\fillDataSection(), ilNewsForContextBlockGUI\fillDataSection(), fillDataSection(), ilNewsForContextBlockGUI\getHTML(), ilExternalFeedBlockGUI\getOverview(), ilPDExternalFeedBlockGUI\getOverview(), ilNewsForContextBlockGUI\getOverview(), and ilNewsForContextBlockGUI\showNews().
|
final |
Definition at line 505 of file class.ilBlockGUI.php.
References getBlockId(), and getBlockType().
Referenced by fillDetailRow(), fillHeaderCommands(), and handleDetailLevel().
ilBlockGUI::getEnableDetailRow | ( | ) |
Get EnableDetailRow.
Definition at line 442 of file class.ilBlockGUI.php.
References $enabledetailrow.
ilBlockGUI::getEnableEdit | ( | ) |
Get EnableEdit.
Reimplemented in ilCalendarBlockGUI, and ilNewsForContextBlockGUI.
Definition at line 288 of file class.ilBlockGUI.php.
ilBlockGUI::getEnableNumInfo | ( | ) |
Get Enable Item Number Info.
Definition at line 463 of file class.ilBlockGUI.php.
References $enablenuminfo.
Referenced by ilPDContentBlockGUI\fillFooter(), and fillPreviousNext().
ilBlockGUI::getFooterInfo | ( | $a_hide_and_icon = false | ) |
Get Footer Info.
Definition at line 335 of file class.ilBlockGUI.php.
References $footerinfo, and $footerinfo_icon.
Referenced by fillDetailRow(), and getHTML().
ilBlockGUI::getFooterLinks | ( | ) |
Get footer links.
Definition at line 614 of file class.ilBlockGUI.php.
References $footer_links.
Referenced by fillFooterLinks().
ilBlockGUI::getGuiObject | ( | ) |
Get GuiObject.
Reimplemented in ilExternalFeedBlockGUIGen.
Definition at line 170 of file class.ilBlockGUI.php.
ilBlockGUI::getHeaderCommands | ( | ) |
Get Header Block commands.
Definition at line 590 of file class.ilBlockGUI.php.
References $header_commands.
Referenced by fillHeaderCommands().
ilBlockGUI::getHeaderLinks | ( | ) |
Definition at line 65 of file class.ilBlockGUI.php.
References $header_links.
Referenced by getHTML().
ilBlockGUI::getHTML | ( | ) |
Handle config status.
Get HTML.
Reimplemented in ilCalendarBlockGUI, ilCalendarSelectionBlockGUI, ilNewsForContextBlockGUI, ilPDNewsBlockGUI, ilPollBlockGUI, ilPDSelectedItemsBlockGUI, ilPDExternalFeedBlockGUI, ilExternalFeedBlockGUI, ilDummyBlockGUI, ilHtmlBlockGUI, ilWikiFunctionsBlockGUI, ilWikiSearchBlockGUI, ilWikiSideBlockGUI, ilUsersOnlineBlockGUI, ilPDTaggingBlockGUI, ilPDContentBlockGUI, ilChatroomBlockGUI, ilBookmarkBlockGUI, ilPDNotesBlockGUI, ilPDMailBlockGUI, and ilPDSysMessageBlockGUI.
Definition at line 693 of file class.ilBlockGUI.php.
References $_GET, $dropdown, $ilCtrl, $ilUser, $lng, addBlockCommand(), fillDataSection(), fillDetailRow(), fillFooter(), fillHeaderCommands(), fillHeaderTitleBlock(), fillPreviousNext(), getAdminCommands(), getBigMode(), getBlockCommands(), getBlockType(), getColSpan(), getFooterInfo(), getHeaderLinks(), ilUtil\getImagePath(), getRefId(), getRepositoryMode(), and isRepositoryObject().
Referenced by ilWikiImportantPagesBlockGUI\getHTML().
ilBlockGUI::getImage | ( | ) |
Get Image.
Definition at line 220 of file class.ilBlockGUI.php.
References $image.
Referenced by fillHeaderTitleBlock().
ilBlockGUI::getLimit | ( | ) |
Get Limit.
Definition at line 268 of file class.ilBlockGUI.php.
Referenced by fillDataSection(), fillPreviousNext(), and setPreviousNextLinks().
|
final |
Definition at line 515 of file class.ilBlockGUI.php.
References getBlockId(), and getBlockType().
|
final |
Definition at line 500 of file class.ilBlockGUI.php.
References getBlockId(), and getBlockType().
Referenced by fillDataSection(), and setPreviousNextLinks().
ilBlockGUI::getOffset | ( | ) |
Get Offset.
Definition at line 240 of file class.ilBlockGUI.php.
Referenced by fillDataSection(), fillPreviousNext(), and setPreviousNextLinks().
ilBlockGUI::getProperty | ( | $a_property | ) |
Definition at line 479 of file class.ilBlockGUI.php.
Referenced by ilNewsForContextBlockGUI\getHTML(), ilCalendarBlockGUI\getHTML(), ilNewsForContextBlockGUI\initSettingsForm(), ilNewsForContextBlockGUI\saveSettings(), and ilNewsForContextBlockGUI\showNews().
ilBlockGUI::getRefId | ( | ) |
Get Ref Id (only used if isRepositoryObject() is true).
Definition at line 382 of file class.ilBlockGUI.php.
Referenced by ilPollBlockGUI\fillRow(), ilExternalFeedBlockGUI\getHTML(), ilPollBlockGUI\getHTML(), and getHTML().
ilBlockGUI::getRepositoryMode | ( | ) |
Get RepositoryMode.
Definition at line 308 of file class.ilBlockGUI.php.
Referenced by fillHeaderCommands(), ilNewsForContextBlockGUI\getHTML(), and getHTML().
ilBlockGUI::getRowTemplateDir | ( | ) |
Get Row Template Directory.
Definition at line 535 of file class.ilBlockGUI.php.
Referenced by fillDataSection().
ilBlockGUI::getRowTemplateName | ( | ) |
Get Row Template Name.
Definition at line 525 of file class.ilBlockGUI.php.
Referenced by fillDataSection().
|
static |
Get Screen Mode for current command.
Reimplemented in ilCalendarBlockGUI, ilPDSelectedItemsBlockGUI, ilNewsForContextBlockGUI, ilPDNewsBlockGUI, ilWikiSearchBlockGUI, ilDummyBlockGUI, ilCalendarSelectionBlockGUI, ilPDExternalFeedBlockGUI, ilPDTaggingBlockGUI, ilWikiImportantPagesBlockGUI, ilHtmlBlockGUI, ilWikiFunctionsBlockGUI, ilWikiSideBlockGUI, ilChatroomBlockGUI, ilExternalFeedBlockGUI, ilBookmarkBlockGUI, ilUsersOnlineBlockGUI, ilPollBlockGUI, ilPDNotesBlockGUI, and ilPDMailBlockGUI.
Definition at line 630 of file class.ilBlockGUI.php.
References IL_SCREEN_SIDE.
ilBlockGUI::getSubtitle | ( | ) |
Get Subtitle.
Definition at line 362 of file class.ilBlockGUI.php.
ilBlockGUI::getTitle | ( | ) |
Get Title.
Definition at line 200 of file class.ilBlockGUI.php.
Referenced by ilWikiFunctionsBlockGUI\fillDataSection(), fillHeaderTitleBlock(), ilPDNewsBlockGUI\getHTML(), ilBookmarkBlockGUI\getListRowData(), ilExternalFeedBlockGUI\showFeedItem(), and ilPDExternalFeedBlockGUI\showFeedItem().
ilBlockGUI::handleDetailLevel | ( | ) |
Handle read/write current detail level.
Definition at line 638 of file class.ilBlockGUI.php.
References $_GET, $block_id, $ilCtrl, $ilUser, ilBlockSetting\_lookupDetailLevel(), ilBlockSetting\_writeDetailLevel(), getBlockType(), getDetailParameter(), and setCurrentDetailLevel().
Referenced by setAvailableDetailLevels().
ilBlockGUI::ilBlockGUI | ( | ) |
Constructor.
Definition at line 48 of file class.ilBlockGUI.php.
References $ilCtrl, $ilUser, $tpl, ilYuiUtil\initConnection(), and setLimit().
Referenced by ilWikiFunctionsBlockGUI\__construct(), ilWikiSideBlockGUI\__construct(), ilWikiImportantPagesBlockGUI\__construct(), ilWikiSearchBlockGUI\__construct(), ilBookmarkBlockGUI\ilBookmarkBlockGUI(), ilCalendarBlockGUI\ilCalendarBlockGUI(), ilExternalFeedBlockGUI\ilExternalFeedBlockGUI(), ilHtmlBlockGUI\ilHtmlBlockGUI(), ilNewsForContextBlockGUI\ilNewsForContextBlockGUI(), ilPDContentBlockGUI\ilPDContentBlockGUI(), ilPDExternalFeedBlockGUI\ilPDExternalFeedBlockGUI(), ilPDNewsBlockGUI\ilPDNewsBlockGUI(), ilPDNotesBlockGUI\ilPDNotesBlockGUI(), ilPDSelectedItemsBlockGUI\ilPDSelectedItemsBlockGUI(), ilPDTaggingBlockGUI\ilPDTaggingBlockGUI(), and ilUsersOnlineBlockGUI\ilUsersOnlineBlockGUI().
|
staticabstract |
Reimplemented in ilPDSelectedItemsBlockGUI, ilCalendarBlockGUI, ilNewsForContextBlockGUI, ilPDNewsBlockGUI, ilPDContentBlockGUI, ilWikiSearchBlockGUI, ilDummyBlockGUI, ilPDExternalFeedBlockGUI, ilPDTaggingBlockGUI, ilCalendarSelectionBlockGUI, ilWikiImportantPagesBlockGUI, ilWikiFunctionsBlockGUI, ilWikiSideBlockGUI, ilExternalFeedBlockGUI, ilChatroomBlockGUI, ilBookmarkBlockGUI, ilUsersOnlineBlockGUI, ilPollBlockGUI, ilPDNotesBlockGUI, ilPDMailBlockGUI, and ilPDSysMessageBlockGUI.
Referenced by getHTML().
|
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 1364 of file class.ilBlockGUI.php.
Referenced by fillDataSection().
ilBlockGUI::setAdminCommands | ( | $a_admincommands | ) |
Set Administration Commmands.
boolean | $a_admincommands | Administration Commmands |
Definition at line 392 of file class.ilBlockGUI.php.
ilBlockGUI::setAvailableDetailLevels | ( | $a_max, | |
$a_min = 0 |
|||
) |
Set Available Detail Levels.
int | $a_max | Max Level |
int | $a_min | Min Level (Default 0) |
Definition at line 136 of file class.ilBlockGUI.php.
References handleDetailLevel().
Referenced by ilPDMailBlockGUI\__construct(), ilPDSysMessageBlockGUI\__construct(), ilChatroomBlockGUI\__construct(), ilBookmarkBlockGUI\ilBookmarkBlockGUI(), ilCalendarBlockGUI\ilCalendarBlockGUI(), ilHtmlBlockGUI\ilHtmlBlockGUI(), ilNewsForContextBlockGUI\ilNewsForContextBlockGUI(), ilPDNewsBlockGUI\ilPDNewsBlockGUI(), ilPDNotesBlockGUI\ilPDNotesBlockGUI(), ilPDSelectedItemsBlockGUI\ilPDSelectedItemsBlockGUI(), ilPDTaggingBlockGUI\ilPDTaggingBlockGUI(), ilUsersOnlineBlockGUI\ilUsersOnlineBlockGUI(), ilPDSelectedItemsBlockGUI\manageObject(), ilExternalFeedBlockGUI\setBlock(), and ilPDExternalFeedBlockGUI\setBlock().
ilBlockGUI::setBigMode | ( | $a_bigmode | ) |
Set Big Mode.
boolean | $a_bigmode | Big Mode |
Definition at line 95 of file class.ilBlockGUI.php.
Referenced by ilPDContentBlockGUI\ilPDContentBlockGUI().
ilBlockGUI::setBlockId | ( | $a_block_id = 0 | ) |
Set Block Id.
int | $a_block_id | Block ID |
Definition at line 115 of file class.ilBlockGUI.php.
Referenced by ilCalendarBlockGUI\ilCalendarBlockGUI(), ilNewsForContextBlockGUI\ilNewsForContextBlockGUI(), ilPDCalendarBlockGUI\ilPDCalendarBlockGUI(), ilPollBlockGUI\setBlock(), ilExternalFeedBlockGUI\setBlock(), ilHtmlBlockGUI\setBlock(), and ilPDExternalFeedBlockGUI\setBlock().
ilBlockGUI::setColSpan | ( | $a_colspan | ) |
Set Columns Span.
int | $a_colspan | Columns Span |
Definition at line 412 of file class.ilBlockGUI.php.
Referenced by ilBookmarkBlockGUI\fillDataSection(), ilPDMailBlockGUI\fillDataSection(), ilUsersOnlineBlockGUI\fillDataSection(), and ilCalendarBlockGUI\fillDataSection().
ilBlockGUI::setCurrentDetailLevel | ( | $a_currentdetaillevel | ) |
Set Current Detail Level.
int | $a_currentdetaillevel | Current Detail Level |
Definition at line 148 of file class.ilBlockGUI.php.
Referenced by ilPDSysMessageBlockGUI\getHTML(), ilUsersOnlineBlockGUI\getListRowData(), and handleDetailLevel().
ilBlockGUI::setData | ( | $a_data | ) |
Set Data.
array | $a_data | Data |
Definition at line 75 of file class.ilBlockGUI.php.
Referenced by ilPDMailBlockGUI\fillDataSection(), ilBookmarkBlockGUI\getHTML(), ilPDTaggingBlockGUI\getHTML(), ilExternalFeedBlockGUI\getHTML(), ilPDExternalFeedBlockGUI\getHTML(), ilPDSelectedItemsBlockGUI\getHTML(), ilPollBlockGUI\getHTML(), ilPDNotesBlockGUI\getListRowData(), ilBookmarkBlockGUI\getListRowData(), ilUsersOnlineBlockGUI\getListRowData(), ilNewsForContextBlockGUI\hideNotifications(), ilNewsForContextBlockGUI\ilNewsForContextBlockGUI(), ilPDNewsBlockGUI\ilPDNewsBlockGUI(), 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 988 of file class.ilBlockGUI.php.
Referenced by ilPDNotesBlockGUI\fillDataSection(), ilBookmarkBlockGUI\fillDataSection(), ilWikiImportantPagesBlockGUI\fillDataSection(), ilDummyBlockGUI\fillDataSection(), ilWikiSideBlockGUI\fillDataSection(), ilWikiFunctionsBlockGUI\fillDataSection(), ilWikiSearchBlockGUI\fillDataSection(), ilPDTaggingBlockGUI\fillDataSection(), ilPDMailBlockGUI\fillDataSection(), ilExternalFeedBlockGUI\fillDataSection(), ilHtmlBlockGUI\fillDataSection(), ilPDExternalFeedBlockGUI\fillDataSection(), ilUsersOnlineBlockGUI\fillDataSection(), ilPDNewsBlockGUI\fillDataSection(), ilCalendarSelectionBlockGUI\fillDataSection(), ilNewsForContextBlockGUI\fillDataSection(), ilCalendarBlockGUI\fillDataSection(), ilPDSelectedItemsBlockGUI\fillDataSection(), and ilUsersOnlineBlockGUI\getListRowData().
ilBlockGUI::setEnableDetailRow | ( | $a_enabledetailrow | ) |
Set EnableDetailRow.
boolean | $a_enabledetailrow | EnableDetailRow |
Definition at line 432 of file class.ilBlockGUI.php.
Referenced by ilPDNotesBlockGUI\fillDataSection(), ilBookmarkBlockGUI\fillDataSection(), ilPDTaggingBlockGUI\fillDataSection(), ilPDMailBlockGUI\fillDataSection(), ilPDNewsBlockGUI\fillDataSection(), and ilPDSelectedItemsBlockGUI\getHTML().
ilBlockGUI::setEnableEdit | ( | $a_enableedit | ) |
Set EnableEdit.
boolean | $a_enableedit | EnableEdit |
Reimplemented in ilCalendarBlockGUI, and ilNewsForContextBlockGUI.
Definition at line 278 of file class.ilBlockGUI.php.
ilBlockGUI::setEnableNumInfo | ( | $a_enablenuminfo | ) |
Set Enable Item Number Info.
boolean | $a_enablenuminfo | Enable Item Number Info |
Definition at line 453 of file class.ilBlockGUI.php.
Referenced by ilWikiFunctionsBlockGUI\__construct(), ilWikiSideBlockGUI\__construct(), ilWikiImportantPagesBlockGUI\__construct(), ilWikiSearchBlockGUI\__construct(), ilPDNotesBlockGUI\fillDataSection(), ilPDMailBlockGUI\fillDataSection(), ilUsersOnlineBlockGUI\fillDataSection(), ilPDNewsBlockGUI\fillDataSection(), ilCalendarBlockGUI\getData(), ilUsersOnlineBlockGUI\getListRowData(), ilExternalFeedBlockGUI\getOverview(), ilPDExternalFeedBlockGUI\getOverview(), ilBookmarkBlockGUI\ilBookmarkBlockGUI(), ilCalendarBlockGUI\ilCalendarBlockGUI(), ilHtmlBlockGUI\ilHtmlBlockGUI(), ilNewsForContextBlockGUI\ilNewsForContextBlockGUI(), ilPDContentBlockGUI\ilPDContentBlockGUI(), ilPDSelectedItemsBlockGUI\ilPDSelectedItemsBlockGUI(), ilPDTaggingBlockGUI\ilPDTaggingBlockGUI(), and ilPDSelectedItemsBlockGUI\setFooterLinks().
ilBlockGUI::setFooterInfo | ( | $a_footerinfo, | |
$a_hide_and_icon = false |
|||
) |
Set Footer Info.
string | $a_footerinfo | Footer Info |
Definition at line 318 of file class.ilBlockGUI.php.
Referenced by ilPDNewsBlockGUI\getHTML(), and ilNewsForContextBlockGUI\getHTML().
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 ilExternalFeedBlockGUIGen.
Definition at line 160 of file class.ilBlockGUI.php.
ilBlockGUI::setImage | ( | $a_image | ) |
Set Image.
string | $a_image | Image |
Definition at line 210 of file class.ilBlockGUI.php.
Referenced by ilPDMailBlockGUI\__construct(), ilPDSysMessageBlockGUI\__construct(), ilChatroomBlockGUI\__construct(), ilBookmarkBlockGUI\ilBookmarkBlockGUI(), ilCalendarBlockGUI\ilCalendarBlockGUI(), ilExternalFeedBlockGUI\ilExternalFeedBlockGUI(), ilNewsForContextBlockGUI\ilNewsForContextBlockGUI(), ilPDExternalFeedBlockGUI\ilPDExternalFeedBlockGUI(), ilPDNewsBlockGUI\ilPDNewsBlockGUI(), ilPDNotesBlockGUI\ilPDNotesBlockGUI(), ilPDTaggingBlockGUI\ilPDTaggingBlockGUI(), and ilUsersOnlineBlockGUI\ilUsersOnlineBlockGUI().
ilBlockGUI::setLimit | ( | $a_limit | ) |
Set Limit.
int | $a_limit | Limit |
Definition at line 258 of file class.ilBlockGUI.php.
Referenced by ilPDMailBlockGUI\__construct(), ilBlockGUI(), ilBookmarkBlockGUI\ilBookmarkBlockGUI(), ilCalendarBlockGUI\ilCalendarBlockGUI(), ilCalendarSelectionBlockGUI\ilCalendarSelectionBlockGUI(), ilDummyBlockGUI\ilDummyBlockGUI(), ilExternalFeedBlockGUI\ilExternalFeedBlockGUI(), ilHtmlBlockGUI\ilHtmlBlockGUI(), ilNewsForContextBlockGUI\ilNewsForContextBlockGUI(), ilPDContentBlockGUI\ilPDContentBlockGUI(), ilPDExternalFeedBlockGUI\ilPDExternalFeedBlockGUI(), ilPDNewsBlockGUI\ilPDNewsBlockGUI(), ilPDNotesBlockGUI\ilPDNotesBlockGUI(), ilPDSelectedItemsBlockGUI\ilPDSelectedItemsBlockGUI(), ilPDTaggingBlockGUI\ilPDTaggingBlockGUI(), and ilUsersOnlineBlockGUI\ilUsersOnlineBlockGUI().
ilBlockGUI::setOffset | ( | $a_offset | ) |
Set Offset.
int | $a_offset | Offset |
Definition at line 230 of file class.ilBlockGUI.php.
Referenced by correctOffset(), and fillDataSection().
ilBlockGUI::setPreviousNextLinks | ( | ) |
Get previous/next linkbar.
Definition at line 1097 of file class.ilBlockGUI.php.
References $block_id, $ilCtrl, $lng, addFooterLink(), 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 474 of file class.ilBlockGUI.php.
ilBlockGUI::setProperty | ( | $a_property, | |
$a_value | |||
) |
Definition at line 484 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 372 of file class.ilBlockGUI.php.
ilBlockGUI::setRepositoryMode | ( | $a_repositorymode | ) |
Set RepositoryMode.
boolean | $a_repositorymode | RepositoryMode |
Definition at line 298 of file class.ilBlockGUI.php.
ilBlockGUI::setRowTemplate | ( | $a_rowtemplatename, | |
$a_rowtemplatedir = "" |
|||
) |
Set Row Template Name.
string | $a_rowtemplatename | Row Template Name |
Definition at line 494 of file class.ilBlockGUI.php.
Referenced by ilPollBlockGUI\__construct(), ilPDNotesBlockGUI\fillDataSection(), ilBookmarkBlockGUI\fillDataSection(), ilPDMailBlockGUI\fillDataSection(), ilUsersOnlineBlockGUI\fillDataSection(), ilExternalFeedBlockGUI\ilExternalFeedBlockGUI(), ilNewsForContextBlockGUI\ilNewsForContextBlockGUI(), ilPDExternalFeedBlockGUI\ilPDExternalFeedBlockGUI(), and ilPDNewsBlockGUI\ilPDNewsBlockGUI().
ilBlockGUI::setSubtitle | ( | $a_subtitle | ) |
Set Subtitle.
string | $a_subtitle | Subtitle |
Definition at line 352 of file class.ilBlockGUI.php.
ilBlockGUI::setTitle | ( | $a_title | ) |
Set Title.
string | $a_title | Title |
Definition at line 190 of file class.ilBlockGUI.php.
Referenced by ilPDMailBlockGUI\__construct(), ilPDSysMessageBlockGUI\__construct(), ilWikiFunctionsBlockGUI\__construct(), ilWikiSideBlockGUI\__construct(), ilWikiImportantPagesBlockGUI\__construct(), ilChatroomBlockGUI\__construct(), ilWikiSearchBlockGUI\__construct(), ilPDSelectedItemsBlockGUI\getHTML(), ilPollBlockGUI\getHTML(), ilPDNewsBlockGUI\getHTML(), ilNewsForContextBlockGUI\getHTML(), ilBookmarkBlockGUI\getListRowData(), ilBookmarkBlockGUI\ilBookmarkBlockGUI(), ilCalendarBlockGUI\ilCalendarBlockGUI(), ilCalendarSelectionBlockGUI\ilCalendarSelectionBlockGUI(), ilNewsForContextBlockGUI\ilNewsForContextBlockGUI(), ilPDNewsBlockGUI\ilPDNewsBlockGUI(), ilPDNotesBlockGUI\ilPDNotesBlockGUI(), ilPDTaggingBlockGUI\ilPDTaggingBlockGUI(), ilUsersOnlineBlockGUI\ilUsersOnlineBlockGUI(), ilExternalFeedBlockGUI\setBlock(), ilHtmlBlockGUI\setBlock(), and ilPDExternalFeedBlockGUI\setBlock().
|
protected |
Definition at line 27 of file class.ilBlockGUI.php.
|
protected |
Definition at line 23 of file class.ilBlockGUI.php.
Referenced by getBigMode().
|
protected |
Definition at line 33 of file class.ilBlockGUI.php.
Referenced by getBlockCommands().
|
protected |
Definition at line 25 of file class.ilBlockGUI.php.
Referenced by fillDetailRow(), getBlockId(), handleDetailLevel(), ilNewsForContextBlockGUI\handleView(), ilNewsForContextBlockGUI\hideNotifications(), ilPDNewsBlockGUI\saveSettings(), ilNewsForContextBlockGUI\saveSettings(), ilBookmarkBlockGUI\setFooterLinks(), ilPDSelectedItemsBlockGUI\setFooterLinks(), ilCalendarBlockGUI\setFooterLinks(), setPreviousNextLinks(), ilNewsForContextBlockGUI\showNotifications(), and ilNewsForContextBlockGUI\showViewFooter().
|
protected |
Definition at line 35 of file class.ilBlockGUI.php.
Referenced by fillHeaderCommands().
|
protected |
Definition at line 19 of file class.ilBlockGUI.php.
Referenced by getColSpan().
|
protected |
Definition at line 39 of file class.ilBlockGUI.php.
|
protected |
Definition at line 18 of file class.ilBlockGUI.php.
Referenced by ilCalendarSelectionBlockGUI\buildPath(), fillDataSection(), getData(), ilCalendarBlockGUI\getData(), ilPDNotesBlockGUI\getListRowData(), ilBookmarkBlockGUI\getListRowData(), ilUsersOnlineBlockGUI\getListRowData(), ilPDNewsBlockGUI\getNewsData(), ilNewsForContextBlockGUI\hideNotifications(), ilNewsForContextBlockGUI\ilNewsForContextBlockGUI(), ilPDNewsBlockGUI\ilPDNewsBlockGUI(), and ilNewsForContextBlockGUI\showNotifications().
|
protected |
Definition at line 22 of file class.ilBlockGUI.php.
|
protected |
Definition at line 21 of file class.ilBlockGUI.php.
Referenced by fillDetailRow().
|
protected |
Definition at line 41 of file class.ilBlockGUI.php.
Referenced by getHTML().
|
protected |
Definition at line 29 of file class.ilBlockGUI.php.
Referenced by getEnableDetailRow().
|
protected |
Definition at line 20 of file class.ilBlockGUI.php.
Referenced by getEnableNumInfo().
|
protected |
Definition at line 24 of file class.ilBlockGUI.php.
Referenced by getFooterLinks().
|
protected |
Definition at line 31 of file class.ilBlockGUI.php.
Referenced by getFooterInfo().
|
protected |
Definition at line 32 of file class.ilBlockGUI.php.
Referenced by getFooterInfo().
|
protected |
Definition at line 26 of file class.ilBlockGUI.php.
Referenced by getHeaderCommands().
|
protected |
Definition at line 30 of file class.ilBlockGUI.php.
Referenced by getHeaderLinks().
|
protected |
Definition at line 36 of file class.ilBlockGUI.php.
Referenced by getImage().
|
protected |
Definition at line 34 of file class.ilBlockGUI.php.
Referenced by fillPreviousNext().
|
protected |
Definition at line 28 of file class.ilBlockGUI.php.
|
protected |
Definition at line 38 of file class.ilBlockGUI.php.
Referenced by fillDataSection().
|
protected |
Definition at line 37 of file class.ilBlockGUI.php.