ILIAS
Release_4_2_x_branch Revision 61807
|
BlockGUI class for external feed block on the personal desktop. More...
Public Member Functions | |
ilPDExternalFeedBlockGUI () | |
Constructor. | |
setBlock ($a_block) | |
Do most of the initialisation. | |
& | executeCommand () |
execute command | |
fillDataSection () | |
Fill data section. | |
getHTML () | |
Get block HTML code. | |
getDynamic () | |
getDynamicReload () | |
getJSEnabler () | |
disableJS () | |
enableJS () | |
fillRow ($item) | |
Fill feed item row. | |
getOverview () | |
Get overview. | |
showFeedItem () | |
Show Feed Item. | |
create () | |
Create Form for Block. | |
initFormFeedBlock ($a_mode) | |
FORM FeedBlock: Init form. | |
prepareSaveFeedBlock (&$a_feed_block) | |
FORM FeedBlock: Prepare Saving of FeedBlock. | |
confirmDeleteFeedBlock () | |
Confirmation of feed block deletion. | |
exitDeleteFeedBlock () | |
Cancel deletion of feed block. | |
deleteFeedBlock () | |
Delete feed block. | |
Public Member Functions inherited from ilExternalFeedBlockGUIGen | |
__construct () | |
Constructor. | |
setGuiObject (&$a_gui_object) | |
Set GuiObject. | |
getGuiObject () | |
Get GuiObject. | |
setFormEditMode ($a_form_edit_mode) | |
Set FormEditMode. | |
getFormEditMode () | |
Get FormEditMode. | |
createFeedBlock () | |
FORM FeedBlock: Create ExternalFeedBlock. | |
editFeedBlock () | |
FORM FeedBlock: Edit form. | |
saveFeedBlock () | |
FORM FeedBlock: Save ExternalFeedBlock. | |
updateFeedBlock () | |
FORM FeedBlock: Update ExternalFeedBlock. | |
getValuesFeedBlock () | |
FORM FeedBlock: Get current values for ExternalFeedBlock form. | |
cancelSaveFeedBlock () | |
FORM FeedBlock: Cancel save. | |
cancelUpdateFeedBlock () | |
FORM FeedBlock: Cancel update. | |
exitSaveFeedBlock () | |
FORM FeedBlock: Exit save. | |
exitUpdateFeedBlock () | |
FORM FeedBlock: Exit update. | |
prepareFormFeedBlock (&$a_form_gui) | |
FORM FeedBlock: Prepare form. | |
Public Member Functions inherited from ilBlockGUI | |
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. | |
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). | |
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. | |
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 () |
Get block type. | |
static | isRepositoryObject () |
Get block type. | |
static | getScreenMode () |
Get Screen Mode for current command. |
Static Public Attributes | |
static | $block_type = "pdfeed" |
Additional Inherited Members | |
Protected Member Functions inherited from ilBlockGUI | |
fillRowColor ($a_placeholder="CSS_ROW") | |
Protected Attributes inherited from ilExternalFeedBlockGUIGen | |
$gui_object | |
$form_edit_mode |
BlockGUI class for external feed block on the personal desktop.
Within the repository ilExternalFeedBlockGUI is used. is used.
ilPDExternalFeedBlockGUI: ilColumnGUI
Definition at line 39 of file class.ilPDExternalFeedBlockGUI.php.
ilPDExternalFeedBlockGUI::confirmDeleteFeedBlock | ( | ) |
Confirmation of feed block deletion.
Definition at line 457 of file class.ilPDExternalFeedBlockGUI.php.
References $ilCtrl, $lng, and ilUtil\getImagePath().
ilPDExternalFeedBlockGUI::create | ( | ) |
Create Form for Block.
Definition at line 385 of file class.ilPDExternalFeedBlockGUI.php.
References ilExternalFeedBlockGUIGen\createFeedBlock().
ilPDExternalFeedBlockGUI::deleteFeedBlock | ( | ) |
Delete feed block.
Definition at line 491 of file class.ilPDExternalFeedBlockGUI.php.
References $ilCtrl.
ilPDExternalFeedBlockGUI::disableJS | ( | ) |
ilPDExternalFeedBlockGUI::enableJS | ( | ) |
& ilPDExternalFeedBlockGUI::executeCommand | ( | ) |
execute command
Reimplemented from ilExternalFeedBlockGUIGen.
Definition at line 132 of file class.ilPDExternalFeedBlockGUI.php.
ilPDExternalFeedBlockGUI::exitDeleteFeedBlock | ( | ) |
Cancel deletion of feed block.
Definition at line 481 of file class.ilPDExternalFeedBlockGUI.php.
References $ilCtrl.
ilPDExternalFeedBlockGUI::fillDataSection | ( | ) |
Fill data section.
Reimplemented from ilBlockGUI.
Definition at line 149 of file class.ilPDExternalFeedBlockGUI.php.
References ilBlockGUI\getCurrentDetailLevel(), ilBlockGUI\getData(), getDynamic(), getDynamicReload(), getOverview(), and ilBlockGUI\setDataSection().
ilPDExternalFeedBlockGUI::fillRow | ( | $item | ) |
Fill feed item row.
Reimplemented from ilBlockGUI.
Definition at line 299 of file class.ilPDExternalFeedBlockGUI.php.
|
static |
Get block type.
Reimplemented from ilBlockGUI.
Definition at line 66 of file class.ilPDExternalFeedBlockGUI.php.
References $block_type.
ilPDExternalFeedBlockGUI::getDynamic | ( | ) |
Definition at line 215 of file class.ilPDExternalFeedBlockGUI.php.
References $_SESSION, and $ilCtrl.
Referenced by fillDataSection(), and getHTML().
ilPDExternalFeedBlockGUI::getDynamicReload | ( | ) |
Definition at line 240 of file class.ilPDExternalFeedBlockGUI.php.
References $ilCtrl, $lng, and ilBlockGUI\getBlockId().
Referenced by fillDataSection().
ilPDExternalFeedBlockGUI::getHTML | ( | ) |
Get block HTML code.
Reimplemented from ilBlockGUI.
Definition at line 168 of file class.ilPDExternalFeedBlockGUI.php.
References $_SESSION, $feed_set, $ilCtrl, $ilSetting, $lng, ilBlockGUI\addBlockCommand(), ilBlockGUI\getBlockId(), ilBlockGUI\getCurrentDetailLevel(), getDynamic(), getJSEnabler(), and ilBlockGUI\setData().
Referenced by enableJS().
ilPDExternalFeedBlockGUI::getJSEnabler | ( | ) |
Definition at line 261 of file class.ilPDExternalFeedBlockGUI.php.
References $ilCtrl, $lng, and ilBlockGUI\getBlockId().
Referenced by getHTML().
ilPDExternalFeedBlockGUI::getOverview | ( | ) |
Get overview.
Definition at line 313 of file class.ilPDExternalFeedBlockGUI.php.
References $ilCtrl, $lng, ilBlockGUI\getData(), and ilBlockGUI\setEnableNumInfo().
Referenced by fillDataSection().
|
static |
Get Screen Mode for current command.
Reimplemented from ilBlockGUI.
Definition at line 84 of file class.ilPDExternalFeedBlockGUI.php.
References $ilCtrl, IL_SCREEN_CENTER, and IL_SCREEN_SIDE.
ilPDExternalFeedBlockGUI::ilPDExternalFeedBlockGUI | ( | ) |
Constructor.
Definition at line 46 of file class.ilPDExternalFeedBlockGUI.php.
References $ilCtrl, $lng, ilExternalFeedBlockGUIGen\__construct(), ilUtil\getImagePath(), ilBlockGUI\ilBlockGUI(), ilBlockGUI\setImage(), ilBlockGUI\setLimit(), and ilBlockGUI\setRowTemplate().
ilPDExternalFeedBlockGUI::initFormFeedBlock | ( | $a_mode | ) |
FORM FeedBlock: Init form.
(We need to overwrite, because Generator does not know FeedUrl Inputs yet.
int | $a_mode | Form Edit Mode (IL_FORM_EDIT | IL_FORM_CREATE) |
Reimplemented from ilExternalFeedBlockGUIGen.
Definition at line 396 of file class.ilPDExternalFeedBlockGUI.php.
References $lng, IL_FORM_CREATE, IL_FORM_RE_CREATE, ilExternalFeedBlockGUIGen\prepareFormFeedBlock(), and ilFormPropertyGUI\setInfo().
|
static |
Get block type.
Reimplemented from ilBlockGUI.
Definition at line 76 of file class.ilPDExternalFeedBlockGUI.php.
ilPDExternalFeedBlockGUI::prepareSaveFeedBlock | ( | & | $a_feed_block | ) |
FORM FeedBlock: Prepare Saving of FeedBlock.
object | $a_feed_block | FeedBlock object. |
Reimplemented from ilExternalFeedBlockGUIGen.
Definition at line 445 of file class.ilPDExternalFeedBlockGUI.php.
References $ilCtrl.
ilPDExternalFeedBlockGUI::setBlock | ( | $a_block | ) |
Do most of the initialisation.
Definition at line 109 of file class.ilPDExternalFeedBlockGUI.php.
References $ilCtrl, ilBlockGUI\setAvailableDetailLevels(), ilBlockGUI\setBlockId(), and ilBlockGUI\setTitle().
ilPDExternalFeedBlockGUI::showFeedItem | ( | ) |
Show Feed Item.
Definition at line 324 of file class.ilPDExternalFeedBlockGUI.php.
References $_GET, $ilCtrl, $lng, $tpl, ilUtil\getImagePath(), and ilBlockGUI\getTitle().
|
static |
Definition at line 41 of file class.ilPDExternalFeedBlockGUI.php.
Referenced by getBlockType().