Copied!

ContentName

ContentName.php : 15
Final
Extends Criterion
Implements Criterion

Properties

public $operator

Criterion.php : 21

The operator used by the Criterion.

public string $operator

public $target

Criterion.php : 33

The target used by the criteria (field, metadata...).

public string|null $target

public $value

Criterion.php : 28

The value(s) matched by the criteria.

public array<string|int, scalar>|scalar $value

public $valueData

Criterion.php : 38

Additional value data, required by some criteria, MapLocationDistance for instance.

public Value|null $valueData

Methods

public__construct()

ContentName.php : 17

Creates a Criterion.

public __construct(string $value)

Performs operator validation based on the Criterion specifications returned by Criterion::getSpecifications().

Parameters

Name Type Default value Description
$value string - -

publicgetSpecifications()

ContentName.php : 25

Criterion description function.

public getSpecifications() : array<string|int, Specifications>

Return values

array<string|int, Specifications>