19 declare(strict_types=1);
    37         $this->
http = $DIC->http();
    39         $this->
locator = $DIC[
'ilLocator'];
    41         $ref_id = $this->
http->wrapper()->query()->retrieve(
'ref_id', $this->
refinery->kindlyTo()->int());
    42         $this->
setStyleId($DIC->contentStyle()->domain()->styleForRefId(
$ref_id)->getEffectiveStyleId());
    47             $viewdef->setId($tableview_id);
    49             $viewdef->setActive(
false);
    56         $this->tpl->setCurrentBlock(
"SyntaxStyle");
    58         $this->tpl->parseCurrentBlock();
    60         $this->tpl->setCurrentBlock(
"ContentStyle");
    62         $this->tpl->parseCurrentBlock();
    70         $next_class = $this->
ctrl->getNextClass($this);
    73         $this->
ctrl->setParameter($this, 
"dclv", $viewdef->getId());
    74         $title = $this->
lng->txt(
"dcl_view_viewdefinition");
    76         switch ($next_class) {
    77             case "ilpageobjectgui":
    78                 throw new ilCOPageException(
"Deprecated. ilDclDetailedViewDefinitionGUI gui forwarding to ilpageobject");
    81                 $this->
locator->addItem($title, $this->
ctrl->getLinkTarget($this, 
"preview"));
    83                 return parent::executeCommand();
    90             $delete_button = $this->
ui->factory()->button()->standard(
    91                 $this->
lng->txt(
'dcl_empty_detailed_view'),
    92                 $this->
ctrl->getLinkTarget($this, 
'confirmDelete')
    94             $this->
toolbar->addComponent($delete_button);
    97                 $activation_button = $this->
ui->factory()->button()->standard(
    98                     $this->
lng->txt(
'dcl_deactivate_view'),
    99                     $this->
ctrl->getLinkTarget($this, 
'deactivate')
   102                 $activation_button = $this->
ui->factory()->button()->standard(
   103                     $this->
lng->txt(
'dcl_activate_view'),
   104                     $this->
ctrl->getLinkTarget($this, 
'activate')
   108             $this->
toolbar->addComponent($activation_button);
   110             $legend = $this->
getPageObject()->getAvailablePlaceholders();
   111             if (
sizeof($legend)) {
   113                     "<span class=\"small\">" . $this->
lng->txt(
"dcl_legend_placeholders") . 
": " . implode(
" ", $legend)
   119         return parent::showPage();
   125         $page->setActive(
true);
   127         $this->
ctrl->redirect($this, 
'edit');
   133         $page->setActive(
false);
   135         $this->
ctrl->redirect($this, 
'edit');
   141         $conf->setFormAction($this->
ctrl->getFormAction($this));
   142         $conf->setHeaderText($this->
lng->txt(
'dcl_confirm_delete_detailed_view_title'));
   144         $conf->addItem(
'tableview', (
string) $this->tableview_id, $this->
lng->txt(
'dcl_confirm_delete_detailed_view_text'));
   146         $conf->setConfirm($this->
lng->txt(
'delete'), 
'deleteView');
   147         $conf->setCancel($this->
lng->txt(
'cancel'), 
'cancelDelete');
   149         $this->tpl->setContent($conf->getHTML());
   154         $this->
ctrl->redirect($this, 
"edit");
   161             $pageObject->delete();
   164         $this->tpl->setOnScreenMessage(
'success', $this->
lng->txt(
"dcl_empty_detailed_view_success"), 
true);
   165         $this->
ctrl->redirectByClass(self::class, 
"edit");
   193                 foreach ($allp as $item) {
   194                     $a_output = str_replace($item, 
"<span style=\"color:green\">" . $item . 
"</span>", $a_output);
 
ilDclDetailedViewDefinitionGUI: ilPageEditorGUI, ilEditClipboardGUI, ilMediaPoolTargetSelector  ilDcl...
 
setStyleId(int $a_styleid)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
ILIAS HTTP Services $http
 
static http()
Fetches the global http state from ILIAS. 
 
static _exists(string $a_parent_type, int $a_id, string $a_lang="", bool $a_no_cache=false)
Checks whether page exists. 
 
executeCommand()
execute command 
 
ILIAS Refinery Factory $refinery
 
static _lookupObjectId(int $ref_id)
 
postOutputProcessing(string $a_output)
Finalizing output processing. 
 
static getSyntaxStylePath()
 
setPresentationTitle(string $a_title="")
 
static getContentStylePath(int $a_style_id, bool $add_random=true, bool $add_token=true)
get content style path static (to avoid full reading) 
 
__construct(int $tableview_id)
 
setPrependingHtml(string $a_prependinghtml)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...