Open Data Catalog v2.0.0
Drupal\dkan_sql_endpoint\Controller\Api Class Reference
Inheritance diagram for Drupal\dkan_sql_endpoint\Controller\Api:
static create (ContainerInterface $container)
 
 __construct (Service $service, Connection $database, Resource $resourceServiceFactory, RequestStack $requestStack, DatabaseTableFactory $databaseTableFactory, DataModifierManager $pluginManager)
 
 runQueryGet ()
 
 runQueryPost ()
 

Detailed Description

Api class.

Definition at line 20 of file Api.php.

Constructor & Destructor Documentation

◆ __construct()

Drupal\dkan_sql_endpoint\Controller\Api::__construct ( Service  $service,
Connection  $database,
Resource  $resourceServiceFactory,
RequestStack  $requestStack,
DatabaseTableFactory  $databaseTableFactory,
DataModifierManager  $pluginManager 
)

Constructor.

Definition at line 51 of file Api.php.

Member Function Documentation

◆ create()

static Drupal\dkan_sql_endpoint\Controller\Api::create ( ContainerInterface  $container)
static

Inherited.

inheritdocs}

@codeCoverageIgnore

Definition at line 37 of file Api.php.

◆ runQueryGet()

Drupal\dkan_sql_endpoint\Controller\Api::runQueryGet ( )

Method called by the router.

Definition at line 72 of file Api.php.

◆ runQueryPost()

Drupal\dkan_sql_endpoint\Controller\Api::runQueryPost ( )

Method called by the router.

Definition at line 90 of file Api.php.