ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
ilBlockGUI Class Reference

This class represents a block method of a block. More...

+ Inheritance diagram for ilBlockGUI:
+ Collaboration diagram for ilBlockGUI:

Public Member Functions

 __construct ()
 Constructor. More...
 
 addHeaderLink ($a_href, $a_text, $status=true)
 
 getHeaderLinks ()
 
 setData ($a_data)
 Set Data. More...
 
 getData ()
 Get Data. More...
 
 setBigMode ($a_bigmode)
 Set Big Mode. More...
 
 getBigMode ()
 Get Big Mode. More...
 
 setBlockId ($a_block_id=0)
 Set Block Id. More...
 
 getBlockId ()
 Get Block Id. More...
 
 setAvailableDetailLevels ($a_max, $a_min=0)
 Set Available Detail Levels. More...
 
 setCurrentDetailLevel ($a_currentdetaillevel)
 Set Current Detail Level. More...
 
 setGuiObject (&$a_gui_object)
 Set GuiObject. More...
 
 getGuiObject ()
 Get GuiObject. More...
 
 getCurrentDetailLevel ()
 Get Current Detail Level. More...
 
 setTitle ($a_title)
 Set Title. More...
 
 getTitle ()
 Get Title. More...
 
 setImage ($a_image)
 Set Image. More...
 
 getImage ()
 Get Image. More...
 
 setOffset ($a_offset)
 Set Offset. More...
 
 getOffset ()
 Get Offset. More...
 
 correctOffset ()
 
 setLimit ($a_limit)
 Set Limit. More...
 
 getLimit ()
 Get Limit. More...
 
 setEnableEdit ($a_enableedit)
 Set EnableEdit. More...
 
 getEnableEdit ()
 Get EnableEdit. More...
 
 setRepositoryMode ($a_repositorymode)
 Set RepositoryMode. More...
 
 getRepositoryMode ()
 Get RepositoryMode. More...
 
 setFooterInfo ($a_footerinfo, $a_hide_and_icon=false)
 Set Footer Info. More...
 
 getFooterInfo ($a_hide_and_icon=false)
 Get Footer Info. More...
 
 setSubtitle ($a_subtitle)
 Set Subtitle. More...
 
 getSubtitle ()
 Get Subtitle. More...
 
 setRefId ($a_refid)
 Set Ref Id (only used if isRepositoryObject() is true). More...
 
 getRefId ()
 Get Ref Id (only used if isRepositoryObject() is true). More...
 
 setAdminCommands ($a_admincommands)
 Set Administration Commmands. More...
 
 getAdminCommands ()
 Get Administration Commmands. More...
 
 setColSpan ($a_colspan)
 Set Columns Span. More...
 
 getColSpan ()
 Get Columns Span. More...
 
 setEnableDetailRow ($a_enabledetailrow)
 Set EnableDetailRow. More...
 
 getEnableDetailRow ()
 Get EnableDetailRow. More...
 
 setEnableNumInfo ($a_enablenuminfo)
 Set Enable Item Number Info. More...
 
 getEnableNumInfo ()
 Get Enable Item Number Info. More...
 
 setProperties ($a_properties)
 This function is supposed to be used for block type specific properties, that should be inherited through ilColumnGUI->setBlockProperties. More...
 
 getProperty ($a_property)
 
 setProperty ($a_property, $a_value)
 
 setRowTemplate ($a_rowtemplatename, $a_rowtemplatedir="")
 Set Row Template Name. More...
 
 getNavParameter ()
 
 getDetailParameter ()
 
 getConfigParameter ()
 
 getMoveParameter ()
 
 getRowTemplateName ()
 Get Row Template Name. More...
 
 getRowTemplateDir ()
 Get Row Template Directory. More...
 
 addBlockCommand ( $a_href, $a_text, $a_target="", $a_img="", $a_right_aligned=false, $a_checked=false, $a_html="")
 Add Block Command. More...
 
 getBlockCommands ()
 Get Block commands. More...
 
 addHeaderCommand ($a_href, $a_text, $a_as_close=false)
 Add Header Block Command. More...
 
 getHeaderCommands ()
 Get Header Block commands. More...
 
 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. More...
 
 getFooterLinks ()
 Get footer links. More...
 
 clearFooterLinks ()
 Clear footer links. More...
 
 handleDetailLevel ()
 Handle read/write current detail level. More...
 
 getHTML ()
 Handle config status. More...
 
 fillHeaderCommands ()
 Fill header commands block. More...
 
 fillHeaderTitleBlock ()
 Fill header title block (title and. More...
 
 setDataSection ($a_content)
 Call this from overwritten fillDataSection(), if standard row based data is not used. More...
 
 fillDataSection ()
 Standard implementation for row based data. More...
 
 fillRow ($a_set)
 
 fillFooter ()
 
 fillPreviousNext ()
 Fill previous/next row. More...
 
 setPreviousNextLinks ()
 Get previous/next linkbar. More...
 
 fillFooterLinks ($a_top=false, $a_numinfo="")
 Fill footer links. More...
 
 fillDetailRow ()
 Fill Detail Setting Row. More...
 

Static Public Member Functions

static getBlockType ()
 
static isRepositoryObject ()
 
static getScreenMode ()
 Get Screen Mode for current command. More...
 

Protected Member Functions

 fillRowColor ($a_placeholder="CSS_ROW")
 
 preloadData (array $data)
 Can be overwritten in subclasses. More...
 

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
 
 $tpl
 
 $main_tpl
 
 $user
 
 $ctrl
 
 $access
 
 $lng
 
 $obj_def
 

Detailed Description

This class represents a block method of a block.

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

Definition at line 12 of file class.ilBlockGUI.php.

Constructor & Destructor Documentation

◆ __construct()

ilBlockGUI::__construct ( )

Constructor.

Parameters

Definition at line 83 of file class.ilBlockGUI.php.

References $DIC, ilYuiUtil\initConnection(), setLimit(), and user().

Referenced by ilPDNewsBlockGUI\__construct().

84  {
85  global $DIC;
86 
87  $this->user = $DIC->user();
88  $this->ctrl = $DIC->ctrl();
89  $this->access = $DIC->access();
90  $this->lng = $DIC->language();
91  $this->main_tpl = $DIC["tpl"];
92  $this->obj_def = $DIC["objDefinition"];
93 
94  include_once("./Services/YUI/classes/class.ilYuiUtil.php");
96  $this->main_tpl->addJavaScript("./Services/Block/js/ilblockcallback.js");
97 
98  $this->setLimit($this->user->getPref("hits_per_page"));
99  }
global $DIC
Definition: saml.php:7
static initConnection(ilTemplate $a_main_tpl=null)
Init YUI Connection module.
user()
Definition: user.php:4
setLimit($a_limit)
Set Limit.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Function Documentation

◆ addBlockCommand()

ilBlockGUI::addBlockCommand (   $a_href,
  $a_text,
  $a_target = "",
  $a_img = "",
  $a_right_aligned = false,
  $a_checked = false,
  $a_html = "" 
)

Add Block Command.

Parameters
string$a_hrefcommand link target
string$a_texttext

Definition at line 581 of file class.ilBlockGUI.php.

References array.

Referenced by ilCalendarSelectionBlockGUI\__construct(), ilWikiImportantPagesBlockGUI\getHTML(), ilPDPortfolioBlockGUI\getHTML(), ilExternalFeedBlockGUI\getHTML(), ilPDExternalFeedBlockGUI\getHTML(), ilPDNewsBlockGUI\getHTML(), ilNewsForContextBlockGUI\getHTML(), ilPollBlockGUI\getHTML(), ilCalendarBlockGUI\getHTML(), and getHTML().

589  {
590  return $this->block_commands[] =
591  array("href" => $a_href,
592  "text" => $a_text, "target" => $a_target, "img" => $a_img,
593  "right" => $a_right_aligned, "checked" => $a_checked, "html" => $a_html);
594  }
Create styles array
The data for the language used.
+ Here is the caller graph for this function:

◆ addFooterLink()

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 636 of file class.ilBlockGUI.php.

References array.

Referenced by ilBookmarkBlockGUI\setFooterLinks(), ilPDSelectedItemsBlockGUI\setFooterLinks(), ilCalendarBlockGUI\setFooterLinks(), setPreviousNextLinks(), and ilNewsForContextBlockGUI\showViewFooter().

644  {
645  $this->footer_links[] = array(
646  "text" => $a_text,
647  "href" => $a_href,
648  "onclick" => $a_onclick,
649  "block_id" => $a_block_id,
650  "top" => $a_top,
651  "omit_separator" => $a_omit_separator,
652  "checked" => $a_checked);
653  }
Create styles array
The data for the language used.
+ Here is the caller graph for this function:

◆ addHeaderCommand()

ilBlockGUI::addHeaderCommand (   $a_href,
  $a_text,
  $a_as_close = false 
)

Add Header Block Command.

Parameters
string$a_hrefcommand link target
string$a_texttext

Definition at line 612 of file class.ilBlockGUI.php.

References array.

613  {
614  if ($a_as_close) {
615  $this->close_command = $a_href;
616  } else {
617  $this->header_commands[] =
618  array("href" => $a_href,
619  "text" => $a_text);
620  }
621  }
Create styles array
The data for the language used.

◆ addHeaderLink()

ilBlockGUI::addHeaderLink (   $a_href,
  $a_text,
  $status = true 
)

Definition at line 101 of file class.ilBlockGUI.php.

References array.

102  {
103  $this->header_links[] =
104  array('href' => $a_href, 'text' => $a_text, 'status' => (bool) $status);
105  }
Create styles array
The data for the language used.

◆ clearFooterLinks()

ilBlockGUI::clearFooterLinks ( )

Clear footer links.

Definition at line 666 of file class.ilBlockGUI.php.

References array.

Referenced by ilNewsForContextBlockGUI\showViewFooter().

667  {
668  $this->footer_links = array();
669  }
Create styles array
The data for the language used.
+ Here is the caller graph for this function:

◆ correctOffset()

ilBlockGUI::correctOffset ( )

Definition at line 287 of file class.ilBlockGUI.php.

References setOffset().

Referenced by fillDataSection().

288  {
289  if (!($this->offset < $this->max_count)) {
290  $this->setOffset(0);
291  }
292  }
setOffset($a_offset)
Set Offset.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fillDataSection()

ilBlockGUI::fillDataSection ( )

Standard implementation for row based data.

Overwrite this and call setContent for other data.

Definition at line 1069 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 ilCalendarBlockGUI\fillDataSection(), and getHTML().

1070  {
1071  $this->nav_value = (isset($_POST[$this->getNavParameter()]) && $_POST[$this->getNavParameter()] != "")
1072  ? $_POST[$this->getNavParameter()]
1073  : (isset($_GET[$this->getNavParameter()]) ? $_GET[$this->getNavParameter()] : $this->nav_value);
1074  $this->nav_value = ($this->nav_value == "" && isset($_SESSION[$this->getNavParameter()]))
1075  ? $_SESSION[$this->getNavParameter()]
1076  : $this->nav_value;
1077 
1079 
1080  $nav = explode(":", $this->nav_value);
1081  if (isset($nav[2])) {
1082  $this->setOffset($nav[2]);
1083  } else {
1084  $this->setOffset(0);
1085  }
1086 
1087  // data
1088  $this->tpl->addBlockFile(
1089  "BLOCK_ROW",
1090  "block_row",
1091  $this->getRowTemplateName(),
1092  $this->getRowTemplateDir()
1093  );
1094 
1095  $data = $this->getData();
1096  $this->max_count = count($data);
1097  $this->correctOffset();
1098  $data = array_slice($data, $this->getOffset(), $this->getLimit());
1099 
1100  $this->preloadData($data);
1101 
1102  foreach ($data as $record) {
1103  $this->tpl->setCurrentBlock("block_row");
1104  $this->fillRowColor();
1105  $this->fillRow($record);
1106  $this->tpl->setCurrentBlock("block_row");
1107  $this->tpl->parseCurrentBlock();
1108  }
1109  }
getRowTemplateDir()
Get Row Template Directory.
$_SESSION["AccountId"]
$_GET["client_id"]
getLimit()
Get Limit.
fillRowColor($a_placeholder="CSS_ROW")
preloadData(array $data)
Can be overwritten in subclasses.
setOffset($a_offset)
Set Offset.
getOffset()
Get Offset.
getData()
Get Data.
getRowTemplateName()
Get Row Template Name.
$_POST["username"]
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fillDetailRow()

ilBlockGUI::fillDetailRow ( )

Fill Detail Setting Row.

Definition at line 1351 of file class.ilBlockGUI.php.

References $block_id, $ctrl, $detail_min, $end, $i, $ilCtrl, $lng, $text, $url, array, getBlockId(), getBlockType(), getCurrentDetailLevel(), getDetailParameter(), getFooterInfo(), and ilUtil\getImagePath().

Referenced by getHTML().

1352  {
1353  $ilCtrl = $this->ctrl;
1354  $lng = $this->lng;
1355 
1356  if ($this->enabledetailrow == false) {
1357  return;
1358  }
1359 
1360  $start = ($this->detail_min < 1)
1361  ? $start = 1
1362  : $this->detail_min;
1363 
1364  $end = ($this->detail_max < $this->detail_min)
1365  ? $this->detail_min
1366  : $this->detail_max;
1367 
1368  $settings = array();
1369  for ($i = $start; $i <= $end; $i++) {
1370  $settings[] = $i;
1371  }
1372 
1373  if ($end > $start) {
1374  foreach ($settings as $i) {
1375  if (($i > $start && $i > 1)) {
1376  //$this->tpl->touchBlock("det_delim");
1377  //$this->tpl->touchBlock("det_item");
1378  }
1379  // if ($i != $this->getCurrentDetailLevel())
1380  // {
1381  $ilCtrl->setParameterByClass(
1382  "ilcolumngui",
1383  $this->getDetailParameter(),
1384  $i
1385  );
1386 
1387  $onclick = $onclick_id = "";
1388 
1389  // ajax link
1390  if ($i > 0) {
1391  $ilCtrl->setParameterByClass(
1392  "ilcolumngui",
1393  "block_id",
1394  "block_" . $this->getBlockType() . "_" . $this->block_id
1395  );
1396  $onclick = $ilCtrl->getLinkTargetByClass(
1397  "ilcolumngui",
1398  "updateBlock",
1399  "",
1400  true
1401  );
1402  $onclick_id = "block_" . $this->getBlockType() . "_" . $this->block_id;
1403  $ilCtrl->setParameterByClass(
1404  "ilcolumngui",
1405  "block_id",
1406  ""
1407  );
1408  }
1409 
1410  // normal link
1411  //$icon = ilUtil::getImagePath("details".$i.".svg");
1412  $text = $lng->txt("details") . " " . $i;
1413  $url = $ilCtrl->getLinkTargetByClass("ilcolumngui", "");
1414 
1415  if ($onclick) {
1416  $onclick = "ilBlockJSHandler('" . $onclick_id . "','" . $onclick . "')";
1417  }
1418 
1419  $checked = ($i == $this->getCurrentDetailLevel());
1420  $this->dropdown[] = array("text" => $text,
1421  "image" => $icon,
1422  "href" => $url,
1423  "onclick" => $onclick,
1424  "checked" => $checked);
1425  // }
1426  }
1427 
1428  // info + icon in detail row
1429  if ($this->getFooterInfo(true) != "") {
1430  $this->tpl->setCurrentBlock("det_info");
1431  $this->tpl->setVariable("INFO_TEXT", $this->getFooterInfo(true));
1432  $this->tpl->setVariable("ALT_DET_INFO", $lng->txt("info_short"));
1433  $this->tpl->setVariable("DI_BLOCK_ID", $this->getBlockType() . "_" . $this->getBlockId());
1434  $this->tpl->setVariable("IMG_DET_INFO", ilUtil::getImagePath("icon_info.svg"));
1435  $this->tpl->parseCurrentBlock();
1436  }
1437 
1438  /*
1439  $this->tpl->setCurrentBlock("detail_setting");
1440  $this->tpl->setVariable("TXT_DETAILS", $lng->txt("details"));
1441  $this->tpl->setVariable("DCOLSPAN", $this->getColSpan());
1442  $this->tpl->parseCurrentBlock();
1443  */
1444 
1445  $ilCtrl->setParameterByClass(
1446  "ilcolumngui",
1447  $this->getDetailParameter(),
1448  ""
1449  );
1450  }
1451  }
$end
Definition: saml1-acs.php:18
global $ilCtrl
Definition: ilias.php:18
static getBlockType()
getFooterInfo($a_hide_and_icon=false)
Get Footer Info.
static getImagePath($img, $module_path="", $mode="output", $offline=false)
get image path (for images located in a template directory)
$text
Definition: errorreport.php:18
Create styles array
The data for the language used.
getBlockId()
Get Block Id.
$i
Definition: disco.tpl.php:19
$url
getCurrentDetailLevel()
Get Current Detail Level.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fillFooter()

ilBlockGUI::fillFooter ( )

Definition at line 1118 of file class.ilBlockGUI.php.

Referenced by getHTML().

1119  {
1120  }
+ Here is the caller graph for this function:

◆ fillFooterLinks()

ilBlockGUI::fillFooterLinks (   $a_top = false,
  $a_numinfo = "" 
)

Fill footer links.

Returns
array linkbar or false on error

Definition at line 1266 of file class.ilBlockGUI.php.

References getFooterLinks().

Referenced by ilPDContentBlockGUI\fillFooter(), ilBookmarkBlockGUI\fillFooter(), ilPDSelectedItemsBlockGUI\fillFooter(), ilPDTaggingBlockGUI\fillFooter(), ilCalendarBlockGUI\fillFooter(), fillPreviousNext(), and ilNewsForContextBlockGUI\showViewFooter().

1267  {
1268  $first = true;
1269  $flinks = $this->getFooterLinks();
1270 
1271  $prefix = ($a_top) ? "top" : "foot";
1272 
1273  $has_link = false;
1274 
1275  $omit_separator = false;
1276  foreach ($flinks as $flink) {
1277  if ($flink["top"] != $a_top) {
1278  continue;
1279  }
1280 
1281  if (!$a_top) {
1282  if ($flink["onclick"]) {
1283  $flink["onclick"] = "ilBlockJSHandler('" . $flink["block_id"] .
1284  "','" . $flink["onclick"] . "')";
1285  }
1286  $this->dropdown[] = $flink;
1287  continue;
1288  }
1289 
1290  $has_link = true;
1291 
1292  if (!$first && !$omit_separator) {
1293  $this->tpl->touchBlock($prefix . "_delim");
1294  $this->tpl->touchBlock($prefix . "_item");
1295  }
1296 
1297  // ajax link
1298  if ($flink["onclick"] != "") {
1299  $this->tpl->setCurrentBlock($prefix . "_onclick");
1300  $this->tpl->setVariable(
1301  "OC_BLOCK_ID",
1302  $flink["block_id"]
1303  );
1304  $this->tpl->setVariable(
1305  "OC_HREF",
1306  $flink["onclick"]
1307  );
1308  $this->tpl->parseCurrentBlock();
1309  }
1310 
1311  // normal link
1312  if ($flink["href"] != "") {
1313  // normal link
1314  $this->tpl->setCurrentBlock($prefix . "_link");
1315  $this->tpl->setVariable(
1316  "FHREF",
1317  $flink["href"]
1318  );
1319  $this->tpl->setVariable("FLINK", $flink["text"]);
1320  $this->tpl->parseCurrentBlock();
1321  $this->tpl->touchBlock($prefix . "_item");
1322  } else {
1323  $this->tpl->setCurrentBlock($prefix . "_text");
1324  $this->tpl->setVariable("FTEXT", $flink["text"]);
1325  $this->tpl->parseCurrentBlock();
1326  $this->tpl->touchBlock($prefix . "_item");
1327  }
1328 
1329  $first = false;
1330  $omit_separator = $flink["omit_separator"];
1331  }
1332 
1333  if ($a_numinfo != "" && $has_link) {
1334  $this->tpl->setVariable("NUMINFO", $a_numinfo);
1335  $first = false;
1336  }
1337 
1338  /*
1339  if (!$first)
1340  {
1341  $this->tpl->setVariable("PCOLSPAN", $this->getColSpan());
1342  $this->tpl->setCurrentBlock($prefix."_row");
1343  $this->tpl->parseCurrentBlock();
1344  }
1345  */
1346  }
getFooterLinks()
Get footer links.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fillHeaderCommands()

ilBlockGUI::fillHeaderCommands ( )

Fill header commands block.

Definition at line 928 of file class.ilBlockGUI.php.

References $close_command, $ctrl, $dropdown, $ilCtrl, $img, $lng, $url, array, getBlockType(), getDetailParameter(), getHeaderCommands(), ilUtil\getImagePath(), getRepositoryMode(), ilAdvancedSelectionListGUI\ICON_CONFIG, and ilAdvancedSelectionListGUI\STYLE_LINK_BUTTON.

Referenced by getHTML().

929  {
930  $lng = $this->lng;
932 
933 
934  // header commands
935  if (count($this->getHeaderCommands()) > 0 ||
936  ($this->detail_max > $this->detail_min && $this->detail_min == 0) ||
937  $this->close_command != "") {
938  foreach ($this->getHeaderCommands() as $command) {
939  $this->tpl->setCurrentBlock("header_command");
940  $this->tpl->setVariable("HREF_HCOMM", $command["href"]);
941  $this->tpl->setVariable("TXT_HCOMM", $command["text"]);
942  $this->tpl->parseCurrentBlock();
943  }
944 
945  // close button
946  if (($this->detail_max > $this->detail_min && $this->detail_min == 0 &&
947  !$this->getRepositoryMode())
948  ||
949  $this->close_command != "") {
950  $alt = $lng->txt("hide");
951  if ($this->close_command != "") {
953  } else {
954  $ilCtrl->setParameterByClass(
955  "ilcolumngui",
956  $this->getDetailParameter(),
957  "0"
958  );
959  $url = $ilCtrl->getLinkTargetByClass("ilcolumngui", "");
960  $ilCtrl->setParameterByClass(
961  "ilcolumngui",
962  $this->getDetailParameter(),
963  ""
964  );
965  }
966 
967  $this->dropdown[] = array("text" => $alt,
968  "image" => $img,
969  "href" => $url);
970  }
971 
972  $this->tpl->setCurrentBlock("header_commands");
973  $this->tpl->parseCurrentBlock();
974  }
975 
976  // adv selection gui
977  include_once "Services/UIComponent/AdvancedSelectionList/classes/class.ilAdvancedSelectionListGUI.php";
979  $dropdown->setUseImages(true);
982  $dropdown->setId("block_dd_" . $this->getBlockType() . "_" . $this->block_id);
983  foreach ($this->dropdown as $item) {
984  if ($item["href"] || $item["onclick"]) {
985  if ($item["checked"]) {
986  $item["image"] = ilUtil::getImagePath("icon_checked.svg");
987  }
988  $dropdown->addItem(
989  $item["text"],
990  "",
991  $item["href"],
992  $item["image"],
993  $item["text"],
994  "",
995  "",
996  false,
997  $item["onclick"]
998  );
999  }
1000  }
1001  $dropdown = $dropdown->getHTML();
1002  $this->tpl->setCurrentBlock("header_dropdown");
1003  $this->tpl->setVariable("ADV_DROPDOWN", $dropdown);
1004  $this->tpl->parseCurrentBlock();
1005 
1006  $this->tpl->setCurrentBlock("hitem");
1007  $this->tpl->parseCurrentBlock();
1008  }
getHeaderCommands()
Get Header Block commands.
getRepositoryMode()
Get RepositoryMode.
global $ilCtrl
Definition: ilias.php:18
static getBlockType()
static getImagePath($img, $module_path="", $mode="output", $offline=false)
get image path (for images located in a template directory)
Create styles array
The data for the language used.
User interface class for advanced drop-down selection lists.
$url
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fillHeaderTitleBlock()

ilBlockGUI::fillHeaderTitleBlock ( )

Fill header title block (title and.

Definition at line 1014 of file class.ilBlockGUI.php.

References $lng, array, getBlockType(), getImage(), and getTitle().

Referenced by getHTML().

1015  {
1016  $lng = $this->lng;
1017 
1018  // image
1019  if ($this->getImage() != "") {
1020  $this->tpl->setCurrentBlock("block_img");
1021  $this->tpl->setVariable("IMG_BLOCK", $this->getImage());
1022  $this->tpl->setVariable(
1023  "IMID",
1024  "block_" . $this->getBlockType() . "_" . $this->block_id
1025  );
1026  $this->tpl->setVariable(
1027  "IMG_ALT",
1028  str_replace(array("'",'"'), "", strip_tags($lng->txt("icon") . " " . $this->getTitle()))
1029  );
1030  $this->tpl->parseCurrentBlock();
1031  }
1032 
1033  // header title
1034  $this->tpl->setCurrentBlock("header_title");
1035  $this->tpl->setVariable(
1036  "BTID",
1037  "block_" . $this->getBlockType() . "_" . $this->block_id
1038  );
1039  $this->tpl->setVariable(
1040  "BLOCK_TITLE",
1041  $this->getTitle()
1042  );
1043  $this->tpl->setVariable(
1044  "TXT_BLOCK",
1045  $lng->txt("block")
1046  );
1047  $this->tpl->parseCurrentBlock();
1048 
1049  $this->tpl->setCurrentBlock("hitem");
1050  $this->tpl->parseCurrentBlock();
1051  }
getImage()
Get Image.
static getBlockType()
Create styles array
The data for the language used.
getTitle()
Get Title.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fillPreviousNext()

ilBlockGUI::fillPreviousNext ( )

Fill previous/next row.

Definition at line 1133 of file class.ilBlockGUI.php.

References $end, $lng, $max_count, fillFooterLinks(), getEnableNumInfo(), getLimit(), getOffset(), and setPreviousNextLinks().

Referenced by getHTML().

1134  {
1135  $lng = $this->lng;
1136 
1137  // table pn numinfo
1138  $numinfo = "";
1139  if ($this->getEnableNumInfo() && $this->max_count > 0) {
1140  $start = $this->getOffset() + 1; // compute num info
1141  $end = $this->getOffset() + $this->getLimit();
1142 
1143  if ($end > $this->max_count or $this->getLimit() == 0) {
1145  }
1146 
1147  $numinfo = "(" . $start . "-" . $end . " " . strtolower($lng->txt("of")) . " " . $this->max_count . ")";
1148  }
1149 
1150  $this->setPreviousNextLinks();
1151  $this->fillFooterLinks(true, $numinfo);
1152  }
getLimit()
Get Limit.
$end
Definition: saml1-acs.php:18
fillFooterLinks($a_top=false, $a_numinfo="")
Fill footer links.
getEnableNumInfo()
Get Enable Item Number Info.
setPreviousNextLinks()
Get previous/next linkbar.
getOffset()
Get Offset.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fillRow()

ilBlockGUI::fillRow (   $a_set)

Definition at line 1111 of file class.ilBlockGUI.php.

References $key.

Referenced by fillDataSection().

1112  {
1113  foreach ($a_set as $key => $value) {
1114  $this->tpl->setVariable("VAL_" . strtoupper($key), $value);
1115  }
1116  }
$key
Definition: croninfo.php:18
+ Here is the caller graph for this function:

◆ fillRowColor()

ilBlockGUI::fillRowColor (   $a_placeholder = "CSS_ROW")
finalprotected

Definition at line 1122 of file class.ilBlockGUI.php.

Referenced by fillDataSection().

1123  {
1124  $this->css_row = ($this->css_row != "ilBlockRow1")
1125  ? "ilBlockRow1"
1126  : "ilBlockRow2";
1127  $this->tpl->setVariable($a_placeholder, $this->css_row);
1128  }
+ Here is the caller graph for this function:

◆ getAdminCommands()

ilBlockGUI::getAdminCommands ( )

Get Administration Commmands.

Returns
boolean Administration Commmands

Definition at line 437 of file class.ilBlockGUI.php.

Referenced by getHTML().

438  {
439  return $this->admincommands;
440  }
+ Here is the caller graph for this function:

◆ getBigMode()

ilBlockGUI::getBigMode ( )

Get Big Mode.

Returns
boolean Big Mode

Definition at line 147 of file class.ilBlockGUI.php.

References $bigmode.

Referenced by getHTML().

148  {
149  return $this->bigmode;
150  }
+ Here is the caller graph for this function:

◆ getBlockCommands()

ilBlockGUI::getBlockCommands ( )

Get Block commands.

Returns
array block commands

Definition at line 601 of file class.ilBlockGUI.php.

References $block_commands.

Referenced by getHTML().

602  {
603  return $this->block_commands;
604  }
+ Here is the caller graph for this function:

◆ getBlockId()

◆ getBlockType()

static ilBlockGUI::getBlockType ( )
staticabstract

◆ getColSpan()

ilBlockGUI::getColSpan ( )

Get Columns Span.

Returns
int Columns Span

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

References $colspan.

Referenced by ilBookmarkBlockGUI\fillFooter(), ilPDSelectedItemsBlockGUI\fillFooter(), ilPDTaggingBlockGUI\fillFooter(), ilCalendarBlockGUI\fillFooter(), and getHTML().

458  {
459  return $this->colspan;
460  }
+ Here is the caller graph for this function:

◆ getConfigParameter()

ilBlockGUI::getConfigParameter ( )
final

Definition at line 545 of file class.ilBlockGUI.php.

References getBlockId(), and getBlockType().

546  {
547  return $this->getBlockType() . "_" . $this->getBlockId() . "_blconf";
548  }
static getBlockType()
getBlockId()
Get Block Id.
+ Here is the call graph for this function:

◆ getCurrentDetailLevel()

ilBlockGUI::getCurrentDetailLevel ( )

Get Current Detail Level.

Returns
int Current Detail Level

Definition at line 222 of file class.ilBlockGUI.php.

Referenced by ilPDNewsBlockGUI\__construct(), ilNewsForContextBlockGUI\__construct(), ilForumPostingDraftsBlockGUI\fillDataSection(), ilPDNotesBlockGUI\fillDataSection(), ilBookmarkBlockGUI\fillDataSection(), ilPDPortfolioBlockGUI\fillDataSection(), ilPDTaggingBlockGUI\fillDataSection(), ilExternalFeedBlockGUI\fillDataSection(), ilPDExternalFeedBlockGUI\fillDataSection(), ilPDMailBlockGUI\fillDataSection(), ilPDNewsBlockGUI\fillDataSection(), ilUsersOnlineBlockGUI\fillDataSection(), ilNewsForContextBlockGUI\fillDataSection(), ilCalendarBlockGUI\fillDataSection(), fillDetailRow(), ilForumPostingDraftsBlockGUI\fillRow(), ilPDPortfolioBlockGUI\fillRow(), ilPDMailBlockGUI\fillRow(), ilPDNotesBlockGUI\fillRow(), ilUsersOnlineBlockGUI\fillRow(), ilBookmarkBlockGUI\fillRow(), ilNewsForContextBlockGUI\fillRow(), ilPDSysMessageBlockGUI\getHTML(), ilForumPostingDraftsBlockGUI\getHTML(), ilChatroomBlockGUI\getHTML(), ilPDNotesBlockGUI\getHTML(), ilBookmarkBlockGUI\getHTML(), ilPDPortfolioBlockGUI\getHTML(), ilPDTaggingBlockGUI\getHTML(), ilPDMailBlockGUI\getHTML(), ilUsersOnlineBlockGUI\getHTML(), ilExternalFeedBlockGUI\getHTML(), ilPDExternalFeedBlockGUI\getHTML(), ilPDNewsBlockGUI\getHTML(), ilCalendarBlockGUI\getHTML(), ilPDTaggingBlockGUI\getTagCloud(), ilPDSelectedItemsBlockGUI\getViewBlockHtml(), and ilCalendarBlockGUI\setFooterLinks().

223  {
224  return $this->currentdetaillevel;
225  }
+ Here is the caller graph for this function:

◆ getData()

◆ getDetailParameter()

ilBlockGUI::getDetailParameter ( )
final

Definition at line 540 of file class.ilBlockGUI.php.

References getBlockId(), and getBlockType().

Referenced by fillDetailRow(), fillHeaderCommands(), and handleDetailLevel().

541  {
542  return $this->getBlockType() . "_" . $this->getBlockId() . "_bldet";
543  }
static getBlockType()
getBlockId()
Get Block Id.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getEnableDetailRow()

ilBlockGUI::getEnableDetailRow ( )

Get EnableDetailRow.

Returns
boolean EnableDetailRow

Definition at line 477 of file class.ilBlockGUI.php.

References $enabledetailrow.

478  {
479  return $this->enabledetailrow;
480  }

◆ getEnableEdit()

ilBlockGUI::getEnableEdit ( )

Get EnableEdit.

Returns
boolean EnableEdit

Definition at line 329 of file class.ilBlockGUI.php.

330  {
331  return $this->enableedit;
332  }

◆ getEnableNumInfo()

ilBlockGUI::getEnableNumInfo ( )

Get Enable Item Number Info.

Returns
boolean Enable Item Number Info

Definition at line 498 of file class.ilBlockGUI.php.

References $enablenuminfo.

Referenced by ilPDContentBlockGUI\fillFooter(), and fillPreviousNext().

499  {
500  return $this->enablenuminfo;
501  }
+ Here is the caller graph for this function:

◆ getFooterInfo()

ilBlockGUI::getFooterInfo (   $a_hide_and_icon = false)

Get Footer Info.

Returns
string Footer Info

Definition at line 373 of file class.ilBlockGUI.php.

References $footerinfo, and $footerinfo_icon.

Referenced by fillDetailRow(), and getHTML().

374  {
375  if ($a_hide_and_icon) {
376  return $this->footerinfo_icon;
377  } else {
378  return $this->footerinfo;
379  }
380  }
+ Here is the caller graph for this function:

◆ getFooterLinks()

ilBlockGUI::getFooterLinks ( )

Get footer links.

Definition at line 658 of file class.ilBlockGUI.php.

References $footer_links.

Referenced by fillFooterLinks().

659  {
660  return $this->footer_links;
661  }
+ Here is the caller graph for this function:

◆ getGuiObject()

ilBlockGUI::getGuiObject ( )

Get GuiObject.

Returns
object GUI object

Definition at line 212 of file class.ilBlockGUI.php.

213  {
214  return $this->gui_object;
215  }

◆ getHeaderCommands()

ilBlockGUI::getHeaderCommands ( )

Get Header Block commands.

Returns
array header block commands

Definition at line 628 of file class.ilBlockGUI.php.

References $header_commands.

Referenced by fillHeaderCommands().

629  {
630  return $this->header_commands;
631  }
+ Here is the caller graph for this function:

◆ getHeaderLinks()

ilBlockGUI::getHeaderLinks ( )

Definition at line 107 of file class.ilBlockGUI.php.

References $header_links.

Referenced by getHTML().

108  {
109  return $this->header_links;
110  }
+ Here is the caller graph for this function:

◆ getHTML()

ilBlockGUI::getHTML ( )

Handle config status.

Get HTML.

Definition at line 739 of file class.ilBlockGUI.php.

References $_GET, $access, $counter, $ctrl, $ilCtrl, $ilUser, $lng, $obj_def, $user, ilObject\_lookupType(), addBlockCommand(), array, fillDataSection(), fillDetailRow(), fillFooter(), fillHeaderCommands(), fillHeaderTitleBlock(), fillPreviousNext(), getAdminCommands(), getBigMode(), getBlockCommands(), getBlockType(), getColSpan(), getFooterInfo(), getHeaderLinks(), getRefId(), getRepositoryMode(), and isRepositoryObject().

Referenced by ilPDNewsBlockGUI\getHTML().

740  {
742  $lng = $this->lng;
743  $ilAccess = $this->access;
745  $objDefinition = $this->obj_def;
746 
747  if ($this->isRepositoryObject()) {
748  if (!$ilAccess->checkAccess("read", "", $this->getRefId())) {
749  return "";
750  }
751  }
752 
753  $this->tpl = new ilTemplate("tpl.block.html", true, true, "Services/Block");
754 
755  // $this->handleConfigStatus();
756 
757  $this->fillDataSection();
758 
759  if ($this->getRepositoryMode() && $this->isRepositoryObject()) {
760  // #10993
761  if ($this->getAdminCommands()) {
762  $this->tpl->setCurrentBlock("block_check");
763  $this->tpl->setVariable("BL_REF_ID", $this->getRefId());
764  $this->tpl->parseCurrentBlock();
765  }
766 
767  if ($ilAccess->checkAccess("delete", "", $this->getRefId())) {
768  $this->addBlockCommand(
769  "ilias.php?baseClass=ilRepositoryGUI&ref_id=" . $_GET["ref_id"] . "&cmd=delete" .
770  "&item_ref_id=" . $this->getRefId(),
771  $lng->txt("delete")
772  );
773 
774  // see ilObjectListGUI::insertCutCommand();
775  $this->addBlockCommand(
776  "ilias.php?baseClass=ilRepositoryGUI&ref_id=" . $_GET["ref_id"] . "&cmd=cut" .
777  "&item_ref_id=" . $this->getRefId(),
778  $lng->txt("move")
779  );
780  }
781 
782  // #14595 - see ilObjectListGUI::insertCopyCommand()
783  if ($ilAccess->checkAccess("copy", "", $this->getRefId())) {
784  $parent_type = ilObject::_lookupType($_GET["ref_id"], true);
785  $parent_gui = "ilObj" . $objDefinition->getClassName($parent_type) . "GUI";
786 
787  $ilCtrl->setParameterByClass("ilobjectcopygui", "source_id", $this->getRefId());
788  $copy_cmd = $ilCtrl->getLinkTargetByClass(
789  array("ilrepositorygui", $parent_gui, "ilobjectcopygui"),
790  "initTargetSelection"
791  );
792 
793  // see ilObjectListGUI::insertCopyCommand();
794  $this->addBlockCommand(
795  $copy_cmd,
796  $lng->txt("copy")
797  );
798  }
799  }
800 
801  // footer info
802  if ($this->getFooterInfo() != "") {
803  $this->tpl->setCurrentBlock("footer_information");
804  $this->tpl->setVariable("FOOTER_INFO", $this->getFooterInfo());
805  $this->tpl->setVariable("FICOLSPAN", $this->getColSpan());
806  $this->tpl->parseCurrentBlock();
807  }
808 
809  $this->dropdown = array();
810 
811  // commands
812  if (count($this->getBlockCommands()) > 0) {
813  $has_block_command = false;
814 
815  foreach ($this->getBlockCommands() as $command) {
816  if (!$command["img"] && !$command["html"]) {
817  $this->dropdown[] = $command;
818  continue;
819  }
820 
821  $has_block_command = true;
822 
823  if ($command["target"] != "") {
824  $this->tpl->setCurrentBlock("bc_target");
825  $this->tpl->setVariable("CMD_TARGET", $command["target"]);
826  $this->tpl->parseCurrentBlock();
827  }
828 
829  if ($command["img"] != "") {
830  $this->tpl->setCurrentBlock("bc_image");
831  $this->tpl->setVariable("SRC_BC", $command["img"]);
832  $this->tpl->setVariable("ALT_BC", $command["text"]);
833  $this->tpl->parseCurrentBlock();
834  $this->tpl->setCurrentBlock("block_command");
835  } elseif ($command["html"] != "") {
836  $this->tpl->setCurrentBlock("bc_html");
837  $this->tpl->setVariable("HTML", $command["html"]);
838  $this->tpl->parseCurrentBlock();
839  $this->tpl->setCurrentBlock("block_command");
840  } else {
841  $this->tpl->setCurrentBlock("block_command");
842  $this->tpl->setVariable("CMD_TEXT", $command["text"]);
843  $this->tpl->setVariable("BC_CLASS", 'class="il_ContainerItemCommand"');
844  }
845 
846  $this->tpl->setVariable("CMD_HREF", $command["href"]);
847  $this->tpl->parseCurrentBlock();
848  }
849 
850  if ($has_block_command) {
851  $this->tpl->setCurrentBlock("block_commands");
852  $this->tpl->setVariable("CCOLSPAN", $this->getColSpan());
853  $this->tpl->parseCurrentBlock();
854  }
855  }
856 
857  // fill previous next
858  $this->fillPreviousNext();
859 
860  // fill footer
861  $this->fillFooter();
862 
863  // fill row for setting details
864  $this->fillDetailRow();
865 
866  // header links
867  if (count($this->getHeaderLinks())) {
868  $counter = 0;
869  foreach ($this->getHeaderLinks() as $command) {
870  if ($counter > 0) {
871  $this->tpl->setCurrentBlock('head_delim');
872  $this->tpl->touchBlock('head_delim');
873  $this->tpl->parseCurrentBlock();
874  }
875  if ($command['status'] == true) {
876  $this->tpl->setCurrentBlock('head_link');
877  $this->tpl->setVariable('HHREF', $command['href']);
878  $this->tpl->setVariable('HLINK', $command['text']);
879  $this->tpl->parseCurrentBlock();
880  } else {
881  $this->tpl->setCurrentBlock('head_text');
882  $this->tpl->setVariable('HTEXT', $command['text']);
883  $this->tpl->parseCurrentBlock();
884  }
885 
886  $this->tpl->setCurrentBlock('head_item');
887  $this->tpl->parseCurrentBlock();
888 
889  ++$counter;
890  }
891 
892  $this->tpl->setCurrentBlock('header_links');
893  $this->tpl->parseCurrentBlock();
894  }
895 
896  // for screen readers we first output the title and the commands
897  // (e.g. close icon afterwards), otherwise we first output the
898  // header commands, since we want to have the close icon top right
899  // and not floated after the title
900  if (is_object($ilUser) && $ilUser->getPref("screen_reader_optimization")) {
901  $this->fillHeaderTitleBlock();
902  $this->fillHeaderCommands();
903  } else {
904  $this->fillHeaderCommands();
905  $this->fillHeaderTitleBlock();
906  }
907 
908  $this->tpl->setVariable("COLSPAN", $this->getColSpan());
909  if ($this->getBigMode()) {
910  $this->tpl->touchBlock("hclassb");
911  } else {
912  $this->tpl->touchBlock("hclass");
913  }
914 
915  if ($ilCtrl->isAsynch()) {
916  // return without div wrapper
917  echo $this->tpl->getAsynch();
918  } else {
919  // return incl. wrapping div with id
920  return '<div id="' . "block_" . $this->getBlockType() . "_" . $this->block_id . '">' .
921  $this->tpl->get() . '</div>';
922  }
923  }
$_GET["client_id"]
getRepositoryMode()
Get RepositoryMode.
fillHeaderTitleBlock()
Fill header title block (title and.
global $ilCtrl
Definition: ilias.php:18
fillDetailRow()
Fill Detail Setting Row.
$counter
getBlockCommands()
Get Block commands.
static getBlockType()
fillHeaderCommands()
Fill header commands block.
getFooterInfo($a_hide_and_icon=false)
Get Footer Info.
special template class to simplify handling of ITX/PEAR
getBigMode()
Get Big Mode.
static isRepositoryObject()
$ilUser
Definition: imgupload.php:18
Create styles array
The data for the language used.
static _lookupType($a_id, $a_reference=false)
lookup object type
getAdminCommands()
Get Administration Commmands.
addBlockCommand( $a_href, $a_text, $a_target="", $a_img="", $a_right_aligned=false, $a_checked=false, $a_html="")
Add Block Command.
getRefId()
Get Ref Id (only used if isRepositoryObject() is true).
fillPreviousNext()
Fill previous/next row.
getColSpan()
Get Columns Span.
fillDataSection()
Standard implementation for row based data.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getImage()

ilBlockGUI::getImage ( )

Get Image.

Returns
string Image

Definition at line 262 of file class.ilBlockGUI.php.

References $image.

Referenced by fillHeaderTitleBlock().

263  {
264  return $this->image;
265  }
+ Here is the caller graph for this function:

◆ getLimit()

ilBlockGUI::getLimit ( )

Get Limit.

Returns
int Limit

Definition at line 309 of file class.ilBlockGUI.php.

Referenced by fillDataSection(), fillPreviousNext(), and setPreviousNextLinks().

310  {
311  return $this->limit;
312  }
+ Here is the caller graph for this function:

◆ getMoveParameter()

ilBlockGUI::getMoveParameter ( )
final

Definition at line 550 of file class.ilBlockGUI.php.

References getBlockId(), and getBlockType().

551  {
552  return $this->getBlockType() . "_" . $this->getBlockId() . "_blmove";
553  }
static getBlockType()
getBlockId()
Get Block Id.
+ Here is the call graph for this function:

◆ getNavParameter()

ilBlockGUI::getNavParameter ( )
final

Definition at line 535 of file class.ilBlockGUI.php.

References getBlockId(), and getBlockType().

Referenced by fillDataSection(), and setPreviousNextLinks().

536  {
537  return $this->getBlockType() . "_" . $this->getBlockId() . "_blnav";
538  }
static getBlockType()
getBlockId()
Get Block Id.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getOffset()

ilBlockGUI::getOffset ( )

Get Offset.

Returns
int Offset

Definition at line 282 of file class.ilBlockGUI.php.

Referenced by fillDataSection(), fillPreviousNext(), and setPreviousNextLinks().

283  {
284  return $this->offset;
285  }
+ Here is the caller graph for this function:

◆ getProperty()

ilBlockGUI::getProperty (   $a_property)

Definition at line 514 of file class.ilBlockGUI.php.

Referenced by ilNewsForContextBlockGUI\getHTML(), ilCalendarBlockGUI\getHTML(), ilNewsForContextBlockGUI\initSettingsForm(), ilNewsForContextBlockGUI\saveSettings(), and ilNewsForContextBlockGUI\showNews().

515  {
516  return $this->property[$a_property];
517  }
+ Here is the caller graph for this function:

◆ getRefId()

ilBlockGUI::getRefId ( )

Get Ref Id (only used if isRepositoryObject() is true).

Returns
int Ref Id

Definition at line 417 of file class.ilBlockGUI.php.

Referenced by ilPollBlockGUI\commentJSCall(), ilPollBlockGUI\fillRow(), ilExternalFeedBlockGUI\getHTML(), ilPollBlockGUI\getHTML(), and getHTML().

418  {
419  return $this->refid;
420  }
+ Here is the caller graph for this function:

◆ getRepositoryMode()

ilBlockGUI::getRepositoryMode ( )

Get RepositoryMode.

Returns
boolean RepositoryMode

Definition at line 349 of file class.ilBlockGUI.php.

Referenced by fillHeaderCommands(), ilNewsForContextBlockGUI\getHTML(), getHTML(), ilCalendarBlockGUI\getTargetGUIClassPath(), and ilCalendarBlockGUI\setFooterLinks().

350  {
351  return $this->repositorymode;
352  }
+ Here is the caller graph for this function:

◆ getRowTemplateDir()

ilBlockGUI::getRowTemplateDir ( )

Get Row Template Directory.

Returns
string Row Template Directory

Definition at line 570 of file class.ilBlockGUI.php.

Referenced by fillDataSection().

571  {
572  return $this->rowtemplatedir;
573  }
+ Here is the caller graph for this function:

◆ getRowTemplateName()

ilBlockGUI::getRowTemplateName ( )

Get Row Template Name.

Returns
string Row Template Name

Definition at line 560 of file class.ilBlockGUI.php.

Referenced by fillDataSection().

561  {
562  return $this->rowtemplatename;
563  }
+ Here is the caller graph for this function:

◆ getScreenMode()

static ilBlockGUI::getScreenMode ( )
static

Get Screen Mode for current command.

Definition at line 674 of file class.ilBlockGUI.php.

References IL_SCREEN_SIDE.

675  {
676  return IL_SCREEN_SIDE;
677  }
const IL_SCREEN_SIDE

◆ getSubtitle()

ilBlockGUI::getSubtitle ( )

Get Subtitle.

Returns
string Subtitle

Definition at line 397 of file class.ilBlockGUI.php.

398  {
399  return $this->subtitle;
400  }

◆ getTitle()

◆ handleDetailLevel()

ilBlockGUI::handleDetailLevel ( )

Handle read/write current detail level.

Definition at line 682 of file class.ilBlockGUI.php.

References $_GET, $block_id, $ctrl, $ilCtrl, $ilUser, $user, ilBlockSetting\_lookupDetailLevel(), ilBlockSetting\_writeDetailLevel(), getBlockType(), getDetailParameter(), and setCurrentDetailLevel().

Referenced by ilPDCalendarBlockGUI\__construct(), and setAvailableDetailLevels().

683  {
686  // set/get detail level
687  if ($this->detail_max > $this->detail_min) {
688  include_once("Services/Block/classes/class.ilBlockSetting.php");
689  if (isset($_GET[$this->getDetailParameter()])) {
691  $this->getBlockType(),
692  $_GET[$this->getDetailParameter()],
693  $ilUser->getId(),
695  );
697  if ((int) $_GET[$this->getDetailParameter()] == 0) {
698  $ilCtrl->redirectByClass("ilcolumngui", "");
699  }
700  } else {
702  $this->getBlockType(),
703  $ilUser->getId(),
705  ));
706  }
707  }
708  }
static _writeDetailLevel($a_type, $a_value, $a_user=0, $a_block_id=0)
Write detail level to database.
$_GET["client_id"]
static _lookupDetailLevel($a_type, $a_user=0, $a_block_id=0)
Lookup detail level.
global $ilCtrl
Definition: ilias.php:18
static getBlockType()
$ilUser
Definition: imgupload.php:18
setCurrentDetailLevel($a_currentdetaillevel)
Set Current Detail Level.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ isRepositoryObject()

