Nextcloud PHP API (master)

IAccountPropertyCollection extends JsonSerializable

Interface IAccountPropertyCollection

Tags
since
22.0.0

Table of Contents

Methods

addProperty()  : IAccountPropertyCollection
adds a property to this collection
addPropertyWithDefaults()  : IAccountPropertyCollection
adds a property to this collection with only specifying the value
getName()  : string
returns the collection name
getProperties()  : array<string|int, IAccountProperty>
getPropertyByValue()  : IAccountProperty|null
retrieves a property identified by its value. null, if none was found.
removeProperty()  : IAccountPropertyCollection
removes a property of this collection
removePropertyByValue()  : IAccountPropertyCollection
removes a property identified by its value
setProperties()  : IAccountPropertyCollection
set properties of this collection

Methods

getPropertyByValue()

retrieves a property identified by its value. null, if none was found.

public getPropertyByValue(string $value) : IAccountProperty|null

Returns only the first property if there are more with the same value.

Parameters
$value : string
Tags
since
23.0.0
Return values
IAccountProperty|null

        
On this page

Search results