ILIAS  trunk Revision v13.0_alpha-52-g21c366bbdd4
EditingLinkBuilder.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
24
26{
27 protected function getPathForView(string $view): array
28 {
29 return match ($view) {
30 self::VIEW_MAIN => [
31 \ilObjBlogGUI::class,
32 EditingGUI::class
33 ],
34 self::VIEW_POSTING => [
35 \ilObjBlogGUI::class,
36 EditingGUI::class,
37 \ilBlogPostingGUI::class
38 ],
39 };
40 }
41
42 protected function getCmdForView(string $view): string
43 {
44 return match ($view) {
45 self::VIEW_MAIN => "render",
46 self::VIEW_POSTING => "edit",
47 };
48 }
49}
@ilCtrl_Calls ILIAS\Blog\Editing\EditingGUI: ilRepositorySearchGUI, ilBlogPostingGUI
Definition: EditingGUI.php:37