static ilBlockGUI::isRepositoryObject ( )
staticabstract

Referenced by getHTML().

+ Here is the caller graph for this function:

◆ preloadData()

ilBlockGUI::preloadData ( array  $data)
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.

Parameters
array$data

Definition at line 1457 of file class.ilBlockGUI.php.

Referenced by fillDataSection().

1458  {
1459  }
+ Here is the caller graph for this function:

◆ setAdminCommands()

ilBlockGUI::setAdminCommands (   $a_admincommands)

Set Administration Commmands.

Parameters
boolean$a_admincommandsAdministration Commmands

Definition at line 427 of file class.ilBlockGUI.php.

428  {
429  $this->admincommands = $a_admincommands;
430  }

◆ setAvailableDetailLevels()

ilBlockGUI::setAvailableDetailLevels (   $a_max,
  $a_min = 0 
)

◆ setBigMode()

ilBlockGUI::setBigMode (   $a_bigmode)

Set Big Mode.

Parameters
boolean$a_bigmodeBig Mode

Definition at line 137 of file class.ilBlockGUI.php.

Referenced by ilPDContentBlockGUI\__construct().

138  {
139  $this->bigmode = $a_bigmode;
140  }
+ Here is the caller graph for this function:

◆ setBlockId()

ilBlockGUI::setBlockId (   $a_block_id = 0)

