Documentation

DataAccessRepository extends EntityRepository

DataAccessRepository

Tags
copyright

Cloudrexx AG

author

Project Team SS4U info@cloudrexx.com

subpackage

coremodule_dataaccess

Table of Contents

Methods

getAccess()  : DataAccess
Tries to find a matching DataAccess entity for the given criteria
getAllowedMethods()  : array<string|int, mixed>
Returns the HTTP method names you're allowed to use for this DataSource with this API key

Methods

getAccess()

Tries to find a matching DataAccess entity for the given criteria

public getAccess(string $method, string $requestApiKey, array<string|int, mixed> $arguments, string $dataAccessName) : DataAccess
Parameters
$method : string

Request method (get, post, ...)

$requestApiKey : string

API key used in request

$arguments : array<string|int, mixed>

List of arguments to the current request

$dataAccessName : string

Name of the selected DataSource

Return values
DataAccess

Matching DataAccess object or null

getAllowedMethods()

Returns the HTTP method names you're allowed to use for this DataSource with this API key

public getAllowedMethods(DataSource $dataSource, string $requestApiKey, array<string|int, mixed> $arguments) : array<string|int, mixed>
Parameters
$dataSource : DataSource

Requested DataSource

$requestApiKey : string

API key of the request

$arguments : array<string|int, mixed>

List of arguments to the current request

Return values
array<string|int, mixed>

List of HTTP methods


        
On this page

Search results