Documentation

FileFormatsHTMLHelper
in package

Description of MetadataGuiHTMLHelper

Tags
author

norbertczirjak

Table of Contents

Properties

$categories  : mixed
$categoriesData  : mixed
$data  : mixed
$fields  : mixed

Methods

fetchHtmlContent()  : string
Fetch the whole table
createHeader()  : string
Create the Header for the HTML table
createRows()  : string
fetch the table rows
fetchCategoriesData()  : void
Loop through the data array to reorder the data based on the categories

Properties

$categories

private static mixed $categories = ["https://vocabs.acdh.oeaw.ac.at/archecategory/text" => "TEXT DOCUMENTS", "https://vocabs.acdh.oeaw.ac.at/archecategory/audioVisual" => "AUDIO / VIDEO", "https://vocabs.acdh.oeaw.ac.at/archecategory/image" => "IMAGE", "https://vocabs.acdh.oeaw.ac.at/archecategory/dataset" => "DATASET", "https://vocabs.acdh.oeaw.ac.at/archecategory/3dData" => "3D DATA"]

Methods

fetchHtmlContent()

Fetch the whole table

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

createHeader()

Create the Header for the HTML table

private createHeader() : string
Return values
string

fetchCategoriesData()

Loop through the data array to reorder the data based on the categories

private fetchCategoriesData() : void

        
On this page

Search results