Set Block Id.

Parameters
int$a_block_idBlock ID

Definition at line 157 of file class.ilBlockGUI.php.

Referenced by ilPDCalendarBlockGUI\__construct(), ilObjectMetaDataBlockGUI\__construct(), ilNewsForContextBlockGUI\__construct(), ilCalendarBlockGUI\__construct(), ilPollBlockGUI\setBlock(), ilExternalFeedBlockGUI\setBlock(), and ilPDExternalFeedBlockGUI\setBlock().

158  {
159  $this->block_id = $a_block_id;
160  }
+ Here is the caller graph for this function:

◆ setColSpan()

ilBlockGUI::setColSpan (   $a_colspan)

Set Columns Span.

Parameters
int$a_colspanColumns Span

Definition at line 447 of file class.ilBlockGUI.php.

Referenced by ilForumPostingDraftsBlockGUI\fillDataSection(), ilBookmarkBlockGUI\fillDataSection(), ilPDPortfolioBlockGUI\fillDataSection(), ilPDMailBlockGUI\fillDataSection(), ilUsersOnlineBlockGUI\fillDataSection(), and ilCalendarBlockGUI\fillDataSection().

448  {
449  $this->colspan = $a_colspan;
450  }
+ Here is the caller graph for this function:

◆ setCurrentDetailLevel()

