Documentation

DisseminationController extends ArcheBaseController
in package

Description of MetadataController

Tags
author

nczirjak

Table of Contents

Properties

$config  : Config
$helper  : mixed
$model  : mixed
$ontology  : Ontology
$pdo  : PDO
$repoDb  : RepoDb
$schema  : Schema
$siteLang  : mixed
$tmpDir  : mixed

Methods

__construct()  : mixed
audioView()  : type
The Audio player dissemination view
collectionDownloadScript()  : Response
Return the collection download python script
iiifView()  : type
Image viewer dissemination view
pdfView()  : type
The PDF viewer dissemination view
threedView()  : Response
This function is called if the user is jumping inside the arche content, it will rerender the metadata view
changeAPILanguage()  : void
If the API needs a different response language then we have to change the session lang params to get the desired lang string translation
changeCDLSText()  : string
Chnage the pyton file content
checkTmpDirs()  : mixed
fetchBasicData()  : object
We have to fetch the basic data for the resource (title, description, etc.
getCurrentLanguage()  : type
Get the site actual language
getDissServices()  : array<string|int, mixed>
Get the available diss services for a given resource
processCDLData()  : string
Get the pyton file and change the content
setTmpDir()  : mixed

Properties

Methods

audioView()

The Audio player dissemination view

public audioView(string $identifier) : type
Parameters
$identifier : string
Return values
type

collectionDownloadScript()

Return the collection download python script

public collectionDownloadScript(string $identifier) : Response
Parameters
$identifier : string
Return values
Response

iiifView()

Image viewer dissemination view

public iiifView(string $identifier) : type
Parameters
$identifier : string
Return values
type

pdfView()

The PDF viewer dissemination view

public pdfView(string $identifier) : type
Parameters
$identifier : string
Return values
type

threedView()

This function is called if the user is jumping inside the arche content, it will rerender the metadata view

public threedView(string $identifier) : Response
Parameters
$identifier : string
Return values
Response

changeAPILanguage()

If the API needs a different response language then we have to change the session lang params to get the desired lang string translation

protected changeAPILanguage(string $lang) : void
Parameters
$lang : string

changeCDLSText()

Chnage the pyton file content

private changeCDLSText(string $text, string $repoUrl) : string
Parameters
$text : string
$repoUrl : string
Return values
string

fetchBasicData()

We have to fetch the basic data for the resource (title, description, etc.

private fetchBasicData(string $identifier) : object

.

Parameters
$identifier : string
Return values
object

getCurrentLanguage()

Get the site actual language

private getCurrentLanguage() : type
Return values
type

getDissServices()

Get the available diss services for a given resource

private getDissServices(string $id) : array<string|int, mixed>
Parameters
$id : string
Return values
array<string|int, mixed>

processCDLData()

Get the pyton file and change the content

private processCDLData(string $repoUrl) : string
Parameters
$repoUrl : string
Return values
string

        
On this page

Search results