PHP Класс Tdt\Core\Repositories\DcatRepository

Наследование: implements Tdt\Core\Repositories\Interfaces\DcatRepositoryInterface
Показать файл Открыть проект

Открытые методы

Метод Описание
__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

Приватные методы

Метод Описание
getIssuedDate ( ) : string Return the issued date (in ISO8601 standard) of the catalog
isDataGeoFormatted ( $definition )

Описание методов

__construct() публичный Метод

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() публичный Метод

Return a DCAT document based on the definitions that are passed
public getDcatDocument ( array $definitions, $oldest_definition ) : EasyRdf_Graph
$definitions array
Результат EasyRdf_Graph

getNamespaces() публичный Метод

Return the used namespaces in the DCAT document
public getNamespaces ( ) : array
Результат array