IMountProviderCollection
Manages the different mount providers
Tags
Table of Contents
- getHomeMountForUser() : IMountPoint
 - Get the configured home mount for this user
 - getMountCache() : IUserMountCache
 - Get the mount cache which can be used to search for mounts without setting up the filesystem
 - getMountsForUser() : \OCP\Files\Mount\IMountPoint[]
 - Get all configured mount points for the user
 - registerHomeProvider() : mixed
 - Add a provider for home mount points
 - registerMountFilter() : mixed
 - Add a filter for mounts
 - registerProvider() : mixed
 - Add a provider for mount points
 
Methods
getHomeMountForUser()
Get the configured home mount for this user
    public
                getHomeMountForUser(IUser $user) : IMountPoint
    
        Parameters
- $user : IUser
 
Tags
Return values
IMountPoint —getMountCache()
Get the mount cache which can be used to search for mounts without setting up the filesystem
    public
                getMountCache() : IUserMountCache
    
    
    
    Tags
Return values
IUserMountCache —getMountsForUser()
Get all configured mount points for the user
    public
                getMountsForUser(IUser $user) : \OCP\Files\Mount\IMountPoint[]
    
        Parameters
- $user : IUser
 
Tags
Return values
\OCP\Files\Mount\IMountPoint[] —registerHomeProvider()
Add a provider for home mount points
    public
                registerHomeProvider(IHomeMountProvider $provider) : mixed
    
        Parameters
- $provider : IHomeMountProvider
 
Tags
Return values
mixed —registerMountFilter()
Add a filter for mounts
    public
                registerMountFilter(callable $filter) : mixed
    
        Parameters
- $filter : callable
 - 
                    
(IMountPoint $mountPoint, IUser $user) => boolean
 
Tags
Return values
mixed —registerProvider()
Add a provider for mount points
    public
                registerProvider(IMountProvider $provider) : mixed
    
        Parameters
- $provider : IMountProvider