Nextcloud PHP API (master)

IResource

Interface IResource

Tags
since
14.0.0

Table of Contents

Methods

getBackend()  : IBackend
Get corresponding backend object
getDisplayName()  : string
get the display name for a resource
getEMail()  : string
get email-address for resource
getGroupRestrictions()  : array<string|int, 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() : array<string|int, string>

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

Tags
since
14.0.0
Return values
array<string|int, 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

        
On this page

Search results