CoolCMS API

InitTrait

Table of Contents

Properties

$headingTag  : string
$parameterOptions  : array<string|int, object>
$types  : array<string|int, object>

Methods

prepareParameterOptions()  : self
prepareTypes()  : self
setHeadingTag()  : self
prepareLists()  : void

Properties

$headingTag

private string $headingTag = 'div'

$parameterOptions

private array<string|int, object> $parameterOptions = []

parameter options by id

$types

private array<string|int, object> $types = []

advert types (options of the type parameter) by id

Methods

prepareParameterOptions()

public prepareParameterOptions() : self
Return values
self

prepareTypes()

public prepareTypes([array<string|int, object>|null $types = null ]) : self
Parameters
$types : array<string|int, object>|null = null
Return values
self

setHeadingTag()

public setHeadingTag(string $headingTag) : self
Parameters
$headingTag : string
Return values
self

prepareLists()

protected prepareLists() : void
On this page

Search results