19declare(strict_types=1);
34 $page->setId($page->getParentId());
35 $page->setLanguage(
$lang);
50 $this->
ctrl->redirectByClass(ilObjDashboardSettingsGUI::class,
'view');
55 if ($this->
ctrl->getCmd() ===
'delete') {
59 return parent::executeCommand();
65 return [$this->
ui->factory()->link()->standard(
66 $this->
lng->txt(
"obj_sty"),
67 $this->ctrl->getLinkTargetByClass([
68 ilObjDashboardSettingsGUI::class,
69 ilObjectContentStyleSettingsGUI::class
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
@ilCtrl_Calls ilDashboardPageGUI: ilPageEditorGUI, ilEditClipboardGUI, ilMDEditorGUI @ilCtrl_isCalled...
__construct(string $lang)
static isLanguageAvailable(string $lang)
executeCommand()
execute command
getAdditionalPageActions()
Get additional page actions.
static getContentStylePath(int $a_style_id, bool $add_random=true, bool $add_token=true)
get content style path static (to avoid full reading)
static lookupObjectStyle(int $a_obj_id)
Lookup object style.
static _exists(string $a_parent_type, int $a_id, string $a_lang="", bool $a_no_cache=false)
Checks whether page exists.
static _existsAndNotEmpty(string $a_parent_type, int $a_id, string $a_lang="-")
Checks whether page exists and is not empty (may return true on some empty pages)
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc