Documentation

NamedNodeTemplate extends ValueTemplate
in package

Description of AnyNamedNode

Tags
author

zozlak

Table of Contents

Constants

ANY  = 'any'
CONTAINS  = 'contains'
ENDS  = 'ends'
EQUALS  = '=='
GREATER  = '>'
GREATER_EQUAL  = '>='
LOWER  = '<'
LOWER_EQUAL  = '<='
NOT_EQUALS  = '!='
REGEX  = 'regex'
STARTS  = 'starts'

Properties

$matchMode  : string
$value  : array<string|int, string>
$fn  : callable

Methods

__construct()  : mixed
__toString()  : string
Should return:
equals()  : bool

Constants

Properties

Methods

__construct()

public __construct([string|array<string|int, string>|null $value = null ][, string $matchMode = self::EQUALS ]) : mixed
Parameters
$value : string|array<string|int, string>|null = null

If multiple values are provided, the comparison result will be "any of comparisons equals true"

$matchMode : string = self::EQUALS
Tags
throws
TermTemplatesException

__toString()

Should return:

public __toString() : string
  • an URI for named nodes and blank nodes
  • a value in lexical form for literals

For all other kind of terms the return value depends on the implementation

Return values
string

        
On this page

Search results