HomeObjectStoreStorage

class OC\Files\ObjectStore\HomeObjectStoreStorage
Source:lib/private/Files/ObjectStore/HomeObjectStoreStorage.php#31
Parent:OC\Files\ObjectStore\ObjectStoreStorage
Implements:OCP\Files\IHomeStorage

Methods

public OC\Files\ObjectStore\HomeObjectStoreStorage::__construct($params)
The home user storage requires a user object to create a unique storage id
Source:

lib/private/Files/ObjectStore/HomeObjectStoreStorage.php#37

Parameters:
  • $params (array)
public OC\Files\ObjectStore\HomeObjectStoreStorage::getId()
Source:lib/private/Files/ObjectStore/HomeObjectStoreStorage.php#45
public OC\Files\ObjectStore\HomeObjectStoreStorage::getOwner($path)
get the owner of a path
Source:

lib/private/Files/ObjectStore/HomeObjectStoreStorage.php#55

Parameters:
  • $path (string) The path to get the owner
Returns:

bool | string uid

public OC\Files\ObjectStore\HomeObjectStoreStorage::getUser($path=null)
Source:lib/private/Files/ObjectStore/HomeObjectStoreStorage.php#66
Parameters:
Returns:\OC\User\User