39 $this->
setId(self::IDENTIFIER);
48 $this->
setTitle($this->
lng->txt(
'tst_non_avail_pools_table'));
50 $this->
setRowTemplate(
'tpl.il_tst_non_avail_pools_row.html',
'Modules/Test');
77 foreach ($pools as $nonAvailablePool) {
82 $set[
'id'] = $nonAvailablePool->getId();
83 $set[
'title'] = $nonAvailablePool->getTitle();
84 $set[
'path'] = $nonAvailablePool->getPath();
85 $set[
'status'] = $nonAvailablePool->getUnavailabilityStatus();
95 $this->
ctrl->setParameter($this->parent_obj,
'derive_pool_id', $poolId);
97 $link = $this->
ctrl->getLinkTarget(
109 $this->tpl->setCurrentBlock(
'single_action');
110 $this->tpl->setVariable(
'ACTION_HREF', $link);
111 $this->tpl->setVariable(
'ACTION_TEXT', $this->
lng->txt(
'tst_derive_new_pool'));
112 $this->tpl->parseCurrentBlock();
115 $this->tpl->setVariable(
'TITLE', $a_set[
'title']);
116 $this->tpl->setVariable(
'PATH', $a_set[
'path']);
117 $this->tpl->setVariable(
'STATUS', $this->
getStatusText($a_set[
'status']));
122 return $this->
lng->txt(
'tst_non_avail_pool_msg_status_' . $status);
Class ilCtrl provides processing control methods.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
setLimit(int $a_limit=0, int $a_default_limit=0)
set max.
setTitle(string $a_title, string $a_icon="", string $a_icon_alt="")
setExternalSegmentation(bool $a_val)
setFormName(string $a_name="")
setPrefix(string $a_prefix)
set prefix for sort and offset fields (if you have two or more tables on a page that you want to sort...
setFormAction(string $a_form_action, bool $a_multipart=false)
addColumn(string $a_text, string $a_sort_field="", string $a_width="", bool $a_is_checkbox_action_column=false, string $a_class="", string $a_tooltip="", bool $a_tooltip_with_html=false)
setRowTemplate(string $a_template, string $a_template_dir="")
Set row template.
setData(array $a_data)
Set table data.
enable(string $a_module_name)
disable(string $a_module_name)
const CMD_SELECT_DERIVATION_TARGET
const UNAVAILABILITY_STATUS_LOST
__construct(ilCtrl $ctrl, ilLanguage $lng, $parentGUI, $parentCMD)
getDerivePoolLink($poolId)
fillRow(array $a_set)
Standard Version of Fill Row.
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc