Nextcloud PHP API (stable18)

ICachedMountInfo

Holds information about a mount for a user

Tags
since
9.0.0

Table of Contents

getMountId()  : int|null
Get the id of the configured mount
getMountPoint()  : string
getMountPointNode()  : Node
getRootId()  : int
getRootInternalPath()  : string
Get the internal path (within the storage) of the root of the mount
getStorageId()  : int
getUser()  : IUser

Methods

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
Tags
since
9.0.0
Return values
Node

the root node of the mount

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

Search results