NumericTemplate
extends ValueTemplate
in package
Description of AnyNamedNode
Tags
Table of Contents
- ANY = 'any'
- CONTAINS = 'contains'
- ENDS = 'ends'
- EQUALS = '=='
- GREATER = '>'
- GREATER_EQUAL = '>='
- LOWER = '<'
- LOWER_EQUAL = '<='
- NOT_EQUALS = '!='
- REGEX = 'regex'
- STARTS = 'starts'
- $matchMode : string
- $value : string|null
- $fn : callable
- $numericTypes : array<string|int, string>
- $strict : bool
- __construct() : mixed
- __toString() : string
- equals() : bool
Constants
ANY
public
mixed
ANY
= 'any'
Tags
CONTAINS
public
mixed
CONTAINS
= 'contains'
Tags
ENDS
public
mixed
ENDS
= 'ends'
Tags
EQUALS
public
mixed
EQUALS
= '=='
Tags
GREATER
public
mixed
GREATER
= '>'
Tags
GREATER_EQUAL
public
mixed
GREATER_EQUAL
= '>='
Tags
LOWER
public
mixed
LOWER
= '<'
Tags
LOWER_EQUAL
public
mixed
LOWER_EQUAL
= '<='
Tags
NOT_EQUALS
public
mixed
NOT_EQUALS
= '!='
Tags
REGEX
public
mixed
REGEX
= 'regex'
Tags
STARTS
public
mixed
STARTS
= 'starts'
Tags
Properties
$matchMode
protected
string
$matchMode
Tags
$value
protected
string|null
$value
Tags
$fn
private
callable
$fn
Tags
$numericTypes
private
static array<string|int, string>
$numericTypes
= [\zozlak\RdfConstants::XSD_INTEGER, \zozlak\RdfConstants::XSD_DECIMAL, \zozlak\RdfConstants::XSD_BYTE, \zozlak\RdfConstants::XSD_SHORT, \zozlak\RdfConstants::XSD_INT, \zozlak\RdfConstants::XSD_LONG, \zozlak\RdfConstants::XSD_FLOAT, \zozlak\RdfConstants::XSD_DOUBLE, \zozlak\RdfConstants::XSD_G_DAY, \zozlak\RdfConstants::XSD_G_MONTH, \zozlak\RdfConstants::XSD_G_YEAR, \zozlak\RdfConstants::XSD_NEGATIVE_INTEGER, \zozlak\RdfConstants::XSD_NON_NEGATIVE_INTEGER, \zozlak\RdfConstants::XSD_NON_POSITIVE_INTEGER, \zozlak\RdfConstants::XSD_POSITIVE_INTEGER, \zozlak\RdfConstants::XSD_UNSIGNED_BYTE, \zozlak\RdfConstants::XSD_UNSIGNED_SHORT, \zozlak\RdfConstants::XSD_UNSIGNED_INT, \zozlak\RdfConstants::XSD_UNSIGNED_LONG]
Tags
$strict
private
bool
$strict
Tags
Methods
__construct()
public
__construct([float|null $value = null ][, string $matchMode = self::EQUALS ][, bool $strict = false ]) : mixed
Parameters
- $value : float|null = null
- $matchMode : string = self::EQUALS
- $strict : bool = false
Tags
Return values
mixed —__toString()
public
__toString() : string
Tags
Return values
string —equals()
public
equals(TermInterface $term) : bool
Parameters
- $term : TermInterface