Statement implements StatementInterface
For results data reference see https://www.w3.org/TR/sparql11-results-json/ and https://w3c.github.io/rdf-star/cg-spec/editors_draft.html#sparql-star-query-results-json-format
Tags
Interfaces, Classes and Traits
Table of Contents
- LANG_PROP = 'xml:lang'
- $currentRow : object|null
- $dataFactory : DataFactory
- $iterator : Iterator
- $response : MessageInterface
- $rowNumber : int|null
- __construct() : mixed
- bindParam() : bool
- bindValue() : bool
- current() : mixed
- execute() : bool
- fetch() : object|array<string|int, mixed>|false
- fetchAll() : array<string|int, mixed>
- fetchColumn() : object|false
- key() : int|null
- next() : void
- rewind() : void
- valid() : bool
- makeTerm() : Term
Constants
LANG_PROP
public
mixed
LANG_PROP
= 'xml:lang'
Properties
$currentRow
private
object|null
$currentRow
= null
$dataFactory
private
DataFactory
$dataFactory
$iterator
private
Iterator
$iterator
$response
private
MessageInterface
$response
$rowNumber
private
int|null
$rowNumber
Methods
__construct()
public
__construct(MessageInterface $response, DataFactory $dataFactory) : mixed
Parameters
- $response : MessageInterface
- $dataFactory : DataFactory
Return values
mixed —bindParam()
public
bindParam(int|string $parameter, Term &$variable) : bool
Parameters
- $parameter : int|string
- $variable : Term
Return values
bool —bindValue()
public
bindValue(int|string $parameter, Term $value) : bool
Parameters
- $parameter : int|string
- $value : Term
Return values
bool —current()
public
current() : mixed
Return values
mixed —execute()
public
execute([array<string|int, mixed> $parameters = [] ]) : bool
Parameters
- $parameters : array<string|int, mixed> = []
Return values
bool —fetch()
public
fetch([int $fetchStyle = PDO::FETCH_OBJ ]) : object|array<string|int, mixed>|false
Parameters
- $fetchStyle : int = PDO::FETCH_OBJ
Return values
object|array<string|int, mixed>|false —fetchAll()
public
fetchAll([int $fetchStyle = PDO::FETCH_OBJ ]) : array<string|int, mixed>
Parameters
- $fetchStyle : int = PDO::FETCH_OBJ
Return values
array<string|int, mixed> —fetchColumn()
public
fetchColumn() : object|false
Return values
object|false —key()
public
key() : int|null
Return values
int|null —next()
public
next() : void
Return values
void —rewind()
public
rewind() : void
Return values
void —valid()
public
valid() : bool
Return values
bool —makeTerm()
private
makeTerm(object $var) : Term
Parameters
- $var : object