ilBlockGUI::setCurrentDetailLevel (   $a_currentdetaillevel)

Set Current Detail Level.

Parameters
int$a_currentdetaillevelCurrent Detail Level

Definition at line 190 of file class.ilBlockGUI.php.

Referenced by ilPDSysMessageBlockGUI\getHTML(), ilUsersOnlineBlockGUI\getListRowData(), and handleDetailLevel().

191  {
192  $this->currentdetaillevel = $a_currentdetaillevel;
193  }
+ Here is the caller graph for this function:

◆ setData()

◆ setDataSection()

◆ setEnableDetailRow()

ilBlockGUI::setEnableDetailRow (   $a_enabledetailrow)

Set EnableDetailRow.

Parameters
boolean$a_enabledetailrowEnableDetailRow

Definition at line 467 of file class.ilBlockGUI.php.

Referenced by ilForumPostingDraftsBlockGUI\fillDataSection(), ilPDNotesBlockGUI\fillDataSection(), ilBookmarkBlockGUI\fillDataSection(), ilPDPortfolioBlockGUI\fillDataSection(), ilPDTaggingBlockGUI\fillDataSection(), ilPDMailBlockGUI\fillDataSection(), ilPDNewsBlockGUI\fillDataSection(), and ilPDSelectedItemsBlockGUI\getHTML().

