MountProviderCollection

class OC\Files\Config\MountProviderCollection
Source:lib/private/Files/Config/MountProviderCollection.php#40
Implements:OCP\Files\Config\IMountProviderCollection OC\Hooks\Emitter
Used traits:OC\Hooks\EmitterTrait

Properties

Methods

public OC\Files\Config\MountProviderCollection::__construct($loader, $mountCache)
Source:

lib/private/Files/Config/MountProviderCollection.php#73

Parameters:
public OC\Files\Config\MountProviderCollection::getMountsForUser($user)
Get all configured mount points for the user
Source:

lib/private/Files/Config/MountProviderCollection.php#84

Parameters:
Returns:

\OCP\Files\Mount\IMountPoint[]

public OC\Files\Config\MountProviderCollection::addMountForUser($user, $mountManager)
Source:lib/private/Files/Config/MountProviderCollection.php#98
public OC\Files\Config\MountProviderCollection::getHomeMountForUser($user)
Get the configured home mount for this user
Source:

lib/private/Files/Config/MountProviderCollection.php#138

Parameters:
Returns:

\OCP\Files\Mount\IMountPoint

Since:

9.1.0

public OC\Files\Config\MountProviderCollection::registerProvider($provider)
Add a provider for mount points
Source:

lib/private/Files/Config/MountProviderCollection.php#155

Parameters:
public OC\Files\Config\MountProviderCollection::registerMountFilter($filter)
Source:lib/private/Files/Config/MountProviderCollection.php#161
public OC\Files\Config\MountProviderCollection::registerHomeProvider($provider)
Add a provider for home mount points
Source:

lib/private/Files/Config/MountProviderCollection.php#182

Parameters:
Since:

9.1.0

public OC\Files\Config\MountProviderCollection::registerMounts($user, $mountPoints)
Cache mounts for user
Source:

lib/private/Files/Config/MountProviderCollection.php#193

Parameters:
public OC\Files\Config\MountProviderCollection::getMountCache()
Get the mount cache which can be used to search for mounts without setting up the filesystem
Source:lib/private/Files/Config/MountProviderCollection.php#202
Returns:\OCP\Files\Config\IUserMountCache
public OC\Files\Config\MountProviderCollection::registerRootProvider($provider)
Source:lib/private/Files/Config/MountProviderCollection.php#206
public OC\Files\Config\MountProviderCollection::getRootMounts()
Get all root mountpoints
Source:lib/private/Files/Config/MountProviderCollection.php#216
Returns:\OCP\Files\Mount\IMountPoint[]
Since:20.0.0