예제 #1
0
 /**
  * @param \OC\Files\Mount\Manager $manager
  * @param \OC\Files\View $view
  * @param \OC\User\User $user
  */
 public function __construct($manager, $view, $user)
 {
     parent::__construct($this, $view, '');
     $this->mountManager = $manager;
     $this->user = $user;
     $this->emitter = new PublicEmitter();
 }
예제 #2
0
 public function isCreatable()
 {
     if ($this->fileInfo) {
         return parent::isCreatable();
     } else {
         throw new NotFoundException();
     }
 }