ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
class.AbstractPrintViewProvider.php
Go to the documentation of this file.
1 <?php
2 
19 namespace ILIAS\Export;
20 
22 
27 {
28  public const PRINT = "print";
29  public const OFFLINE = "offline";
30 
34  protected $offline = false;
35 
40  public function setOffline(bool $offline)
41  {
42  $this->offline = $offline;
43  }
44 
49  protected function getOutputMode(): string
50  {
51  return $this->offline
52  ? self::OFFLINE
53  : self::PRINT;
54  }
55 
56  public function getOnSubmitCode(): string
57  {
58  return "";
59  }
60 
61  public function autoPageBreak(): bool
62  {
63  return true;
64  }
65 
69  public function getSelectionForm(): ?ilPropertyFormGUI
70  {
71  return null;
72  }
73 
77  public function getPages(): array
78  {
79  return [];
80  }
81 
85  public function getTemplateInjectors(): array
86  {
87  return [];
88  }
89 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...