468  {
469  $this->enabledetailrow = $a_enabledetailrow;
470  }
+ Here is the caller graph for this function:

◆ setEnableEdit()

ilBlockGUI::setEnableEdit (   $a_enableedit)

Set EnableEdit.

Parameters
boolean$a_enableeditEnableEdit

Definition at line 319 of file class.ilBlockGUI.php.

320  {
321  $this->enableedit = $a_enableedit;
322  }

◆ setEnableNumInfo()

◆ setFooterInfo()

ilBlockGUI::setFooterInfo (   $a_footerinfo,
  $a_hide_and_icon = false 
)

Set Footer Info.

Parameters
string$a_footerinfoFooter Info

Definition at line 359 of file class.ilBlockGUI.php.

Referenced by ilClassificationBlockGUI\__construct(), ilPDNewsBlockGUI\getHTML(), and ilNewsForContextBlockGUI\getHTML().

360  {
361  if ($a_hide_and_icon) {
362  $this->footerinfo_icon = $a_footerinfo;
363  } else {
364  $this->footerinfo = $a_footerinfo;
365  }
366  }
+ Here is the caller graph for this function:

◆ setGuiObject()

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)

Parameters
object$a_gui_objectGUI object

Definition at line 202 of file class.ilBlockGUI.php.

203  {
204  $this->gui_object = $a_gui_object;
205  }

