ILIAS
Release_4_2_x_branch Revision 61807
|
BlockGUI class for external feed block. More...
Public Member Functions | |
ilExternalFeedBlockGUI () | |
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. | |
initImportForm ($a_new_type="") | |
Init object import form. | |
importFile () | |
Import. | |
initFormFeedBlock ($a_mode) | |
FORM FeedBlock: Init form. | |
prepareSaveFeedBlock (&$a_feed_block) | |
FORM FeedBlock: Prepare Saving of FeedBlock. | |
exitSaveFeedBlock () | |
FORM FeedBlock: Exit save. | |
cancelUpdateFeedBlock () | |
FORM FeedBlock: Exit save. | |
exitUpdateFeedBlock () | |
FORM FeedBlock: Exit save. | |
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. | |
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 = "feed" |
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.
This is the one that is used within the repository. On the personal desktop ilPDExternalFeedBlockGUI is used.
ilExternalFeedBlockGUI: ilColumnGUI
Definition at line 20 of file class.ilExternalFeedBlockGUI.php.
ilExternalFeedBlockGUI::cancelUpdateFeedBlock | ( | ) |
FORM FeedBlock: Exit save.
(Can be overwritten in derived classes)
Reimplemented from ilExternalFeedBlockGUIGen.
Definition at line 540 of file class.ilExternalFeedBlockGUI.php.
References $ilCtrl, and ilExternalFeedBlockGUIGen\getGuiObject().
ilExternalFeedBlockGUI::create | ( | ) |
Create Form for Block.
Definition at line 372 of file class.ilExternalFeedBlockGUI.php.
References ilExternalFeedBlockGUIGen\createFeedBlock(), and initImportForm().
ilExternalFeedBlockGUI::disableJS | ( | ) |
ilExternalFeedBlockGUI::enableJS | ( | ) |
& ilExternalFeedBlockGUI::executeCommand | ( | ) |
execute command
Reimplemented from ilExternalFeedBlockGUIGen.
Definition at line 112 of file class.ilExternalFeedBlockGUI.php.
ilExternalFeedBlockGUI::exitSaveFeedBlock | ( | ) |
FORM FeedBlock: Exit save.
(Can be overwritten in derived classes)
Reimplemented from ilExternalFeedBlockGUIGen.
Definition at line 529 of file class.ilExternalFeedBlockGUI.php.
References $ilCtrl, and ilExternalFeedBlockGUIGen\getGuiObject().
Referenced by importFile().
ilExternalFeedBlockGUI::exitUpdateFeedBlock | ( | ) |
FORM FeedBlock: Exit save.
(Can be overwritten in derived classes)
Reimplemented from ilExternalFeedBlockGUIGen.
Definition at line 551 of file class.ilExternalFeedBlockGUI.php.
References $ilCtrl, and ilExternalFeedBlockGUIGen\getGuiObject().
ilExternalFeedBlockGUI::fillDataSection | ( | ) |
Fill data section.
Reimplemented from ilBlockGUI.
Definition at line 129 of file class.ilExternalFeedBlockGUI.php.
References ilBlockGUI\getCurrentDetailLevel(), ilBlockGUI\getData(), getDynamic(), getDynamicReload(), getOverview(), and ilBlockGUI\setDataSection().
ilExternalFeedBlockGUI::fillRow | ( | $item | ) |
Fill feed item row.
Reimplemented from ilBlockGUI.
Definition at line 277 of file class.ilExternalFeedBlockGUI.php.
References $ilCtrl, $lng, and isRepositoryObject().
|
static |
Get block type.
Reimplemented from ilBlockGUI.
Definition at line 46 of file class.ilExternalFeedBlockGUI.php.
References $block_type.
Referenced by prepareSaveFeedBlock().
ilExternalFeedBlockGUI::getDynamic | ( | ) |
Definition at line 198 of file class.ilExternalFeedBlockGUI.php.
References $_SESSION, and $ilCtrl.
Referenced by fillDataSection(), and getHTML().
ilExternalFeedBlockGUI::getDynamicReload | ( | ) |
Definition at line 218 of file class.ilExternalFeedBlockGUI.php.
References $ilCtrl, $lng, and ilBlockGUI\getBlockId().
Referenced by fillDataSection().
ilExternalFeedBlockGUI::getHTML | ( | ) |
Get block HTML code.
Reimplemented from ilBlockGUI.
Definition at line 148 of file class.ilExternalFeedBlockGUI.php.
References $_SESSION, $feed_set, $ilCtrl, $ilSetting, $lng, ilBlockGUI\addBlockCommand(), ilBlockGUI\getBlockId(), ilBlockGUI\getCurrentDetailLevel(), getDynamic(), getJSEnabler(), ilBlockGUI\getRefId(), and ilBlockGUI\setData().
Referenced by enableJS().
ilExternalFeedBlockGUI::getJSEnabler | ( | ) |
Definition at line 239 of file class.ilExternalFeedBlockGUI.php.
References $ilCtrl, $lng, and ilBlockGUI\getBlockId().
Referenced by getHTML().
ilExternalFeedBlockGUI::getOverview | ( | ) |
Get overview.
Definition at line 300 of file class.ilExternalFeedBlockGUI.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 64 of file class.ilExternalFeedBlockGUI.php.
References $ilCtrl, IL_SCREEN_CENTER, and IL_SCREEN_SIDE.
ilExternalFeedBlockGUI::ilExternalFeedBlockGUI | ( | ) |
Constructor.
Definition at line 27 of file class.ilExternalFeedBlockGUI.php.
References $ilCtrl, $lng, ilExternalFeedBlockGUIGen\__construct(), ilUtil\getImagePath(), ilBlockGUI\ilBlockGUI(), ilBlockGUI\setImage(), ilBlockGUI\setLimit(), and ilBlockGUI\setRowTemplate().
ilExternalFeedBlockGUI::importFile | ( | ) |
Import.
public
Definition at line 421 of file class.ilExternalFeedBlockGUI.php.
References $_GET, $_POST, $lng, $tpl, exitSaveFeedBlock(), ilObjectFactory\getInstanceByObjId(), initImportForm(), and ilUtil\sendSuccess().
ilExternalFeedBlockGUI::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 466 of file class.ilExternalFeedBlockGUI.php.
References $lng, IL_FORM_CREATE, IL_FORM_RE_CREATE, ilExternalFeedBlockGUIGen\prepareFormFeedBlock(), and ilFormPropertyGUI\setInfo().
ilExternalFeedBlockGUI::initImportForm | ( | $a_new_type = "" | ) |
Init object import form.
string | new type |
Definition at line 391 of file class.ilExternalFeedBlockGUI.php.
References $ilCtrl, $lng, and ilFileInputGUI\setSuffixes().
Referenced by create(), and importFile().
|
static |
Get block type.
Reimplemented from ilBlockGUI.
Definition at line 56 of file class.ilExternalFeedBlockGUI.php.
Referenced by fillRow().
ilExternalFeedBlockGUI::prepareSaveFeedBlock | ( | & | $a_feed_block | ) |
FORM FeedBlock: Prepare Saving of FeedBlock.
object | $a_feed_block | FeedBlock object. |
Reimplemented from ilExternalFeedBlockGUIGen.
Definition at line 515 of file class.ilExternalFeedBlockGUI.php.
References $ilCtrl, $ref_id, getBlockType(), and ilExternalFeedBlockGUIGen\getGuiObject().
ilExternalFeedBlockGUI::setBlock | ( | $a_block | ) |
Do most of the initialisation.
Definition at line 89 of file class.ilExternalFeedBlockGUI.php.
References $ilCtrl, ilBlockGUI\setAvailableDetailLevels(), ilBlockGUI\setBlockId(), and ilBlockGUI\setTitle().
ilExternalFeedBlockGUI::showFeedItem | ( | ) |
Show Feed Item.
Definition at line 311 of file class.ilExternalFeedBlockGUI.php.
References $_GET, $ilCtrl, $lng, $tpl, ilUtil\getImagePath(), and ilBlockGUI\getTitle().
|
static |
Definition at line 22 of file class.ilExternalFeedBlockGUI.php.
Referenced by getBlockType().