Nextcloud PHP API (master)

DavUtil
in package

This class provides different helper functions related to WebDAV protocol

Tags
since
25.0.0

Table of Contents

Methods

getDavFileId()  : string
Compute the fileId to use for dav responses
getDavPermissions()  : string
Compute the format needed for returning permissions for dav

Methods

getDavFileId()

Compute the fileId to use for dav responses

public static getDavFileId(int $id) : string
Parameters
$id : int

Id of the file returned by FileInfo::getId

Tags
since
25.0.0
Return values
string

getDavPermissions()

Compute the format needed for returning permissions for dav

public static getDavPermissions(FileInfo $info) : string
Parameters
$info : FileInfo
Tags
since
25.0.0
Return values
string

        
On this page

Search results