Nextcloud PHP API (master)

ICachedMountInfo

Holds information about a mount for a user

Tags
since
9.0.0

Table of Contents

Methods

getKey()  : string
Get a key that uniquely identifies the mount
getMountId()  : int|null
Get the id of the configured mount
getMountPoint()  : string
getMountPointNode()  : Node|null
getMountProvider()  : string
Get the class of the mount provider that this mount originates from
getRootId()  : int
getRootInternalPath()  : string
Get the internal path (within the storage) of the root of the mount
getStorageId()  : int
getUser()  : IUser

Methods

getKey()

Get a key that uniquely identifies the mount

public getKey() : string
Tags
since
28.0.0
Return values
string

getMountId()

Get the id of the configured mount

public getMountId() : int|null
Tags
since
9.1.0
Return values
int|null

mount id or null if not applicable

getMountPoint()

public getMountPoint() : string
Tags
since
9.0.0
Return values
string

the mount point of the mount for the user

getMountPointNode()

public getMountPointNode() : Node|null
Tags
since
9.0.0
Return values
Node|null

the root node of the mount

getMountProvider()

Get the class of the mount provider that this mount originates from

public getMountProvider() : string
Tags
since
24.0.0
Return values
string

getRootId()

public getRootId() : int
Tags
since
9.0.0
Return values
int

the fileid of the root of the mount

getRootInternalPath()

Get the internal path (within the storage) of the root of the mount

public getRootInternalPath() : string
Tags
since
11.0.0
Return values
string

getStorageId()

public getStorageId() : int
Tags
since
9.0.0
Return values
int

the numeric storage id of the mount


        
On this page

Search results