Documentation

DashboardHelper
in package

Description of DashboardHelper

Tags
author

nczirjak

Table of Contents

Properties

$tableInfo  : mixed

Methods

addUrlToTableData()  : array<string|int, mixed>
We have to change the field values for the server side generated tables case.
dashboardValuesByPropertyTableFormat()  : array<string|int, mixed>
generatePropertyUrl()  : array<string|int, mixed>
This function handle the # removing problem in the browser
getCachedFilePath()  : type
Get the cached query files path
processValuesByPropApiParamaters()  : array<string|int, mixed>
Create array from the passed properties
formatNumberToGuiFriendlyFormat()  : string
Formalize the bytes to MB/GB/etc for the gui

Properties

$tableInfo

private mixed $tableInfo = ['properties' => ['property' => ['name' => 'property'], 'count' => ['name' => 'count']], 'classesproperties' => ['class', 'property', 'cnt_distinct_value', 'cnt'], 'classes' => ['class', 'count'], 'topcollections' => ['ID', 'Title', 'Count', 'Max.Relatives', 'Sum.Size', 'Sum.BinarySize'], 'formats' => ['Format', 'Count Format', 'Count Raw BinarySize', 'Sum.Size'], 'formatspercollection' => ['Id', 'Title', 'Type', 'Format', 'Count', 'Sum.Size', 'Sum.Count']]

Methods

addUrlToTableData()

We have to change the field values for the server side generated tables case.

public addUrlToTableData(array<string|int, mixed> $data[, string $key = "properties" ]) : array<string|int, mixed>
Parameters
$data : array<string|int, mixed>
$key : string = "properties"
Return values
array<string|int, mixed>

dashboardValuesByPropertyTableFormat()

public dashboardValuesByPropertyTableFormat(array<string|int, mixed> &$data, string $prop, array<string|int, mixed> $rdf) : array<string|int, mixed>
Parameters
$data : array<string|int, mixed>
$prop : string
$rdf : array<string|int, mixed>
Return values
array<string|int, mixed>

generatePropertyUrl()

This function handle the # removing problem in the browser

public generatePropertyUrl(array<string|int, mixed> &$data[, string $field = "property" ]) : array<string|int, mixed>
Parameters
$data : array<string|int, mixed>
$field : string = "property"
Return values
array<string|int, mixed>

getCachedFilePath()

Get the cached query files path

public getCachedFilePath() : type
Return values
type

processValuesByPropApiParamaters()

Create array from the passed properties

public processValuesByPropApiParamaters(string $params) : array<string|int, mixed>
Parameters
$params : string
Return values
array<string|int, mixed>

formatNumberToGuiFriendlyFormat()

Formalize the bytes to MB/GB/etc for the gui

private formatNumberToGuiFriendlyFormat(int $size) : string
Parameters
$size : int
Return values
string

        
On this page

Search results