LiteralTemplate
extends ValueTemplate
in package
Description of LiteralTemplate
Tags
Table of Contents
- ANY = 8
- CONTAINS = 4
- ENDS = 3
- EQUALS = 1
- GREATER = 5
- GREATER_EQUAL = 6
- LOWER = 6
- LOWER_EQUAL = 7
- STARTS = 2
- $matchMode : string
- $value : string|null
- $datatype : string|null
- $fn : callable
- $lang : string|null
- __construct() : mixed
- __toString() : string
- equals() : bool
Constants
ANY
public
mixed
ANY
= 8
CONTAINS
public
mixed
CONTAINS
= 4
ENDS
public
mixed
ENDS
= 3
EQUALS
public
mixed
EQUALS
= 1
GREATER
public
mixed
GREATER
= 5
GREATER_EQUAL
public
mixed
GREATER_EQUAL
= 6
LOWER
public
mixed
LOWER
= 6
LOWER_EQUAL
public
mixed
LOWER_EQUAL
= 7
STARTS
public
mixed
STARTS
= 2
Properties
$matchMode
protected
string
$matchMode
$value
protected
string|null
$value
$datatype
private
string|null
$datatype
$fn
private
callable
$fn
$lang
private
string|null
$lang
Methods
__construct()
public
__construct([string|null $value = null ][, int $matchMode = self::EQUALS ][, string|null $lang = null ][, string|null $datatype = null ]) : mixed
Parameters
- $value : string|null = null
- $matchMode : int = self::EQUALS
- $lang : string|null = null
- $datatype : string|null = null
Return values
mixed —__toString()
public
__toString() : string
Return values
string —equals()
public
equals(Term $term) : bool
Parameters
- $term : Term