Nextcloud PHP API (master)

AStringSharePropertyType
in package
implements ISharePropertyType

AbstractYes
Tags
psalm-import-type

SharingProperty from Share

SharingPropertyString from Share

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

Table of Contents

Interfaces

ISharePropertyType

Methods

format()  : SharingPropertyString
getMaxLength()  : positive-int|null
getMinLength()  : positive-int|null
validateValue()  : true|string
Validates the value when the share is created or updated in the database.

Methods

format()

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

getMaxLength()

public abstract getMaxLength() : positive-int|null
Tags
since
35.0.0
Return values
positive-int|null

getMinLength()

public abstract getMinLength() : positive-int|null
Tags
since
35.0.0
Return values
positive-int|null

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