ILIAS  eassessment Revision 61809
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilPDExternalFeedBlockGUI Class Reference

BlockGUI class for external feed block on the personal desktop. More...

+ Inheritance diagram for ilPDExternalFeedBlockGUI:
+ Collaboration diagram for ilPDExternalFeedBlockGUI:

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

Detailed Description

BlockGUI class for external feed block on the personal desktop.

Within the repository ilExternalFeedBlockGUI is used. is used.

Author
Alex Killing alex..nosp@m.kill.nosp@m.ing@g.nosp@m.mx.d.nosp@m.e
Version
$Id$

ilPDExternalFeedBlockGUI: ilColumnGUI

Definition at line 39 of file class.ilPDExternalFeedBlockGUI.php.

Member Function Documentation

ilPDExternalFeedBlockGUI::confirmDeleteFeedBlock ( )

Confirmation of feed block deletion.

Definition at line 457 of file class.ilPDExternalFeedBlockGUI.php.

References $ilCtrl, $lng, and ilUtil\getImagePath().

{
global $ilCtrl, $lng;
include_once("Services/Utilities/classes/class.ilConfirmationGUI.php");
$c_gui = new ilConfirmationGUI();
// set confirm/cancel commands
$c_gui->setFormAction($ilCtrl->getFormAction($this, "deleteFeedBlock"));
$c_gui->setHeaderText($lng->txt("info_delete_sure"));
$c_gui->setCancel($lng->txt("cancel"), "exitDeleteFeedBlock");
$c_gui->setConfirm($lng->txt("confirm"), "deleteFeedBlock");
// add items to delete
$c_gui->addItem("external_feed_block_id",
$this->feed_block->getId(), $this->feed_block->getTitle(),
ilUtil::getImagePath("icon_feed.gif"));
return $c_gui->getHTML();
}

+ Here is the call graph for this function:

ilPDExternalFeedBlockGUI::create ( )

Create Form for Block.

Definition at line 385 of file class.ilPDExternalFeedBlockGUI.php.

References ilExternalFeedBlockGUIGen\createFeedBlock().

{
return $this->createFeedBlock();
}

+ Here is the call graph for this function:

ilPDExternalFeedBlockGUI::deleteFeedBlock ( )

Delete feed block.

Definition at line 491 of file class.ilPDExternalFeedBlockGUI.php.

References $ilCtrl.

{
global $ilCtrl;
$this->feed_block->delete();
$ilCtrl->returnToParent($this);
}
ilPDExternalFeedBlockGUI::disableJS ( )

Definition at line 277 of file class.ilPDExternalFeedBlockGUI.php.

References $_SESSION, and $ilCtrl.

{
global $ilCtrl, $ilUser;
$_SESSION["il_feed_js"] = "n";
$ilUser->writePref("il_feed_js", "n");
$ilCtrl->redirectByClass("ilpersonaldesktopgui", "show");
}
ilPDExternalFeedBlockGUI::enableJS ( )

Definition at line 286 of file class.ilPDExternalFeedBlockGUI.php.

References $_SESSION, exit, and getHTML().

{
global $ilUser;
$_SESSION["il_feed_js"] = "y";
$ilUser->writePref("il_feed_js", "y");
echo $this->getHTML();
}

+ Here is the call graph for this function:

& ilPDExternalFeedBlockGUI::executeCommand ( )

execute command

Reimplemented from ilExternalFeedBlockGUIGen.

Definition at line 132 of file class.ilPDExternalFeedBlockGUI.php.

References $cmd, and $ilCtrl.

{
global $ilCtrl;
$next_class = $ilCtrl->getNextClass();
$cmd = $ilCtrl->getCmd("getHTML");
switch ($next_class)
{
default:
return $this->$cmd();
}
}
ilPDExternalFeedBlockGUI::exitDeleteFeedBlock ( )

Cancel deletion of feed block.

Definition at line 481 of file class.ilPDExternalFeedBlockGUI.php.

References $ilCtrl.

