WebVIEP Plugin

WebviepTaxonomie

FinalYes

Value object for WebVIEP taxonomies.

Table of Contents

Constants

TOPIC  = 'webviep_topic'

Properties

$value  : string

Methods

__toString()  : string
String representation.
available()  : array<string|int, self>
Available taxonomies.
equals()  : bool
Compare taxonomy values.
fromString()  : self
Create from arbitrary string.
topic()  : self
Topic taxonomy factory.
value()  : string
Raw taxonomy slug.
__construct()  : mixed

Constants

Properties

Methods

__toString()

String representation.

public __toString() : string
Return values
string

available()

Available taxonomies.

public static available() : array<string|int, self>
Return values
array<string|int, self>

equals()

Compare taxonomy values.

public equals(self $other) : bool
Parameters
$other : self
Return values
bool

fromString()

Create from arbitrary string.

public static fromString(string $value) : self
Parameters
$value : string
Return values
self

topic()

Topic taxonomy factory.

public static topic() : self
Return values
self

__construct()

private __construct(string $value) : mixed
Parameters
$value : string

Taxonomy slug

Tags
throws
InvalidArgumentException

        
On this page

Search results