summaryrefslogtreecommitdiffstats
path: root/lib/public/AppFramework/Http/Template/PublicTemplateResponse.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/AppFramework/Http/Template/PublicTemplateResponse.php')
-rw-r--r--lib/public/AppFramework/Http/Template/PublicTemplateResponse.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/public/AppFramework/Http/Template/PublicTemplateResponse.php b/lib/public/AppFramework/Http/Template/PublicTemplateResponse.php
index 3409d5aae53..a520748a9ea 100644
--- a/lib/public/AppFramework/Http/Template/PublicTemplateResponse.php
+++ b/lib/public/AppFramework/Http/Template/PublicTemplateResponse.php
@@ -37,6 +37,7 @@ class PublicTemplateResponse extends TemplateResponse {
private $headerTitle = '';
private $headerDetails = '';
private $headerActions = [];
+ private $footerVisible = true;
/**
* PublicTemplateResponse constructor.
@@ -129,6 +130,20 @@ class PublicTemplateResponse extends TemplateResponse {
}
/**
+ * @since 14.0.0
+ */
+ public function setFooterVisible(bool $visible = false) {
+ $this->footerVisible = $visible;
+ }
+
+ /**
+ * @since 14.0.0
+ */
+ public function getFooterVisible(): bool {
+ return $this->footerVisible;
+ }
+
+ /**
* @return string
* @since 14.0.0
*/