◆ setImage()

ilBlockGUI::setImage (   $a_image)

Set Image.

Parameters
string$a_imageImage

Definition at line 252 of file class.ilBlockGUI.php.

References image.

Referenced by ilBookmarkBlockGUI\__construct(), ilForumPostingDraftsBlockGUI\__construct(), ilChatroomBlockGUI\__construct(), and ilPDMailBlockGUI\__construct().

253  {
254  $this->image = $a_image;
255  }
Generate an image
+ Here is the caller graph for this function:

◆ setLimit()

◆ setOffset()

ilBlockGUI::setOffset (   $a_offset)

Set Offset.

Parameters
int$a_offsetOffset

Definition at line 272 of file class.ilBlockGUI.php.

Referenced by correctOffset(), and fillDataSection().

273  {
274  $this->offset = $a_offset;
275  }
+ Here is the caller graph for this function:

◆ setPreviousNextLinks()

ilBlockGUI::setPreviousNextLinks ( )

Get previous/next linkbar.

Author
Sascha Hofmann shofm.nosp@m.ann@.nosp@m.datab.nosp@m.ay.d.nosp@m.e
Returns
array linkbar or false on error

Definition at line 1161 of file class.ilBlockGUI.php.

References $block_id, $ctrl, $ilCtrl, $lng, $text, addFooterLink(), getBlockType(), getLimit(), getNavParameter(), and getOffset().

Referenced by fillPreviousNext().

1162  {
1163  $ilCtrl = $this->ctrl;
1164  $lng = $this->lng;
1165 
1166  // if more entries then entries per page -> show link bar
1167  if ($this->max_count > $this->getLimit() && ($this->getLimit() != 0)) {
1168  // previous link
1169  if ($this->getOffset() >= 1) {
1170  $prevoffset = $this->getOffset() - $this->getLimit();
1171 
1172  $ilCtrl->setParameterByClass(
1173  "ilcolumngui",
1174  $this->getNavParameter(),
1175  "::" . $prevoffset
1176  );
1177 
1178  // ajax link
1179  $ilCtrl->setParameterByClass(
1180  "ilcolumngui",
1181  "block_id",
1182  "block_" . $this->getBlockType() . "_" . $this->block_id
1183  );
1184  $block_id = "block_" . $this->getBlockType() . "_" . $this->block_id;
1185  $onclick = $ilCtrl->getLinkTargetByClass(
1186  "ilcolumngui",
1187  "updateBlock",
1188  "",
1189  true
1190  );
1191  $ilCtrl->setParameterByClass(
1192  "ilcolumngui",
1193  "block_id",
1194  ""
1195  );
1196 
1197  // normal link
1198  $href = $ilCtrl->getLinkTargetByClass("ilcolumngui", "");
1199  $text = $lng->txt("previous");
1200 
1201  $this->addFooterLink($text, $href, $onclick, $block_id, true);
1202  }
1203 
1204  // calculate number of pages
1205  $pages = intval($this->max_count / $this->getLimit());
1206 
1207  // add a page if a rest remains
1208  if (($this->max_count % $this->getLimit())) {
1209  $pages++;
1210  }
1211 
1212  // show next link (if not last page)
1213  if (!(($this->getOffset() / $this->getLimit())==($pages-1)) && ($pages!=1)) {
1214  $newoffset = $this->getOffset() + $this->getLimit();
1215 
1216  $ilCtrl->setParameterByClass(
1217  "ilcolumngui",
1218  $this->getNavParameter(),
1219  "::" . $newoffset
1220  );
1221 
1222  // ajax link
1223  $ilCtrl->setParameterByClass(
1224  "ilcolumngui",
1225  "block_id",
1226  "block_" . $this->getBlockType() . "_" . $this->block_id
1227  );
1228  //$this->tpl->setCurrentBlock("pnonclick");
1229  $block_id = "block_" . $this->getBlockType() . "_" . $this->block_id;
1230  $onclick = $ilCtrl->getLinkTargetByClass(
1231  "ilcolumngui",
1232  "updateBlock",
1233  "",
1234  true
1235  );
1236  //echo "-".$onclick."-";
1237  //$this->tpl->parseCurrentBlock();
1238  $ilCtrl->setParameterByClass(
1239  "ilcolumngui",
1240  "block_id",
1241  ""
1242  );
1243 
1244  // normal link
1245  $href = $ilCtrl->getLinkTargetByClass("ilcolumngui", "");
1246  $text = $lng->txt("next");
1247 
1248  $this->addFooterLink($text, $href, $onclick, $block_id, true);
1249  }
1250  $ilCtrl->setParameterByClass(
1251  "ilcolumngui",
1252  $this->getNavParameter(),
1253  ""
1254  );
1255  return true;
1256  } else {
1257  return false;
1258  }
1259  }
getLimit()
Get Limit.
global $ilCtrl
Definition: ilias.php:18
static getBlockType()
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.
$text
Definition: errorreport.php:18
getOffset()
Get Offset.
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setProperties()

ilBlockGUI::setProperties (   $a_properties)

This function is supposed to be used for block type specific properties, that should be inherited through ilColumnGUI->setBlockProperties.

Parameters
string$a_propertiesproperties array (key => value)

Definition at line 509 of file class.ilBlockGUI.php.

510  {
511  $this->property = $a_properties;
512  }

◆ setProperty()

ilBlockGUI::setProperty (   $a_property,
  $a_value 
)

Definition at line 519 of file class.ilBlockGUI.php.

520  {
521  $this->property[$a_property] = $a_value;
522  }

◆ setRefId()

ilBlockGUI::setRefId (   $a_refid)

Set Ref Id (only used if isRepositoryObject() is true).

Parameters
int$a_refidRef Id

Definition at line 407 of file class.ilBlockGUI.php.

408  {
409  $this->refid = $a_refid;
410  }

◆ setRepositoryMode()

ilBlockGUI::setRepositoryMode (   $a_repositorymode)

