IMountProviderCollection¶
-
interface
OCP\Files\Config\IMountProviderCollection¶ - Manages the different mount providers
Implemented by: OC\Files\Config\MountProviderCollectionSource: lib/public/Files/Config/IMountProviderCollection.php#32
Methods¶
-
public
OCP\Files\Config\IMountProviderCollection::getMountsForUser($user)¶ - Get all configured mount points for the user
Source: Parameters: - $user (
OCP\IUser)
Returns: Since: 8.0.0
- $user (
-
public
OCP\Files\Config\IMountProviderCollection::getHomeMountForUser($user)¶ - Get the configured home mount for this user
Source: Parameters: - $user (
OCP\IUser)
Returns: Since: 9.1.0
- $user (
-
public
OCP\Files\Config\IMountProviderCollection::registerProvider($provider)¶ - Add a provider for mount points
Source: Parameters: - $provider (
OCP\Files\Config\IMountProvider)
Since: 8.0.0
- $provider (
-
public
OCP\Files\Config\IMountProviderCollection::registerMountFilter($filter)¶ - Add a filter for mounts
Source: Parameters: - $filter (callable) (IMountPoint $mountPoint, IUser $user) => boolean
Since: 14.0.0
-
public
OCP\Files\Config\IMountProviderCollection::registerHomeProvider($provider)¶ - Add a provider for home mount points
Source: Parameters: - $provider (
OCP\Files\Config\IHomeMountProvider)
Since: 9.1.0
- $provider (
-
public
OCP\Files\Config\IMountProviderCollection::getMountCache()¶ - Get the mount cache which can be used to search for mounts without setting up the filesystem
Source: lib/public/Files/Config/IMountProviderCollection.php#81 Returns: \OCP\Files\Config\IUserMountCacheSince: 9.0.0
-
public
OCP\Files\Config\IMountProviderCollection::getRootMounts()¶ - Get all root mountpoints
Source: lib/public/Files/Config/IMountProviderCollection.php#89 Returns: \OCP\Files\Mount\IMountPoint[]Since: 20.0.0