Nextcloud PHP API (master)

IResource

Tags
since
16.0.0

Table of Contents

Methods

canAccess()  : bool
Can a user/guest access the resource
getCollections()  : array<string|int, ICollection>
getId()  : string
getRichObject()  : array<string|int, mixed>
getType()  : string

Methods

canAccess()

Can a user/guest access the resource

public canAccess(IUser|null $user) : bool
Parameters
$user : IUser|null
Tags
since
16.0.0
Return values
bool

getId()

public getId() : string
Tags
since
16.0.0
Return values
string

getRichObject()

public getRichObject() : array<string|int, mixed>
Tags
since
16.0.0
Return values
array<string|int, mixed>

getType()

public getType() : string
Tags
since
16.0.0
Return values
string

        
On this page

Search results