KnownUserMapper

class OC\KnownUser\KnownUserMapper
Source:lib/private/KnownUser/KnownUserMapper.php#32
Parent:OCP\AppFramework\Db\QBMapper

Methods

public OC\KnownUser\KnownUserMapper::__construct($db)
Source:

lib/private/KnownUser/KnownUserMapper.php#37

Parameters:
public OC\KnownUser\KnownUserMapper::deleteKnownTo($knownTo)
Source:

lib/private/KnownUser/KnownUserMapper.php#45

Parameters:
  • $knownTo (string)
Returns:

int Number of deleted entities

public OC\KnownUser\KnownUserMapper::deleteKnownUser($knownUser)
Source:

lib/private/KnownUser/KnownUserMapper.php#57

Parameters:
  • $knownUser (string)
Returns:

int Number of deleted entities

public OC\KnownUser\KnownUserMapper::getKnownUsers($knownTo)
Returns all “known users” for the given “known to” user
Source:

lib/private/KnownUser/KnownUserMapper.php#71

Parameters:
  • $knownTo (string)
Returns:

\OC\KnownUser\KnownUser[]

public OC\KnownUser\KnownUserMapper::createKnownUserFromRow($row)
Source:lib/private/KnownUser/KnownUserMapper.php#80