CoolCMS API

AddressRelCollectionTrait

Tags
template

Table of Contents

Properties

$addressRels  : Collection<int, TAddressRel>

Methods

addAddressRel()  : $this
addressRelCollectionInit()  : void
getAddressRels()  : Collection<int, TAddressRel>
removeAddressRel()  : $this
setAddressRels()  : $this

Properties

Methods

addAddressRel()

public addAddressRel(TAddressRel $addressRel) : $this
Parameters
$addressRel : TAddressRel
Return values
$this

getAddressRels()

public getAddressRels() : Collection<int, TAddressRel>
Return values
Collection<int, TAddressRel>

removeAddressRel()

public removeAddressRel(TAddressRel $addressRel) : $this
Parameters
$addressRel : TAddressRel
Return values
$this

setAddressRels()

public setAddressRels(Collection<int, TAddressRel>|array<int, TAddressRel> $addressRels) : $this
Parameters
$addressRels : Collection<int, TAddressRel>|array<int, TAddressRel>
Return values
$this
On this page

Search results