ILIAS  trunk Revision v13.0_alpha-62-g3b72d83f2e5
ExportOrderTableBuilder.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21namespace ILIAS\Wiki\Page;
22
28
30{
31 public function __construct(
32 protected InternalDomainService $domain,
33 protected InternalGUIService $gui,
34 protected array $all_pages,
35 protected array $page_ids,
36 object $parent_gui,
37 string $parent_cmd
38 ) {
39 parent::__construct($parent_gui, $parent_cmd);
40 }
41
42 protected function getId(): string
43 {
44 return "wiki_export_order";
45 }
46
47 protected function getTitle(): string
48 {
49 return $this->domain->lng()->txt("wiki_show_print_view");
50 }
51
52 protected function getRetrieval(): RetrievalInterface
53 {
54 return $this->domain->page()->exportOrderRetrieval(
55 $this->all_pages,
56 $this->page_ids
57 );
58 }
59
60 protected function getOrderingCommand(): string
61 {
62 return "printViewOrderList";
63 }
64
66 {
67 return $table->textColumn("title", $this->domain->lng()->txt("wiki_page"));
68 }
69}
textColumn(string $key, string $title, bool $sortable=false)
__construct(protected InternalDomainService $domain, protected InternalGUIService $gui, protected array $all_pages, protected array $page_ids, object $parent_gui, string $parent_cmd)
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc