Nextcloud PHP API (master)

ADateSharePropertyType
in package
implements ISharePropertyType

AbstractYes
Tags
psalm-import-type

SharingProperty from Share

SharingPropertyDate from Share

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

Table of Contents

Interfaces

ISharePropertyType

Methods

format()  : SharingPropertyDate
getMaxDate()  : DateTimeImmutable|null
getMinDate()  : DateTimeImmutable|null
validateValue()  : true|string
Validates the value when the share is created or updated in the database.

Methods

format()

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

getMaxDate()

public abstract getMaxDate() : DateTimeImmutable|null
Tags
since
35.0.0
Return values
DateTimeImmutable|null

getMinDate()

public abstract getMinDate() : DateTimeImmutable|null
Tags
since
35.0.0
Return values
DateTimeImmutable|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