コード例 #1
0
ファイル: Directory.php プロジェクト: rchicoli/owncloud-core
 /**
  * Sets up the node, expects a full path name
  *
  * @param \OC\Files\View $view
  * @param \OCP\Files\FileInfo $info
  * @param ObjectTree|null $tree
  * @param \OCP\Share\IManager $shareManager
  */
 public function __construct($view, $info, $tree = null, $shareManager = null)
 {
     parent::__construct($view, $info, $shareManager);
     $this->tree = $tree;
 }
コード例 #2
0
 /**
  * Sets up the node, expects a full path name
  *
  * @param \OC\Files\View $view
  * @param \OCP\Files\FileInfo $info
  * @param ObjectTree|null $tree
  */
 public function __construct($view, $info, $tree = null)
 {
     parent::__construct($view, $info);
     $this->tree = $tree;
 }