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);
enable(string $a_module_name)
setFormAction(string $a_form_action, bool $a_multipart=false)
getDerivePoolLink($poolId)
const UNAVAILABILITY_STATUS_LOST
const CMD_SELECT_DERIVATION_TARGET
setFormName(string $a_name="")
setRowTemplate(string $a_template, string $a_template_dir="")
Set row template.
setTitle(string $a_title, string $a_icon="", string $a_icon_alt="")
__construct(Container $dic, ilPlugin $plugin)
setLimit(int $a_limit=0, int $a_default_limit=0)
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)
disable(string $a_module_name)
__construct(ilCtrl $ctrl, ilLanguage $lng, $parentGUI, $parentCMD)
setExternalSegmentation(bool $a_val)
setPrefix(string $a_prefix)