Documentation

NumericTemplate
in package
implements TermCompare

Description of AnyNamedNode

Tags
author

zozlak

Interfaces, Classes, Traits and Enums

TermCompare
Description of TermCompare

Table of Contents

ANY  = 8
EQUALS  = 1
GREATER  = 5
GREATER_EQUAL  = 6
LOWER  = 6
LOWER_EQUAL  = 7
$fn  : callable
$matchMode  : string
$numericTypes  : array<string|int, string>
$strict  : bool
$value  : float|null
__construct()  : mixed
__toString()  : string
equals()  : bool

Constants

Properties

$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]

Methods

__construct()

public __construct(float|null $value[, int $matchMode = self::EQUALS ][, bool $strict = false ]) : mixed
Parameters
$value : float|null
$matchMode : int = self::EQUALS
$strict : bool = false
Return values
mixed

Search results