PHP Class Tdt\Core\DataControllers\SPARQLController

Author: Jan Vansteenlandt ([email protected])
Inheritance: extends Tdt\Core\DataControllers\ADataController
Afficher le fichier Open project: tdt/core

Méthodes publiques

Méthode Description
__construct ( Tdt\Core\Repositories\Interfaces\OntologyRepositoryInterface $ontologies ) Default max rows returned in Virtuoso
readData ( $source_definition, $rest_parameters = [] )

Private Methods

Méthode Description
executeUri ( $uri, $user = '', $password = '' ) Execute a query using cURL and return the result.
processLogicalStatements ( $query )
processParameterFunction ( $values, $function, $pattern, $concat )
processParameters ( $query ) Replace parameters in the SPARQL query with the corresponding passed query parameters.

Method Details

__construct() public méthode

Default max rows returned in Virtuoso
public __construct ( Tdt\Core\Repositories\Interfaces\OntologyRepositoryInterface $ontologies )
$ontologies Tdt\Core\Repositories\Interfaces\OntologyRepositoryInterface

readData() public méthode

public readData ( $source_definition, $rest_parameters = [] )