Set RepositoryMode.

Parameters
boolean$a_repositorymodeRepositoryMode

Definition at line 339 of file class.ilBlockGUI.php.

340  {
341  $this->repositorymode = $a_repositorymode;
342  }

◆ setRowTemplate()

ilBlockGUI::setRowTemplate (   $a_rowtemplatename,
  $a_rowtemplatedir = "" 
)

Set Row Template Name.

Parameters
string$a_rowtemplatenameRow Template Name

Definition at line 529 of file class.ilBlockGUI.php.

Referenced by ilPDNewsBlockGUI\__construct(), ilPollBlockGUI\__construct(), ilNewsForContextBlockGUI\__construct(), ilExternalFeedBlockGUI\__construct(), ilPDExternalFeedBlockGUI\__construct(), ilForumPostingDraftsBlockGUI\fillDataSection(), ilPDNotesBlockGUI\fillDataSection(), ilBookmarkBlockGUI\fillDataSection(), ilPDPortfolioBlockGUI\fillDataSection(), ilPDMailBlockGUI\fillDataSection(), ilUsersOnlineBlockGUI\fillDataSection(), and ilCalendarBlockGUI\fillDataSection().

530  {
531  $this->rowtemplatename = $a_rowtemplatename;
532  $this->rowtemplatedir = $a_rowtemplatedir;
533  }
+ Here is the caller graph for this function:

◆ setSubtitle()

ilBlockGUI::setSubtitle (   $a_subtitle)

Set Subtitle.

Parameters
string$a_subtitleSubtitle

Definition at line 387 of file class.ilBlockGUI.php.

388  {
389  $this->subtitle = $a_subtitle;
390  }

◆ setTitle()

Field Documentation

◆ $access

◆ $allow_moving

ilBlockGUI::$allow_moving = true
protected

Definition at line 27 of file class.ilBlockGUI.php.

◆ $bigmode

ilBlockGUI::$bigmode = false
protected

Definition at line 23 of file class.ilBlockGUI.php.

Referenced by getBigMode().

◆ $block_commands

ilBlockGUI::$block_commands = array()
protected

Definition at line 33 of file class.ilBlockGUI.php.

Referenced by getBlockCommands().

◆ $block_id

◆ $close_command

ilBlockGUI::$close_command = false
protected

Definition at line 35 of file class.ilBlockGUI.php.

Referenced by fillHeaderCommands().

◆ $colspan

ilBlockGUI::$colspan = 1
protected

Definition at line 19 of file class.ilBlockGUI.php.

Referenced by getColSpan().

◆ $css_row

ilBlockGUI::$css_row = ""
protected

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

◆ $ctrl

ilBlockGUI::$ctrl
protected

Definition at line 61 of file class.ilBlockGUI.php.

Referenced by ilPDNewsBlockGUI\addCloseCommand(), ilNewsForContextBlockGUI\addCloseCommand(), ilExternalFeedBlockGUIGen\cancelSaveFeedBlock(), ilPDNewsBlockGUI\cancelSettings(), ilNewsForContextBlockGUI\cancelSettings(), ilExternalFeedBlockGUIGen\cancelUpdateFeedBlock(), ilPDNewsBlockGUI\changeFeedSettings(), ilPDExternalFeedBlockGUI\confirmDeleteFeedBlock(), ilPDExternalFeedBlockGUI\deleteFeedBlock(), ilExternalFeedBlockGUI\disableJS(), ilPDExternalFeedBlockGUI\disableJS(), ilNewsForContextBlockGUI\disableJS(), ilPDNewsBlockGUI\editSettings(), ilClassificationBlockGUI\executeCommand(), ilExternalFeedBlockGUIGen\executeCommand(), ilRepositoryObjectSearchBlockGUI\executeCommand(), ilWikiSideBlockGUI\executeCommand(), ilWikiFunctionsBlockGUI\executeCommand(), ilWikiImportantPagesBlockGUI\executeCommand(), ilPDNotesBlockGUI\executeCommand(), ilPDPortfolioBlockGUI\executeCommand(), ilBookmarkBlockGUI\executeCommand(), ilObjectMetaDataBlockGUI\executeCommand(), ilWikiSearchBlockGUI\executeCommand(), ilPollBlockGUI\executeCommand(), ilPDTaggingBlockGUI\executeCommand(), ilUsersOnlineBlockGUI\executeCommand(), ilDummyBlockGUI\executeCommand(), ilExternalFeedBlockGUI\executeCommand(), ilPDExternalFeedBlockGUI\executeCommand(), ilPDNewsBlockGUI\executeCommand(), ilNewsForContextBlockGUI\executeCommand(), ilPDExternalFeedBlockGUI\exitDeleteFeedBlock(), ilExternalFeedBlockGUIGen\exitSaveFeedBlock(), ilExternalFeedBlockGUIGen\exitUpdateFeedBlock(), ilRepositoryObjectSearchBlockGUI\fillDataSection(), ilWikiImportantPagesBlockGUI\fillDataSection(), ilWikiSearchBlockGUI\fillDataSection(), ilWikiSideBlockGUI\fillDataSection(), ilWikiFunctionsBlockGUI\fillDataSection(), ilClassificationBlockGUI\fillDataSection(), fillDetailRow(), ilNewsForContextBlockGUI\fillFooter(), fillHeaderCommands(), ilPollBlockGUI\fillRow(), ilPDPortfolioBlockGUI\fillRow(), ilPDNotesBlockGUI\fillRow(), ilUsersOnlineBlockGUI\fillRow(), ilExternalFeedBlockGUI\fillRow(), ilPDExternalFeedBlockGUI\fillRow(), ilNewsForContextBlockGUI\fillRow(), ilExternalFeedBlockGUI\getDynamic(), ilPDExternalFeedBlockGUI\getDynamic(), ilNewsForContextBlockGUI\getDynamic(), ilExternalFeedBlockGUI\getDynamicReload(), ilPDExternalFeedBlockGUI\getDynamicReload(), ilNewsForContextBlockGUI\getDynamicReload(), ilWikiImportantPagesBlockGUI\getHTML(), ilPDPortfolioBlockGUI\getHTML(), ilClassificationBlockGUI\getHTML(), ilWikiSearchBlockGUI\getHTML(), ilWikiSideBlockGUI\getHTML(), ilWikiFunctionsBlockGUI\getHTML(), ilDummyBlockGUI\getHTML(), ilExternalFeedBlockGUI\getHTML(), ilPDExternalFeedBlockGUI\getHTML(), ilPDNewsBlockGUI\getHTML(), ilNewsForContextBlockGUI\getHTML(), ilPollBlockGUI\getHTML(), getHTML(), ilExternalFeedBlockGUI\getJSEnabler(), ilPDExternalFeedBlockGUI\getJSEnabler(), ilNewsForContextBlockGUI\getJSEnabler(), ilPDNotesBlockGUI\getListRowData(), ilBookmarkBlockGUI\getListRowData(), ilNewsForContextBlockGUI\getNewsData(), ilPDPortfolioBlockGUI\getOverview(), ilPDNotesBlockGUI\getOverview(), ilBookmarkBlockGUI\getOverview(), ilExternalFeedBlockGUI\getOverview(), ilNewsForContextBlockGUI\getOverview(), ilBookmarkBlockGUI\getPDBookmarkListHTMLTree(), ilPDTaggingBlockGUI\getTagCloud(), handleDetailLevel(), ilNewsForContextBlockGUI\hideNotifications(), ilExternalFeedBlockGUI\initImportForm(), ilPDNewsBlockGUI\initPrivateSettingsForm(), ilNewsForContextBlockGUI\initSettingsForm(), ilPDExternalFeedBlockGUI\prepareSaveFeedBlock(), ilPDTaggingBlockGUI\removeTagsWithoutAccess(), ilPDNewsBlockGUI\saveSettings(), ilNewsForContextBlockGUI\saveSettings(), ilExternalFeedBlockGUI\setBlock(), ilPDExternalFeedBlockGUI\setBlock(), ilBookmarkBlockGUI\setCurrentBookmarkFolder(), ilBookmarkBlockGUI\setFooterLinks(), ilBookmarkBlockGUI\setPdFlatMode(), ilBookmarkBlockGUI\setPdTreeMode(), setPreviousNextLinks(), ilPDStudyProgrammeSimpleListGUI\shouldShowThisList(), ilExternalFeedBlockGUI\showFeedItem(), ilPDExternalFeedBlockGUI\showFeedItem(), ilPDNewsBlockGUI\showFeedUrl(), ilNewsForContextBlockGUI\showFeedUrl(), ilNewsForContextBlockGUI\showNews(), ilPDNotesBlockGUI\showNote(), ilNewsForContextBlockGUI\showNotifications(), ilPDTaggingBlockGUI\showResourcesForTag(), ilNewsForContextBlockGUI\showViewFooter(), ilNewsForContextBlockGUI\subscribeNews(), and ilNewsForContextBlockGUI\unsubscribeNews().

◆ $data

◆ $detail_max

ilBlockGUI::$detail_max = 0
protected

Definition at line 22 of file class.ilBlockGUI.php.

◆ $detail_min

ilBlockGUI::$detail_min = 0
protected

Definition at line 21 of file class.ilBlockGUI.php.

Referenced by fillDetailRow().

◆ $dropdown

ilBlockGUI::$dropdown
protected

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

Referenced by fillHeaderCommands().

◆ $enabledetailrow

ilBlockGUI::$enabledetailrow = true
protected

Definition at line 29 of file class.ilBlockGUI.php.

Referenced by getEnableDetailRow().

◆ $enablenuminfo

ilBlockGUI::$enablenuminfo = true
protected

Definition at line 20 of file class.ilBlockGUI.php.

Referenced by getEnableNumInfo().

◆ $footer_links

ilBlockGUI::$footer_links = array()
protected

Definition at line 24 of file class.ilBlockGUI.php.

Referenced by getFooterLinks().

◆ $footerinfo

ilBlockGUI::$footerinfo = false
protected

Definition at line 31 of file class.ilBlockGUI.php.

Referenced by getFooterInfo().

◆ $footerinfo_icon

ilBlockGUI::$footerinfo_icon = false
protected

Definition at line 32 of file class.ilBlockGUI.php.

Referenced by getFooterInfo().

◆ $header_commands

