PHP Class Tdt\Core\Repositories\DcatRepository

Inheritance: implements Tdt\Core\Repositories\Interfaces\DcatRepositoryInterface
Afficher le fichier Open project: tdt/core

Méthodes publiques

Méthode Description
__construct ( Tdt\Core\Repositories\Interfaces\LicenseRepositoryInterface $licenses, Tdt\Core\Repositories\Interfaces\LanguageRepositoryInterface $languages, Tdt\Core\Repositories\Interfaces\SettingsRepositoryInterface $settings, Tdt\Core\Repositories\Interfaces\ThemeRepositoryInterface $themes )
getDcatDocument ( array $definitions, $oldest_definition ) : EasyRdf_Graph Return a DCAT document based on the definitions that are passed
getNamespaces ( ) : array Return the used namespaces in the DCAT document

Private Methods

Méthode Description
getIssuedDate ( ) : string Return the issued date (in ISO8601 standard) of the catalog
isDataGeoFormatted ( $definition )

Method Details

__construct() public méthode

public __construct ( Tdt\Core\Repositories\Interfaces\LicenseRepositoryInterface $licenses, Tdt\Core\Repositories\Interfaces\LanguageRepositoryInterface $languages, Tdt\Core\Repositories\Interfaces\SettingsRepositoryInterface $settings, Tdt\Core\Repositories\Interfaces\ThemeRepositoryInterface $themes )
$licenses Tdt\Core\Repositories\Interfaces\LicenseRepositoryInterface
$languages Tdt\Core\Repositories\Interfaces\LanguageRepositoryInterface
$settings Tdt\Core\Repositories\Interfaces\SettingsRepositoryInterface
$themes Tdt\Core\Repositories\Interfaces\ThemeRepositoryInterface

getDcatDocument() public méthode

Return a DCAT document based on the definitions that are passed
public getDcatDocument ( array $definitions, $oldest_definition ) : EasyRdf_Graph
$definitions array
Résultat EasyRdf_Graph

getNamespaces() public méthode

Return the used namespaces in the DCAT document
public getNamespaces ( ) : array
Résultat array