コード例 #1
0
ファイル: Filesystem.php プロジェクト: stweil/owncloud-core
 /**
  * @param int $id
  * @return Mount\MountPoint[]
  */
 public static function getMountByNumericId($id)
 {
     if (!self::$mounts) {
         \OC_Util::setupFS();
     }
     return self::$mounts->findByNumericId($id);
 }
コード例 #2
0
ファイル: root.php プロジェクト: adolfo2103/hcloudfilem
 /**
  * @param int $numericId
  * @return MountPoint[]
  */
 public function getMountByNumericStorageId($numericId)
 {
     return $this->mountManager->findByNumericId($numericId);
 }