Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/richdocuments.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Db/Wopi.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/Db/Wopi.php b/lib/Db/Wopi.php
index 529e6b6c..a6238714 100644
--- a/lib/Db/Wopi.php
+++ b/lib/Db/Wopi.php
@@ -139,4 +139,16 @@ class Wopi extends Entity {
return $this->isGuest() ? $this->getOwnerUid() : $this->getEditorUid();
}
+ public function getCanwrite() {
+ return (bool)$this->canwrite;
+ }
+
+ public function getHideDownload() {
+ return (bool)$this->hideDownload;
+ }
+
+ public function getDirect() {
+ return (bool)$this->direct;
+ }
+
}