Nextcloud PHP API (stable18)

IResource

Interface IResource

Tags
since
14.0.0

Table of Contents

getBackend()  : IBackend
Get corresponding backend object
getDisplayName()  : string
get the display name for a resource
getEMail()  : string
get email-address for resource
getGroupRestrictions()  : string[]
Get a list of groupIds that are allowed to access this resource
getId()  : string
get the resource id

Methods

getDisplayName()

get the display name for a resource

public getDisplayName() : string
Tags
since
14.0.0
Return values
string

getEMail()

get email-address for resource

public getEMail() : string

The email address has to be globally unique

Tags
since
14.0.0
Return values
string

getGroupRestrictions()

Get a list of groupIds that are allowed to access this resource

public getGroupRestrictions() : string[]

If an empty array is returned, no group restrictions are applied.

Tags
since
14.0.0
Return values
string[]

getId()

get the resource id

public getId() : string

This id has to be unique within the backend

Tags
since
14.0.0
Return values
string

Search results