Nextcloud PHP API (master)

AEnumSharePropertyType
in package
implements ISharePropertyType

AbstractYes
Tags
psalm-import-type

SharingProperty from Share

SharingPropertyEnum from Share

since
35.0.0
Attributes
#[Implementable]
$since: '35.0.0'

Table of Contents

Interfaces

ISharePropertyType

Methods

format()  : SharingPropertyEnum
getValidValues()  : array<int, string>
validateValue()  : true|string
Validates the value when the share is created or updated in the database.

Methods

format()

public format(SharingProperty $property) : SharingPropertyEnum
Parameters
$property : SharingProperty
Tags
since
35.0.0
Attributes
#[Override]
Return values
SharingPropertyEnum

getValidValues()

public abstract getValidValues() : array<int, string>
Tags
since
35.0.0
Return values
array<int, string>

validateValue()

Validates the value when the share is created or updated in the database.

public validateValue(IFactory $l10nFactory, string $value) : true|string
Parameters
$l10nFactory : IFactory
$value : string
Tags
since
35.0.0
Attributes
#[Override]
Return values
true|string
On this page

Search results