ILIAS
eassessment Revision 61809
|
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) | |
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) | |
Add a footer text/link. | |
getFooterLinks () | |
Get footer links. | |
clearFooterLinks () | |
Clear footer links. | |
handleDetailLevel () | |
Handle read/write current detail level. | |
setConfigMode ($a_configmode) | |
Handle config status. | |
getConfigMode () | |
Get Config Mode (move blocks). | |
getHTML () | |
Get HTML. | |
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. | |
fillMoveRow () | |
Fill row for Moving. | |
getAllowMove ($a_direction) | |
setAllowMove ($a_direction, $a_allow=true) | |
fillMoveLink ($a_value, $a_img, $a_txt) |
Static Public Member Functions | |
static | getBlockType () |
static | isRepositoryObject () |
static | getScreenMode () |
Get Screen Mode for current command. |
Protected Member Functions | |
fillRowColor ($a_placeholder="CSS_ROW") |
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 = "" |
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 |
|||
) |
Add Block Command.
string | $a_href | command link target |
string | $a_text | text |
Definition at line 544 of file class.ilBlockGUI.php.
Referenced by ilExternalFeedBlockGUI\getHTML(), ilPDExternalFeedBlockGUI\getHTML(), ilPDNewsBlockGUI\getHTML(), ilNewsForContextBlockGUI\getHTML(), ilCalendarBlockGUI\getHTML(), and getHTML().
ilBlockGUI::addFooterLink | ( | $a_text, | |
$a_href = "" , |
|||
$a_onclick = "" , |
|||
$a_block_id = "" , |
|||
$a_top = false , |
|||
$a_omit_separator = false |
|||
) |
Add a footer text/link.
Definition at line 595 of file class.ilBlockGUI.php.
Referenced by ilBookmarkBlockGUI\setFooterLinks(), ilPDSelectedItemsBlockGUI\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 568 of file class.ilBlockGUI.php.
ilBlockGUI::addHeaderLink | ( | $a_href, | |
$a_text, | |||
$status = true |
|||
) |
Definition at line 57 of file class.ilBlockGUI.php.
Referenced by ilPDSelectedItemsBlockGUI\getHTML().
ilBlockGUI::clearFooterLinks | ( | ) |
Clear footer links.
Definition at line 618 of file class.ilBlockGUI.php.
Referenced by ilNewsForContextBlockGUI\showViewFooter().
ilBlockGUI::correctOffset | ( | ) |
Definition at line 243 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, ilPDNewsBlockGUI, ilUsersOnlineBlockGUI, ilPDExternalFeedBlockGUI, ilPDMailBlockGUI, ilHtmlBlockGUI, ilExternalFeedBlockGUI, ilPDTaggingBlockGUI, ilBookmarkBlockGUI, ilDummyBlockGUI, ilPDFeedbackBlockGUI, ilPDContentBlockGUI, and ilPDNotesBlockGUI.
Definition at line 988 of file class.ilBlockGUI.php.
References $_GET, $_POST, $_SESSION, $data, $nav_value, correctOffset(), fillRow(), fillRowColor(), getData(), getLimit(), getNavParameter(), getOffset(), getRowTemplateDir(), getRowTemplateName(), and setOffset().
Referenced by getHTML().
ilBlockGUI::fillDetailRow | ( | ) |
Fill Detail Setting Row.
Definition at line 1236 of file class.ilBlockGUI.php.
References $detail_min, $ilCtrl, $lng, getBlockId(), getBlockType(), getColSpan(), getCurrentDetailLevel(), getDetailParameter(), getFooterInfo(), ilUtil\getImagePath(), and getTitle().
Referenced by getHTML().
ilBlockGUI::fillFooter | ( | ) |
Reimplemented in ilNewsForContextBlockGUI, ilPDSelectedItemsBlockGUI, ilPDTaggingBlockGUI, ilBookmarkBlockGUI, and ilPDContentBlockGUI.
Definition at line 1036 of file class.ilBlockGUI.php.
Referenced by getHTML().
ilBlockGUI::fillFooterLinks | ( | $a_top = false , |
|
$a_numinfo = "" |
|||
) |
Fill footer links.
Definition at line 1163 of file class.ilBlockGUI.php.
References $ilCtrl, $lng, getColSpan(), and getFooterLinks().
Referenced by ilPDContentBlockGUI\fillFooter(), ilBookmarkBlockGUI\fillFooter(), ilPDTaggingBlockGUI\fillFooter(), ilPDSelectedItemsBlockGUI\fillFooter(), fillPreviousNext(), and ilNewsForContextBlockGUI\showViewFooter().
ilBlockGUI::fillHeaderCommands | ( | ) |
Fill header commands block.
Definition at line 876 of file class.ilBlockGUI.php.
References $command, $ilCtrl, $lng, getBigMode(), getDetailParameter(), getHeaderCommands(), ilUtil\getImagePath(), getRepositoryMode(), and getTitle().
Referenced by getHTML().
ilBlockGUI::fillHeaderTitleBlock | ( | ) |
Fill header title block (title and.
Definition at line 943 of file class.ilBlockGUI.php.
References $lng, getBlockType(), getImage(), and getTitle().
Referenced by getHTML().
ilBlockGUI::fillMoveLink | ( | $a_value, | |
$a_img, | |||
$a_txt | |||
) |
Definition at line 1383 of file class.ilBlockGUI.php.
References $ilCtrl, $lng, getBlockId(), getBlockType(), and ilUtil\getImagePath().
Referenced by fillMoveRow().
ilBlockGUI::fillMoveRow | ( | ) |
Fill row for Moving.
Definition at line 1343 of file class.ilBlockGUI.php.
References $ilCtrl, $lng, fillMoveLink(), getAllowMove(), and getMoveParameter().
Referenced by getHTML().
ilBlockGUI::fillPreviousNext | ( | ) |
Fill previous/next row.
Reimplemented in ilPDContentBlockGUI.
Definition at line 1051 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 ilCalendarBlockGUI, ilNewsForContextBlockGUI, ilBookmarkBlockGUI, ilPDExternalFeedBlockGUI, ilExternalFeedBlockGUI, ilUsersOnlineBlockGUI, ilPDMailBlockGUI, ilPDNotesBlockGUI, and ilPDFeedbackBlockGUI.
Definition at line 1028 of file class.ilBlockGUI.php.
Referenced by fillDataSection().
|
finalprotected |
Definition at line 1040 of file class.ilBlockGUI.php.
Referenced by fillDataSection().
ilBlockGUI::getAdminCommands | ( | ) |
Get Administration Commmands.
Definition at line 400 of file class.ilBlockGUI.php.
Referenced by getHTML().
ilBlockGUI::getAllowMove | ( | $a_direction | ) |
Definition at line 1372 of file class.ilBlockGUI.php.
Referenced by fillMoveRow().
ilBlockGUI::getBigMode | ( | ) |
Get Big Mode.
Definition at line 103 of file class.ilBlockGUI.php.
References $bigmode.
Referenced by fillHeaderCommands(), and getHTML().
ilBlockGUI::getBlockCommands | ( | ) |
Get Block commands.
Definition at line 557 of file class.ilBlockGUI.php.
References $block_commands.
Referenced by getHTML().
ilBlockGUI::getBlockId | ( | ) |
Get Block Id.
Definition at line 123 of file class.ilBlockGUI.php.
References $block_id.
Referenced by ilCalendarBlockGUI\addMiniMonth(), fillDetailRow(), fillMoveLink(), 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, ilPDNewsBlockGUI, ilNewsForContextBlockGUI, ilPDExternalFeedBlockGUI, ilPDMailBlockGUI, ilHtmlBlockGUI, ilBookmarkBlockGUI, ilPDCalendarBlockGUI, ilPDTaggingBlockGUI, ilPDFeedbackBlockGUI, ilPDContentBlockGUI, ilDummyBlockGUI, ilPDSysMessageBlockGUI, ilExternalFeedBlockGUI, ilUsersOnlineBlockGUI, and ilPDNotesBlockGUI.
Referenced by fillDetailRow(), fillHeaderTitleBlock(), fillMoveLink(), getConfigParameter(), getDetailParameter(), getHTML(), getMoveParameter(), getNavParameter(), handleDetailLevel(), and setPreviousNextLinks().
ilBlockGUI::getColSpan | ( | ) |
Get Columns Span.
Definition at line 420 of file class.ilBlockGUI.php.
References $colspan.
Referenced by fillDetailRow(), ilBookmarkBlockGUI\fillFooter(), ilPDTaggingBlockGUI\fillFooter(), ilPDSelectedItemsBlockGUI\fillFooter(), fillFooterLinks(), and getHTML().
ilBlockGUI::getConfigMode | ( | ) |
Get Config Mode (move blocks).
Definition at line 697 of file class.ilBlockGUI.php.
|
final |
Definition at line 508 of file class.ilBlockGUI.php.
References getBlockId(), and getBlockType().
ilBlockGUI::getCurrentDetailLevel | ( | ) |
Get Current Detail Level.
Definition at line 178 of file class.ilBlockGUI.php.
Referenced by ilPDNotesBlockGUI\fillDataSection(), ilPDFeedbackBlockGUI\fillDataSection(), ilBookmarkBlockGUI\fillDataSection(), ilPDTaggingBlockGUI\fillDataSection(), ilExternalFeedBlockGUI\fillDataSection(), ilPDExternalFeedBlockGUI\fillDataSection(), ilPDMailBlockGUI\fillDataSection(), ilUsersOnlineBlockGUI\fillDataSection(), ilPDNewsBlockGUI\fillDataSection(), ilNewsForContextBlockGUI\fillDataSection(), ilCalendarBlockGUI\fillDataSection(), fillDetailRow(), ilPDNotesBlockGUI\fillRow(), ilPDMailBlockGUI\fillRow(), ilUsersOnlineBlockGUI\fillRow(), ilBookmarkBlockGUI\fillRow(), ilNewsForContextBlockGUI\fillRow(), ilPDSysMessageBlockGUI\getHTML(), ilPDNotesBlockGUI\getHTML(), ilBookmarkBlockGUI\getHTML(), ilPDTaggingBlockGUI\getHTML(), ilUsersOnlineBlockGUI\getHTML(), ilPDMailBlockGUI\getHTML(), ilHtmlBlockGUI\getHTML(), ilExternalFeedBlockGUI\getHTML(), ilPDExternalFeedBlockGUI\getHTML(), ilPDNewsBlockGUI\getHTML(), ilCalendarBlockGUI\getHTML(), ilPDSelectedItemsBlockGUI\getMembershipItemsPerLocation(), ilPDSelectedItemsBlockGUI\getMembershipItemsPerType(), ilBookmarkBlockGUI\getPDBookmarkListHTMLTree(), ilPDSelectedItemsBlockGUI\getSelectedItemsPerLocation(), ilPDSelectedItemsBlockGUI\getSelectedItemsPerType(), ilPDTaggingBlockGUI\getTagCloud(), ilNewsForContextBlockGUI\ilNewsForContextBlockGUI(), and ilPDNewsBlockGUI\ilPDNewsBlockGUI().
ilBlockGUI::getData | ( | ) |
Get Data.
Definition at line 83 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 503 of file class.ilBlockGUI.php.
References getBlockId(), and getBlockType().
Referenced by fillDetailRow(), fillHeaderCommands(), and handleDetailLevel().
ilBlockGUI::getEnableDetailRow | ( | ) |
Get EnableDetailRow.
Definition at line 440 of file class.ilBlockGUI.php.
References $enabledetailrow.
ilBlockGUI::getEnableEdit | ( | ) |
Get EnableEdit.
Reimplemented in ilCalendarBlockGUI, and ilNewsForContextBlockGUI.
Definition at line 286 of file class.ilBlockGUI.php.
ilBlockGUI::getEnableNumInfo | ( | ) |
Get Enable Item Number Info.
Definition at line 461 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 333 of file class.ilBlockGUI.php.
References $footerinfo, and $footerinfo_icon.
Referenced by fillDetailRow(), and getHTML().
ilBlockGUI::getFooterLinks | ( | ) |
Get footer links.
Definition at line 610 of file class.ilBlockGUI.php.
References $footer_links.
Referenced by fillFooterLinks().
ilBlockGUI::getGuiObject | ( | ) |
Get GuiObject.
Reimplemented in ilExternalFeedBlockGUIGen.
Definition at line 168 of file class.ilBlockGUI.php.
ilBlockGUI::getHeaderCommands | ( | ) |
Get Header Block commands.
Definition at line 587 of file class.ilBlockGUI.php.
References $header_commands.
Referenced by fillHeaderCommands().
ilBlockGUI::getHeaderLinks | ( | ) |
Definition at line 63 of file class.ilBlockGUI.php.
References $header_links.
Referenced by getHTML().
ilBlockGUI::getHTML | ( | ) |
Get HTML.
Reimplemented in ilCalendarBlockGUI, ilNewsForContextBlockGUI, ilPDNewsBlockGUI, ilPDSelectedItemsBlockGUI, ilPDExternalFeedBlockGUI, ilExternalFeedBlockGUI, ilDummyBlockGUI, ilHtmlBlockGUI, ilPDMailBlockGUI, ilUsersOnlineBlockGUI, ilPDTaggingBlockGUI, ilBookmarkBlockGUI, ilPDFeedbackBlockGUI, ilPDContentBlockGUI, ilPDNotesBlockGUI, and ilPDSysMessageBlockGUI.
Definition at line 705 of file class.ilBlockGUI.php.
References $_GET, $command, $ilCtrl, $lng, addBlockCommand(), fillDataSection(), fillDetailRow(), fillFooter(), fillHeaderCommands(), fillHeaderTitleBlock(), fillMoveRow(), fillPreviousNext(), getAdminCommands(), getBigMode(), getBlockCommands(), getBlockType(), getColSpan(), getFooterInfo(), getHeaderLinks(), getRefId(), getRepositoryMode(), and isRepositoryObject().
ilBlockGUI::getImage | ( | ) |
Get Image.
Definition at line 218 of file class.ilBlockGUI.php.
References $image.
Referenced by fillHeaderTitleBlock().
ilBlockGUI::getLimit | ( | ) |
Get Limit.
Definition at line 266 of file class.ilBlockGUI.php.
Referenced by fillDataSection(), fillPreviousNext(), and setPreviousNextLinks().
|
final |
Definition at line 513 of file class.ilBlockGUI.php.
References getBlockId(), and getBlockType().
Referenced by fillMoveRow().
|
final |
Definition at line 498 of file class.ilBlockGUI.php.
References getBlockId(), and getBlockType().
Referenced by fillDataSection(), and setPreviousNextLinks().
ilBlockGUI::getOffset | ( | ) |
Get Offset.
Definition at line 238 of file class.ilBlockGUI.php.
Referenced by fillDataSection(), fillPreviousNext(), and setPreviousNextLinks().
ilBlockGUI::getProperty | ( | $a_property | ) |
Definition at line 477 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 380 of file class.ilBlockGUI.php.
Referenced by ilExternalFeedBlockGUI\getHTML(), and getHTML().
ilBlockGUI::getRepositoryMode | ( | ) |
Get RepositoryMode.
Definition at line 306 of file class.ilBlockGUI.php.
Referenced by fillHeaderCommands(), ilNewsForContextBlockGUI\getHTML(), and getHTML().
ilBlockGUI::getRowTemplateDir | ( | ) |
Get Row Template Directory.
Definition at line 533 of file class.ilBlockGUI.php.
Referenced by fillDataSection().
ilBlockGUI::getRowTemplateName | ( | ) |
Get Row Template Name.
Definition at line 523 of file class.ilBlockGUI.php.
Referenced by fillDataSection().
|
static |
Get Screen Mode for current command.
Reimplemented in ilCalendarBlockGUI, ilPDNewsBlockGUI, ilNewsForContextBlockGUI, ilDummyBlockGUI, ilPDExternalFeedBlockGUI, ilPDMailBlockGUI, ilBookmarkBlockGUI, ilPDTaggingBlockGUI, ilPDFeedbackBlockGUI, ilHtmlBlockGUI, ilExternalFeedBlockGUI, ilUsersOnlineBlockGUI, and ilPDNotesBlockGUI.
Definition at line 626 of file class.ilBlockGUI.php.
References IL_SCREEN_SIDE.
ilBlockGUI::getSubtitle | ( | ) |
Get Subtitle.
Definition at line 360 of file class.ilBlockGUI.php.
ilBlockGUI::getTitle | ( | ) |
Get Title.
Definition at line 198 of file class.ilBlockGUI.php.
References $title.
Referenced by fillDetailRow(), fillHeaderCommands(), fillHeaderTitleBlock(), ilPDNewsBlockGUI\getHTML(), ilBookmarkBlockGUI\getListRowData(), ilExternalFeedBlockGUI\showFeedItem(), and ilPDExternalFeedBlockGUI\showFeedItem().
ilBlockGUI::handleDetailLevel | ( | ) |
Handle read/write current detail level.
Definition at line 634 of file class.ilBlockGUI.php.
References $_GET, $block_id, ilBlockSetting\_lookupDetailLevel(), ilBlockSetting\_writeDetailLevel(), getBlockType(), getDetailParameter(), and setCurrentDetailLevel().
Referenced by setAvailableDetailLevels().
ilBlockGUI::ilBlockGUI | ( | ) |
Constructor.
Definition at line 46 of file class.ilBlockGUI.php.
References $ilCtrl, $tpl, ilYuiUtil\initConnection(), and setLimit().
Referenced by ilBookmarkBlockGUI\ilBookmarkBlockGUI(), ilCalendarBlockGUI\ilCalendarBlockGUI(), ilExternalFeedBlockGUI\ilExternalFeedBlockGUI(), ilHtmlBlockGUI\ilHtmlBlockGUI(), ilNewsForContextBlockGUI\ilNewsForContextBlockGUI(), ilPDContentBlockGUI\ilPDContentBlockGUI(), ilPDExternalFeedBlockGUI\ilPDExternalFeedBlockGUI(), ilPDFeedbackBlockGUI\ilPDFeedbackBlockGUI(), ilPDMailBlockGUI\ilPDMailBlockGUI(), ilPDNewsBlockGUI\ilPDNewsBlockGUI(), ilPDNotesBlockGUI\ilPDNotesBlockGUI(), ilPDSelectedItemsBlockGUI\ilPDSelectedItemsBlockGUI(), ilPDTaggingBlockGUI\ilPDTaggingBlockGUI(), and ilUsersOnlineBlockGUI\ilUsersOnlineBlockGUI().
|
staticabstract |
Reimplemented in ilPDSelectedItemsBlockGUI, ilCalendarBlockGUI, ilPDNewsBlockGUI, ilNewsForContextBlockGUI, ilPDContentBlockGUI, ilDummyBlockGUI, ilPDExternalFeedBlockGUI, ilPDMailBlockGUI, ilBookmarkBlockGUI, ilPDTaggingBlockGUI, ilPDFeedbackBlockGUI, ilPDSysMessageBlockGUI, ilExternalFeedBlockGUI, ilUsersOnlineBlockGUI, and ilPDNotesBlockGUI.
Referenced by getHTML().
ilBlockGUI::setAdminCommands | ( | $a_admincommands | ) |
Set Administration Commmands.
boolean | $a_admincommands | Administration Commmands |
Definition at line 390 of file class.ilBlockGUI.php.
ilBlockGUI::setAllowMove | ( | $a_direction, | |
$a_allow = true |
|||
) |
Definition at line 1377 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 134 of file class.ilBlockGUI.php.
References handleDetailLevel().
Referenced by ilBookmarkBlockGUI\ilBookmarkBlockGUI(), ilCalendarBlockGUI\ilCalendarBlockGUI(), ilHtmlBlockGUI\ilHtmlBlockGUI(), ilNewsForContextBlockGUI\ilNewsForContextBlockGUI(), ilPDFeedbackBlockGUI\ilPDFeedbackBlockGUI(), ilPDMailBlockGUI\ilPDMailBlockGUI(), ilPDNewsBlockGUI\ilPDNewsBlockGUI(), ilPDNotesBlockGUI\ilPDNotesBlockGUI(), ilPDSelectedItemsBlockGUI\ilPDSelectedItemsBlockGUI(), ilPDSysMessageBlockGUI\ilPDSysMessageBlockGUI(), ilPDTaggingBlockGUI\ilPDTaggingBlockGUI(), ilUsersOnlineBlockGUI\ilUsersOnlineBlockGUI(), ilExternalFeedBlockGUI\setBlock(), and ilPDExternalFeedBlockGUI\setBlock().
ilBlockGUI::setBigMode | ( | $a_bigmode | ) |
Set Big Mode.
boolean | $a_bigmode | Big Mode |
Definition at line 93 of file class.ilBlockGUI.php.
Referenced by ilPDContentBlockGUI\ilPDContentBlockGUI(), and ilPDSelectedItemsBlockGUI\ilPDSelectedItemsBlockGUI().
ilBlockGUI::setBlockId | ( | $a_block_id = 0 | ) |
Set Block Id.
int | $a_block_id | Block ID |
Definition at line 113 of file class.ilBlockGUI.php.
Referenced by ilCalendarBlockGUI\ilCalendarBlockGUI(), ilNewsForContextBlockGUI\ilNewsForContextBlockGUI(), ilPDCalendarBlockGUI\ilPDCalendarBlockGUI(), ilExternalFeedBlockGUI\setBlock(), ilHtmlBlockGUI\setBlock(), and ilPDExternalFeedBlockGUI\setBlock().
ilBlockGUI::setColSpan | ( | $a_colspan | ) |
Set Columns Span.
int | $a_colspan | Columns Span |
Definition at line 410 of file class.ilBlockGUI.php.
Referenced by ilBookmarkBlockGUI\fillDataSection(), ilPDMailBlockGUI\fillDataSection(), ilUsersOnlineBlockGUI\fillDataSection(), and ilPDSelectedItemsBlockGUI\ilPDSelectedItemsBlockGUI().
ilBlockGUI::setConfigMode | ( | $a_configmode | ) |
Handle config status.
Set Config Mode (move blocks).
boolean | $a_configmode | Config Mode (move blocks) |
Definition at line 687 of file class.ilBlockGUI.php.
ilBlockGUI::setCurrentDetailLevel | ( | $a_currentdetaillevel | ) |
Set Current Detail Level.
int | $a_currentdetaillevel | Current Detail Level |
Definition at line 146 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 73 of file class.ilBlockGUI.php.
Referenced by ilPDFeedbackBlockGUI\fillDataSection(), ilPDMailBlockGUI\fillDataSection(), ilBookmarkBlockGUI\getHTML(), ilPDTaggingBlockGUI\getHTML(), ilExternalFeedBlockGUI\getHTML(), ilPDExternalFeedBlockGUI\getHTML(), ilPDSelectedItemsBlockGUI\getHTML(), ilPDNotesBlockGUI\getListRowData(), ilUsersOnlineBlockGUI\getListRowData(), ilBookmarkBlockGUI\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 977 of file class.ilBlockGUI.php.
Referenced by ilPDNotesBlockGUI\fillDataSection(), ilPDFeedbackBlockGUI\fillDataSection(), ilDummyBlockGUI\fillDataSection(), ilBookmarkBlockGUI\fillDataSection(), ilPDTaggingBlockGUI\fillDataSection(), ilExternalFeedBlockGUI\fillDataSection(), ilHtmlBlockGUI\fillDataSection(), ilPDMailBlockGUI\fillDataSection(), ilPDExternalFeedBlockGUI\fillDataSection(), ilUsersOnlineBlockGUI\fillDataSection(), ilPDNewsBlockGUI\fillDataSection(), ilNewsForContextBlockGUI\fillDataSection(), ilCalendarBlockGUI\fillDataSection(), ilPDSelectedItemsBlockGUI\fillDataSection(), and ilUsersOnlineBlockGUI\getListRowData().
ilBlockGUI::setEnableDetailRow | ( | $a_enabledetailrow | ) |
Set EnableDetailRow.
boolean | $a_enabledetailrow | EnableDetailRow |
Definition at line 430 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 276 of file class.ilBlockGUI.php.
ilBlockGUI::setEnableNumInfo | ( | $a_enablenuminfo | ) |
Set Enable Item Number Info.
boolean | $a_enablenuminfo | Enable Item Number Info |
Definition at line 451 of file class.ilBlockGUI.php.
Referenced by ilPDNotesBlockGUI\fillDataSection(), ilPDFeedbackBlockGUI\fillDataSection(), ilPDMailBlockGUI\fillDataSection(), ilUsersOnlineBlockGUI\fillDataSection(), ilPDNewsBlockGUI\fillDataSection(), 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 316 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 158 of file class.ilBlockGUI.php.
ilBlockGUI::setImage | ( | $a_image | ) |
Set Image.
string | $a_image | Image |
Definition at line 208 of file class.ilBlockGUI.php.
Referenced by ilBookmarkBlockGUI\ilBookmarkBlockGUI(), ilCalendarBlockGUI\ilCalendarBlockGUI(), ilExternalFeedBlockGUI\ilExternalFeedBlockGUI(), ilNewsForContextBlockGUI\ilNewsForContextBlockGUI(), ilPDExternalFeedBlockGUI\ilPDExternalFeedBlockGUI(), ilPDFeedbackBlockGUI\ilPDFeedbackBlockGUI(), ilPDMailBlockGUI\ilPDMailBlockGUI(), ilPDNewsBlockGUI\ilPDNewsBlockGUI(), ilPDNotesBlockGUI\ilPDNotesBlockGUI(), ilPDSysMessageBlockGUI\ilPDSysMessageBlockGUI(), ilPDTaggingBlockGUI\ilPDTaggingBlockGUI(), and ilUsersOnlineBlockGUI\ilUsersOnlineBlockGUI().
ilBlockGUI::setLimit | ( | $a_limit | ) |
Set Limit.
int | $a_limit | Limit |
Definition at line 256 of file class.ilBlockGUI.php.
Referenced by ilBlockGUI(), ilBookmarkBlockGUI\ilBookmarkBlockGUI(), ilCalendarBlockGUI\ilCalendarBlockGUI(), ilDummyBlockGUI\ilDummyBlockGUI(), ilExternalFeedBlockGUI\ilExternalFeedBlockGUI(), ilHtmlBlockGUI\ilHtmlBlockGUI(), ilNewsForContextBlockGUI\ilNewsForContextBlockGUI(), ilPDContentBlockGUI\ilPDContentBlockGUI(), ilPDExternalFeedBlockGUI\ilPDExternalFeedBlockGUI(), ilPDFeedbackBlockGUI\ilPDFeedbackBlockGUI(), ilPDMailBlockGUI\ilPDMailBlockGUI(), ilPDNewsBlockGUI\ilPDNewsBlockGUI(), ilPDNotesBlockGUI\ilPDNotesBlockGUI(), ilPDSelectedItemsBlockGUI\ilPDSelectedItemsBlockGUI(), ilPDTaggingBlockGUI\ilPDTaggingBlockGUI(), and ilUsersOnlineBlockGUI\ilUsersOnlineBlockGUI().
ilBlockGUI::setOffset | ( | $a_offset | ) |
Set Offset.
int | $a_offset | Offset |
Definition at line 228 of file class.ilBlockGUI.php.
Referenced by correctOffset(), and fillDataSection().
ilBlockGUI::setPreviousNextLinks | ( | ) |
Get previous/next linkbar.
Definition at line 1084 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 472 of file class.ilBlockGUI.php.
ilBlockGUI::setProperty | ( | $a_property, | |
$a_value | |||
) |
Definition at line 482 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 370 of file class.ilBlockGUI.php.
ilBlockGUI::setRepositoryMode | ( | $a_repositorymode | ) |
Set RepositoryMode.
boolean | $a_repositorymode | RepositoryMode |
Definition at line 296 of file class.ilBlockGUI.php.
ilBlockGUI::setRowTemplate | ( | $a_rowtemplatename, | |
$a_rowtemplatedir = "" |
|||
) |
Set Row Template Name.
string | $a_rowtemplatename | Row Template Name |
Definition at line 492 of file class.ilBlockGUI.php.
Referenced by ilPDNotesBlockGUI\fillDataSection(), ilPDFeedbackBlockGUI\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 350 of file class.ilBlockGUI.php.
ilBlockGUI::setTitle | ( | $a_title | ) |
Set Title.
string | $a_title | Title |
Definition at line 188 of file class.ilBlockGUI.php.
Referenced by ilPDSelectedItemsBlockGUI\getHTML(), ilPDNewsBlockGUI\getHTML(), ilNewsForContextBlockGUI\getHTML(), ilBookmarkBlockGUI\getListRowData(), ilBookmarkBlockGUI\ilBookmarkBlockGUI(), ilCalendarBlockGUI\ilCalendarBlockGUI(), ilNewsForContextBlockGUI\ilNewsForContextBlockGUI(), ilPDFeedbackBlockGUI\ilPDFeedbackBlockGUI(), ilPDMailBlockGUI\ilPDMailBlockGUI(), ilPDNewsBlockGUI\ilPDNewsBlockGUI(), ilPDNotesBlockGUI\ilPDNotesBlockGUI(), ilPDSysMessageBlockGUI\ilPDSysMessageBlockGUI(), 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 getBlockId(), handleDetailLevel(), ilNewsForContextBlockGUI\handleView(), ilNewsForContextBlockGUI\hideNotifications(), ilPDNewsBlockGUI\saveSettings(), ilNewsForContextBlockGUI\saveSettings(), ilBookmarkBlockGUI\setFooterLinks(), ilPDSelectedItemsBlockGUI\setFooterLinks(), setPreviousNextLinks(), ilNewsForContextBlockGUI\showNotifications(), and ilNewsForContextBlockGUI\showViewFooter().
|
protected |
Definition at line 35 of file class.ilBlockGUI.php.
|
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 fillDataSection(), getData(), ilPDNotesBlockGUI\getListRowData(), ilUsersOnlineBlockGUI\getListRowData(), ilBookmarkBlockGUI\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 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.