{
global $ilCtrl;
$ilCtrl->returnToParent($this);
}
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().

{
if ($this->getDynamic())
{
$this->setDataSection($this->getDynamicReload());
}
else if ($this->getCurrentDetailLevel() > 1 && count($this->getData()) > 0)
{
}
else
{
$this->setDataSection($this->getOverview());
}
}

+ Here is the call graph for this function:

ilPDExternalFeedBlockGUI::fillRow (   $item)

Fill feed item row.

Reimplemented from ilBlockGUI.

Definition at line 299 of file class.ilPDExternalFeedBlockGUI.php.

References $ilCtrl, and $lng.

{
global $ilUser, $ilCtrl, $lng;
$ilCtrl->setParameter($this, "feed_item_id", $item->getId());
$this->tpl->setVariable("VAL_TITLE", $item->getTitle());
$this->tpl->setVariable("HREF_SHOW",
$ilCtrl->getLinkTarget($this, "showFeedItem"));
$ilCtrl->setParameter($this, "feed_item_id", "");
}
static ilPDExternalFeedBlockGUI::getBlockType ( )
static

Get block type.

Returns
string 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().

{
global $ilCtrl, $ilUser;
if ($ilCtrl->getCmdClass() != "ilcolumngui" && $ilCtrl->getCmd() != "enableJS")
{
$sess_feed_js = "";
if (isset($_SESSION["il_feed_js"]))
{
$sess_feed_js = $_SESSION["il_feed_js"];
}
if ($sess_feed_js != "n" &&
($ilUser->getPref("il_feed_js") != "n" || $sess_feed_js == "y"))
{
// do not get feed dynamically, if cache hit is given.
if (!$this->feed->checkCacheHit())
{
return true;
}
}
}
return false;
}

+ Here is the caller graph for this function:

ilPDExternalFeedBlockGUI::getDynamicReload ( )

Definition at line 240 of file class.ilPDExternalFeedBlockGUI.php.

References $ilCtrl, $lng, and ilBlockGUI\getBlockId().

Referenced by fillDataSection().

{
global $ilCtrl, $lng;
$ilCtrl->setParameterByClass("ilcolumngui", "block_id",
"block_pdfeed_".$this->getBlockId());
$rel_tpl = new ilTemplate("tpl.dynamic_reload.html", true, true, "Services/Feeds");
$rel_tpl->setVariable("TXT_LOADING", $lng->txt("feed_loading_feed"));
$rel_tpl->setVariable("BLOCK_ID", "block_pdfeed_".$this->getBlockId());
$rel_tpl->setVariable("TARGET",
$ilCtrl->getLinkTargetByClass("ilcolumngui", "updateBlock", "", true));
// no JS
$rel_tpl->setVariable("TXT_FEED_CLICK_HERE", $lng->txt("feed_no_js_click_here"));
$rel_tpl->setVariable("TARGET_NO_JS",
$ilCtrl->getLinkTargetByClass("ilpdexternalfeedblockgui", "disableJS"));
return $rel_tpl->get();
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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().

{
global $ilCtrl, $lng, $ilUser, $ilAccess, $ilSetting;
$feed_set = new ilSetting("feed");
if ($ilSetting->get("block_limit_pdfeed") == 0)
{
return "";
}
if ($this->getCurrentDetailLevel() == 0)
{
return "";
}
// if no dynamic reload
if (!$this->getDynamic())
{
$this->feed->fetch();
$this->setData($this->feed->getItems());
}
$ilCtrl->setParameter($this, "external_feed_block_id",
$this->getBlockId());
$ilCtrl->getLinkTarget($this,
"editFeedBlock"),
$lng->txt("edit"));
$ilCtrl->getLinkTarget($this,
"confirmDeleteFeedBlock"),
$lng->txt("delete"));
$ilCtrl->setParameter($this, "external_feed_block_id", "");
// JS enabler
$add = "";
if ($_SESSION["il_feed_js"] == "n" ||
($ilUser->getPref("il_feed_js") == "n" && $_SESSION["il_feed_js"] != "y"))
{
$add = $this->getJSEnabler();
}
return parent::getHTML().$add;
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

