PHP 클래스 Tdt\Core\Repositories\DcatRepository

상속: implements Tdt\Core\Repositories\Interfaces\DcatRepositoryInterface
파일 보기 프로젝트 열기: tdt/core

공개 메소드들

메소드 설명
__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