ilBlockGUI::$header_commands = array()
protected

Definition at line 26 of file class.ilBlockGUI.php.

Referenced by getHeaderCommands().

◆ $header_links

ilBlockGUI::$header_links = array()
protected

Definition at line 30 of file class.ilBlockGUI.php.

Referenced by getHeaderLinks().

◆ $image

ilBlockGUI::$image = false
protected

Definition at line 36 of file class.ilBlockGUI.php.

Referenced by getImage().

◆ $lng

ilBlockGUI::$lng
protected

Definition at line 71 of file class.ilBlockGUI.php.

Referenced by ilWikiFunctionsBlockGUI\__construct(), ilWikiSideBlockGUI\__construct(), ilBookmarkBlockGUI\__construct(), ilPDNotesBlockGUI\__construct(), ilWikiImportantPagesBlockGUI\__construct(), ilPDNewsBlockGUI\__construct(), ilPollBlockGUI\__construct(), ilClassificationBlockGUI\__construct(), ilUsersOnlineBlockGUI\__construct(), ilCalendarSelectionBlockGUI\__construct(), ilNewsForContextBlockGUI\__construct(), ilWikiSearchBlockGUI\__construct(), ilExternalFeedBlockGUI\__construct(), ilPDTaggingBlockGUI\__construct(), ilPDExternalFeedBlockGUI\__construct(), ilPDStudyProgrammeSimpleListGUI\__construct(), ilCalendarBlockGUI\__construct(), ilUsersOnlineBlockGUI\__showChatInvitation(), ilPDNewsBlockGUI\addCloseCommand(), ilCalendarBlockGUI\addCloseCommand(), ilNewsForContextBlockGUI\addCloseCommand(), ilCalendarBlockGUI\addMiniMonth(), ilPDNewsBlockGUI\changeFeedSettings(), ilPDExternalFeedBlockGUI\confirmDeleteFeedBlock(), ilPDNewsBlockGUI\editSettings(), ilRepositoryObjectSearchBlockGUI\fillDataSection(), ilObjectMetaDataBlockGUI\fillDataSection(), ilWikiImportantPagesBlockGUI\fillDataSection(), ilWikiSearchBlockGUI\fillDataSection(), ilWikiSideBlockGUI\fillDataSection(), ilWikiFunctionsBlockGUI\fillDataSection(), ilDummyBlockGUI\fillDataSection(), ilCalendarSelectionBlockGUI\fillDataSection(), fillDetailRow(), ilPDContentBlockGUI\fillFooter(), ilNewsForContextBlockGUI\fillFooter(), fillHeaderCommands(), fillHeaderTitleBlock(), fillPreviousNext(), ilPollBlockGUI\fillRow(), ilPDPortfolioBlockGUI\fillRow(), ilPDNotesBlockGUI\fillRow(), ilUsersOnlineBlockGUI\fillRow(), ilNewsForContextBlockGUI\fillRow(), ilClassificationBlockGUI\filterContainer(), ilCalendarBlockGUI\getData(), ilExternalFeedBlockGUI\getDynamicReload(), ilPDExternalFeedBlockGUI\getDynamicReload(), ilNewsForContextBlockGUI\getDynamicReload(), ilWikiImportantPagesBlockGUI\getHTML(), ilPDPortfolioBlockGUI\getHTML(), ilWikiSideBlockGUI\getHTML(), ilWikiSearchBlockGUI\getHTML(), ilWikiFunctionsBlockGUI\getHTML(), ilDummyBlockGUI\getHTML(), ilExternalFeedBlockGUI\getHTML(), ilPDExternalFeedBlockGUI\getHTML(), ilPDNewsBlockGUI\getHTML(), ilNewsForContextBlockGUI\getHTML(), ilCalendarSelectionBlockGUI\getHTML(), ilPollBlockGUI\getHTML(), ilCalendarBlockGUI\getHTML(), getHTML(), ilExternalFeedBlockGUI\getJSEnabler(), ilNewsForContextBlockGUI\getJSEnabler(), ilPDNotesBlockGUI\getListRowData(), ilBookmarkBlockGUI\getListRowData(), ilPDPortfolioBlockGUI\getOverview(), ilPDNotesBlockGUI\getOverview(), ilBookmarkBlockGUI\getOverview(), ilExternalFeedBlockGUI\getOverview(), ilPDExternalFeedBlockGUI\getOverview(), ilUsersOnlineBlockGUI\getOverview(), ilPDTaggingBlockGUI\getOverview(), ilNewsForContextBlockGUI\getOverview(), ilCalendarBlockGUI\getOverview(), ilExternalFeedBlockGUI\importFile(), ilExternalFeedBlockGUIGen\initFormFeedBlock(), ilPDExternalFeedBlockGUI\initFormFeedBlock(), ilExternalFeedBlockGUI\initFormFeedBlock(), ilExternalFeedBlockGUI\initImportForm(), ilPDNewsBlockGUI\initPrivateSettingsForm(), ilNewsForContextBlockGUI\initSettingsForm(), ilPDTaggingBlockGUI\removeTagsWithoutAccess(), ilBookmarkBlockGUI\setFooterLinks(), ilCalendarBlockGUI\setFooterLinks(), setPreviousNextLinks(), ilCalendarBlockGUI\showCalendarSubscription(), ilExternalFeedBlockGUI\showFeedItem(), ilPDExternalFeedBlockGUI\showFeedItem(), ilPDNewsBlockGUI\showFeedUrl(), ilNewsForContextBlockGUI\showFeedUrl(), ilNewsForContextBlockGUI\showNews(), ilPDNotesBlockGUI\showNote(), ilPDTaggingBlockGUI\showResourcesForTag(), and ilNewsForContextBlockGUI\showViewFooter().

◆ $main_tpl

◆ $max_count

ilBlockGUI::$max_count = false
protected

Definition at line 34 of file class.ilBlockGUI.php.

Referenced by fillPreviousNext().

◆ $move

ilBlockGUI::$move = array("left" => false, "right" => false, "up" => false, "down" => false)
protected

Definition at line 28 of file class.ilBlockGUI.php.

◆ $nav_value

ilBlockGUI::$nav_value = ""
protected

Definition at line 38 of file class.ilBlockGUI.php.

Referenced by fillDataSection().

◆ $obj_def

ilBlockGUI::$obj_def
protected

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

Referenced by getHTML().

◆ $property

ilBlockGUI::$property = false
protected

Definition at line 37 of file class.ilBlockGUI.php.

◆ $tpl

◆ $user

ilBlockGUI::$user
protected

Definition at line 56 of file class.ilBlockGUI.php.

Referenced by ilCalendarBlockGUI\__construct(), ilUsersOnlineBlockGUI\__showChatInvitation(), ilCalendarBlockGUI\addMiniMonth(), ilPDNewsBlockGUI\changeFeedSettings(), ilExternalFeedBlockGUI\disableJS(), ilPDExternalFeedBlockGUI\disableJS(), ilNewsForContextBlockGUI\disableJS(), ilPDNewsBlockGUI\editSettings(), ilExternalFeedBlockGUI\enableJS(), ilPDExternalFeedBlockGUI\enableJS(), ilNewsForContextBlockGUI\enableJS(), ilPDNotesBlockGUI\fillDataSection(), ilBookmarkBlockGUI\fillDataSection(), ilPDPortfolioBlockGUI\fillDataSection(), ilPDTaggingBlockGUI\fillDataSection(), ilNewsForContextBlockGUI\fillFooter(), ilPollBlockGUI\fillRow(), ilPDNotesBlockGUI\fillRow(), ilUsersOnlineBlockGUI\fillRow(), ilBookmarkBlockGUI\fillRow(), ilExternalFeedBlockGUI\getDynamic(), ilPDExternalFeedBlockGUI\getDynamic(), ilNewsForContextBlockGUI\getDynamic(), ilPDPortfolioBlockGUI\getHTML(), ilWikiSearchBlockGUI\getHTML(), ilWikiSideBlockGUI\getHTML(), ilWikiFunctionsBlockGUI\getHTML(), ilUsersOnlineBlockGUI\getHTML(), ilDummyBlockGUI\getHTML(), ilExternalFeedBlockGUI\getHTML(), ilPDExternalFeedBlockGUI\getHTML(), ilPDNewsBlockGUI\getHTML(), ilNewsForContextBlockGUI\getHTML(), ilPollBlockGUI\getHTML(), ilCalendarBlockGUI\getHTML(), getHTML(), ilPDNotesBlockGUI\getListRowData(), ilUsersOnlineBlockGUI\getListRowData(), ilBookmarkBlockGUI\getListRowData(), ilPDNewsBlockGUI\getNewsData(), ilNewsForContextBlockGUI\getNewsData(), ilPDNotesBlockGUI\getOverview(), ilBookmarkBlockGUI\getOverview(), ilExternalFeedBlockGUI\getOverview(), ilNewsForContextBlockGUI\getOverview(), ilBookmarkBlockGUI\getPDBookmarkListHTMLTree(), ilUsersOnlineBlockGUI\getUsers(), handleDetailLevel(), ilNewsForContextBlockGUI\handleView(), ilNewsForContextBlockGUI\hideNotifications(), ilPDNewsBlockGUI\initPrivateSettingsForm(), ilNewsForContextBlockGUI\initSettingsForm(), ilPDTaggingBlockGUI\removeTagsWithoutAccess(), ilPDNewsBlockGUI\saveSettings(), ilNewsForContextBlockGUI\saveSettings(), ilBookmarkBlockGUI\setFooterLinks(), ilBookmarkBlockGUI\setPdFlatMode(), ilCalendarBlockGUI\setPdModeEvents(), ilCalendarBlockGUI\setPdModeMonth(), ilBookmarkBlockGUI\setPdTreeMode(), ilCalendarBlockGUI\showCalendarSubscription(), ilPDNewsBlockGUI\showFeedUrl(), ilNewsForContextBlockGUI\showFeedUrl(), ilNewsForContextBlockGUI\showNews(), ilNewsForContextBlockGUI\showNotifications(), ilPDTaggingBlockGUI\showResourcesForTag(), ilNewsForContextBlockGUI\showViewFooter(), ilNewsForContextBlockGUI\subscribeNews(), and ilNewsForContextBlockGUI\unsubscribeNews().


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