ilPDExternalFeedBlockGUI::getJSEnabler ( )

Definition at line 261 of file class.ilPDExternalFeedBlockGUI.php.

References $ilCtrl, $lng, and ilBlockGUI\getBlockId().

Referenced by getHTML().

{
global $ilCtrl, $lng;
$ilCtrl->setParameterByClass("ilcolumngui", "block_id",
"block_pdfeed_".$this->getBlockId());
$rel_tpl = new ilTemplate("tpl.js_enabler.html", true, true, "Services/Feeds");
$rel_tpl->setVariable("BLOCK_ID", "block_pdfeed_".$this->getBlockId());
$rel_tpl->setVariable("TARGET",
$ilCtrl->getLinkTargetByClass("ilpdexternalfeedblockgui", "enableJS", true));
return $rel_tpl->get();
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

ilPDExternalFeedBlockGUI::getOverview ( )

Get overview.

Definition at line 313 of file class.ilPDExternalFeedBlockGUI.php.

References $ilCtrl, $lng, ilBlockGUI\getData(), and ilBlockGUI\setEnableNumInfo().

Referenced by fillDataSection().

{
global $ilUser, $lng, $ilCtrl;
$this->setEnableNumInfo(false);
return '<div class="small">'.((int) count($this->getData()))." ".$lng->txt("feed_feed_items")."</div>";
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static ilPDExternalFeedBlockGUI::getScreenMode ( )
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.

{
global $ilCtrl;
switch($ilCtrl->getCmd())
{
case "create":
case "edit":
case "saveFeedBlock":
case "updateFeedBlock":
case "editFeedBlock":
case "showFeedItem":
case "confirmDeleteFeedBlock":
break;
default:
break;
}
}
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().

{
global $ilCtrl, $lng;
$this->setImage(ilUtil::getImagePath("icon_feed_s.gif"));
$lng->loadLanguageModule("feed");
$this->setLimit(5);
$this->setRowTemplate("tpl.block_external_feed_row.html", "Services/Feeds");
}

+ Here is the call graph for this function:

ilPDExternalFeedBlockGUI::initFormFeedBlock (   $a_mode)

FORM FeedBlock: Init form.

(We need to overwrite, because Generator does not know FeedUrl Inputs yet.

Parameters
int$a_modeForm 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().

{
global $lng;
$lng->loadLanguageModule("block");
include("Services/Form/classes/class.ilPropertyFormGUI.php");
$this->form_gui = new ilPropertyFormGUI();
// Property Title
$text_input = new ilTextInputGUI($lng->txt("block_feed_block_title"), "block_title");
$text_input->setInfo("");
$text_input->setRequired(true);
$text_input->setMaxLength(200);
$this->form_gui->addItem($text_input);
// Property FeedUrl
$text_input = new ilFeedUrlInputGUI($lng->txt("block_feed_block_feed_url"), "block_feed_url");
$text_input->setInfo($lng->txt("block_feed_block_feed_url_info"));
$text_input->setRequired(true);
$text_input->setMaxLength(250);
$this->form_gui->addItem($text_input);
// save and cancel commands
if (in_array($a_mode, array(IL_FORM_CREATE,IL_FORM_RE_CREATE)))
{
$this->form_gui->addCommandButton("saveFeedBlock", $lng->txt("save"));
$this->form_gui->addCommandButton("cancelSaveFeedBlock", $lng->txt("cancel"));
}
else
{
$this->form_gui->addCommandButton("updateFeedBlock", $lng->txt("save"));
$this->form_gui->addCommandButton("cancelUpdateFeedBlock", $lng->txt("cancel"));
}
$this->form_gui->setTitle($lng->txt("block_feed_block_head"));
$this->form_gui->setFormAction($this->ctrl->getFormAction($this));
$this->prepareFormFeedBlock($this->form_gui);
}

+ Here is the call graph for this function:

static ilPDExternalFeedBlockGUI::isRepositoryObject ( )
static

Get block type.

Returns
string Block type.

Reimplemented from ilBlockGUI.

Definition at line 76 of file class.ilPDExternalFeedBlockGUI.php.

{
return false;
}
ilPDExternalFeedBlockGUI::prepareSaveFeedBlock ( $a_feed_block)

FORM FeedBlock: Prepare Saving of FeedBlock.

Parameters
object$a_feed_blockFeedBlock object.

Reimplemented from ilExternalFeedBlockGUIGen.

Definition at line 445 of file class.ilPDExternalFeedBlockGUI.php.

References $ilCtrl.

{
global $ilCtrl;
$a_feed_block->setContextObjId($ilCtrl->getContextObjId());
$a_feed_block->setContextObjType($ilCtrl->getContextObjType());
$a_feed_block->setType("pdfeed");
}
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().

{
global $ilCtrl;
// init block
$this->feed_block = $a_block;
$this->setTitle($this->feed_block->getTitle());
$this->setBlockId($this->feed_block->getId());
// get feed object
include_once("./Services/Feeds/classes/class.ilExternalFeed.php");
$this->feed = new ilExternalFeed();
$this->feed->setUrl($this->feed_block->getFeedUrl());
// init details
$ilCtrl->setParameter($this, "block_id", $this->feed_block->getId());
}

+ Here is the call graph for this function:

ilPDExternalFeedBlockGUI::showFeedItem ( )

Show Feed Item.

Definition at line 324 of file class.ilPDExternalFeedBlockGUI.php.

References $_GET, $ilCtrl, $lng, $tpl, ilUtil\getImagePath(), and ilBlockGUI\getTitle().

{
global $lng, $ilCtrl;
include_once("./Services/News/classes/class.ilNewsItem.php");
$this->feed->fetch();
foreach($this->feed->getItems() as $item)
{
if ($item->getId() == $_GET["feed_item_id"])
{
$c_item = $item;
break;
}
}
$tpl = new ilTemplate("tpl.show_feed_item.html", true, true, "Services/Feeds");
if (is_object($c_item))
{
if (trim($c_item->getSummary()) != "") // summary
{
$tpl->setCurrentBlock("content");
$tpl->setVariable("VAL_CONTENT", $c_item->getSummary());
$tpl->parseCurrentBlock();
}
if (trim($c_item->getDate()) != "" || trim($c_item->getAuthor()) != "") // date
{
$tpl->setCurrentBlock("date_author");
if (trim($c_item->getAuthor()) != "")
{
$tpl->setVariable("VAL_AUTHOR", $c_item->getAuthor()." - ");
}
$tpl->setVariable("VAL_DATE", $c_item->getDate());
$tpl->parseCurrentBlock();
}
if (trim($c_item->getLink()) != "") // link
{
$tpl->setCurrentBlock("plink");
$tpl->setVariable("HREF_LINK", $c_item->getLink());
$tpl->setVariable("TXT_LINK", $lng->txt("feed_open_source_page"));
$tpl->parseCurrentBlock();
}
$tpl->setVariable("VAL_TITLE", $c_item->getTitle()); // title
}
include_once("./Services/PersonalDesktop/classes/class.ilPDContentBlockGUI.php");
$content_block = new ilPDContentBlockGUI();
$content_block->setContent($tpl->get());
$content_block->setTitle($this->getTitle());
$content_block->setImage(ilUtil::getImagePath("icon_feed.gif"));
$content_block->addHeaderCommand($ilCtrl->getParentReturn($this),
$lng->txt("selected_items_back"));
return $content_block->getHTML();
}

+ Here is the call graph for this function:

Field Documentation

ilPDExternalFeedBlockGUI::$block_type = "pdfeed"
static

Definition at line 41 of file class.ilPDExternalFeedBlockGUI.php.

Referenced by getBlockType().


The documentation for this class was generated from the following file: