Copied!

TaxonomyEntry

TaxonomyEntry.php : 26
Extends ValueObject

The base class for all value objects and structs.

Properties

public $content read-only

TaxonomyEntry.php
public Content $content

public $id read-only

TaxonomyEntry.php
public int $id

public $identifier read-only

TaxonomyEntry.php
public string $identifier

public $level read-only

TaxonomyEntry.php
public int $level

public $mainLanguageCode read-only

TaxonomyEntry.php
public string $mainLanguageCode

public $name read-only

TaxonomyEntry.php
public string $name

public $names read-only

TaxonomyEntry.php
public array<string, string> $names

public $parent read-only

TaxonomyEntry.php
public TaxonomyEntry|null $parent

public $taxonomy read-only

TaxonomyEntry.php
public string $taxonomy

protected $content

TaxonomyEntry.php : 43
protected Content $content

protected $contentId

TaxonomyEntry.php : 49
protected int|null $contentId

protected $id

TaxonomyEntry.php : 28
protected int $id

protected $identifier

TaxonomyEntry.php : 30
protected string $identifier

protected $level

TaxonomyEntry.php : 47
protected int $level

protected $mainLanguageCode

TaxonomyEntry.php : 34
protected string $mainLanguageCode

protected $name

TaxonomyEntry.php : 32
protected string $name

protected $names

TaxonomyEntry.php : 39
protected array<string, string> $names

protected $parent

TaxonomyEntry.php : 41
protected TaxonomyEntry|null $parent

protected $taxonomy

TaxonomyEntry.php : 45
protected string $taxonomy

Methods

public__construct()

TaxonomyEntry.php : 54

Construct object optionally with a set of properties.

public __construct(int $id, string $identifier, string $name, string $mainLanguageCode, array<string, string> $names, TaxonomyEntry|null $parent, Content $content, string $taxonomy[, int $level = 0 ][, int|null $contentId = null ])

Parameters

Name Type Default value Description
$id int - -
$identifier string - -
$name string - -
$mainLanguageCode string - -
$names array<string, string> - -
$parent TaxonomyEntry|null - -
$content Content - -
$taxonomy string - -
$level int 0 -
$contentId int|null null -

publicgetContent()

TaxonomyEntry.php : 113
public getContent() : Content

Return values

Content

publicgetContentId()

TaxonomyEntry.php : 118
public getContentId() : int|null

Return values

int|null

publicgetId()

TaxonomyEntry.php : 80
public getId() : int

Return values

int

publicgetIdentifier()

TaxonomyEntry.php : 85
public getIdentifier() : string

Return values

string

publicgetLevel()

TaxonomyEntry.php : 128
public getLevel() : int

Return values

int

publicgetMainLanguageCode()

TaxonomyEntry.php : 95
public getMainLanguageCode() : string

Return values

string

publicgetName()

TaxonomyEntry.php : 90
public getName() : string

Return values

string

publicgetNames()

TaxonomyEntry.php : 103
public getNames() : array<string, string>

Return values

array<string, string>

publicgetParent()

TaxonomyEntry.php : 108
public getParent() : TaxonomyEntry|null

Return values

TaxonomyEntry|null

publicgetTaxonomy()

TaxonomyEntry.php : 123
public getTaxonomy() : string

Return values

string

protectedgetProperties()

ValueObject.php : 50

Function where list of properties are returned.

protected getProperties([array<string|int, mixed> $dynamicProperties = [] ]) : array<string|int, mixed>

Used by attributes(), override to add dynamic properties

Parameters

Name Type Default value Description
$dynamicProperties array<string|int, mixed> []

Additional dynamic properties exposed on the object

Return values

array<string|int, mixed>