DashboardController
extends ControllerBase
in package
Table of Contents
Properties
- $cacheTypes : mixed
- $data : mixed
- $helper : mixed
- $model : mixed
- $repo : mixed
Methods
- __construct() : mixed
- dashboardClassPropertyDetail() : array<string|int, mixed>
- The rdf:type class properties detail view
- dashboardDetailAjax() : array<string|int, mixed>
- AJAX related table main template - latest
- dashboardDetailAjaxApi() : Response
- Ajax related table main API call - latest
- dashboardDisseminationServicesDetail() : type
- Dissemination service detail page with the basic infos
- dashboardDisseminationServicesList() : Response
- The properties deatil view
- dashboardFormatPropertyDetail() : array<string|int, mixed>
- dashboardOverview() : array<string|int, mixed>
- The Dashboard Main Menu View
- dashboardPropertyDetailApi() : Response
- The properties deatil view
- generateHeaders() : array<string|int, mixed>
- generateView() : array<string|int, mixed>
- The basic view generation function, which will handle the sql queries based on the passed property
- getDisseminationServiceApi() : Response
- Dissemination services list api call for the datatable
- getDisseminationServiceMatchingResourcesApi() : Response
- The matching resource api call for the dissemination service detail datatable
- getProperty() : type
- The properties menu template generation
- getPropertyApi() : Response
- The properties menu API call backend for the table data generation
- getValuesByProperty() : array<string|int, mixed>
- dashboard-values-by-property page
- getValuesByPropertyApi() : Response
- dashboard-values-by-property API call
- getValuesByPropertyDetail() : array<string|int, mixed>
- dashboard-vbp-detail page
- getValuesByPropertyDetailApi() : Response
- dashboard-vbp-detail API
Properties
$cacheTypes
private
static mixed
$cacheTypes
= ['formatspercollection']
$data
private
mixed
$data
= array()
$helper
private
mixed
$helper
$model
private
mixed
$model
$repo
private
mixed
$repo
Methods
__construct()
public
__construct() : mixed
dashboardClassPropertyDetail()
The rdf:type class properties detail view
public
dashboardClassPropertyDetail(string $property) : array<string|int, mixed>
Parameters
- $property : string
Return values
array<string|int, mixed>dashboardDetailAjax()
AJAX related table main template - latest
public
dashboardDetailAjax([string $key = "properties" ]) : array<string|int, mixed>
Parameters
- $key : string = "properties"
Return values
array<string|int, mixed>dashboardDetailAjaxApi()
Ajax related table main API call - latest
public
dashboardDetailAjaxApi(string $key) : Response
Parameters
- $key : string
Return values
ResponsedashboardDisseminationServicesDetail()
Dissemination service detail page with the basic infos
public
dashboardDisseminationServicesDetail(string $id) : type
Parameters
- $id : string
Return values
typedashboardDisseminationServicesList()
The properties deatil view
public
dashboardDisseminationServicesList() : Response
Return values
ResponsedashboardFormatPropertyDetail()
public
dashboardFormatPropertyDetail(string $property) : array<string|int, mixed>
Parameters
- $property : string
Return values
array<string|int, mixed>dashboardOverview()
The Dashboard Main Menu View
public
dashboardOverview() : array<string|int, mixed>
Return values
array<string|int, mixed>dashboardPropertyDetailApi()
The properties deatil view
public
dashboardPropertyDetailApi(string $property) : Response
Parameters
- $property : string
Return values
ResponsegenerateHeaders()
public
generateHeaders(mixed $key) : array<string|int, mixed>
Parameters
- $key : mixed
Return values
array<string|int, mixed>generateView()
The basic view generation function, which will handle the sql queries based on the passed property
public
generateView(type $key[, int $offset = 0 ][, int $limit = 10 ][, string $search = "" ][, int $orderby = 1 ][, string $order = "asc" ]) : array<string|int, mixed>
Parameters
- $key : type
- $offset : int = 0
- $limit : int = 10
- $search : string = ""
- $orderby : int = 1
- $order : string = "asc"
Return values
array<string|int, mixed>getDisseminationServiceApi()
Dissemination services list api call for the datatable
public
getDisseminationServiceApi() : Response
Return values
ResponsegetDisseminationServiceMatchingResourcesApi()
The matching resource api call for the dissemination service detail datatable
public
getDisseminationServiceMatchingResourcesApi(string $id) : Response
Parameters
- $id : string
Return values
ResponsegetProperty()
The properties menu template generation
public
getProperty(string $property) : type
Parameters
- $property : string
Return values
typegetPropertyApi()
The properties menu API call backend for the table data generation
public
getPropertyApi(string $property) : Response
Parameters
- $property : string
Return values
ResponsegetValuesByProperty()
dashboard-values-by-property page
public
getValuesByProperty() : array<string|int, mixed>
Return values
array<string|int, mixed>getValuesByPropertyApi()
dashboard-values-by-property API call
public
getValuesByPropertyApi(string $property) : Response
Parameters
- $property : string
Return values
ResponsegetValuesByPropertyDetail()
dashboard-vbp-detail page
public
getValuesByPropertyDetail(string $params) : array<string|int, mixed>
Parameters
- $params : string
Return values
array<string|int, mixed>getValuesByPropertyDetailApi()
dashboard-vbp-detail API
public
getValuesByPropertyDetailApi(string $params) : Response
Parameters
- $params : string