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: Parameters: - $db (
OCP\IDBConnection
)
- $db (
-
public
OC\KnownUser\KnownUserMapper::
deleteKnownTo
($knownTo)¶ Source: Parameters: - $knownTo (string)
Returns: int Number of deleted entities
-
public
OC\KnownUser\KnownUserMapper::
deleteKnownUser
($knownUser)¶ Source: 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: Parameters: - $knownTo (string)
Returns:
-
public
OC\KnownUser\KnownUserMapper::
createKnownUserFromRow
($row)¶ Source: lib/private/KnownUser/KnownUserMapper.php#80