diff options
author | Julius Härtl <jus@bitgrid.net> | 2018-04-05 12:22:01 +0200 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2018-04-05 12:22:01 +0200 |
commit | 30e76f9f14d901025e245d9900b7ca1d3ff168ad (patch) | |
tree | dc136b5f060f5128138c2ad8b1bcaabd1feb8c7b /lib | |
parent | bbeb3402b6bc778de393b6da1b5fdc214f825b16 (diff) | |
download | nextcloud-server-30e76f9f14d901025e245d9900b7ca1d3ff168ad.tar.gz nextcloud-server-30e76f9f14d901025e245d9900b7ca1d3ff168ad.zip |
Add footer to public page template
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/public/AppFramework/Http/Template/PublicTemplateResponse.php | 15 |
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 */ |