PHP Класс Tdt\Core\Formatters\FormatHelper

Автор: Jan Vansteenlandt ([email protected])
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
getAvailableFormats ( Tdt\Core\Datasets\Data $data ) : array Return a list of the available formats that the data structure can be formatted into
getFormatsForType ( array $source_definition ) : array Get the available formats based on the type of data source This can differ from the actual available formats (e.g. a SPARQL query can return a results from a construct or a select query, which can or can not be - respectively - be formatted in semantic formats)

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

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

Return a list of the available formats that the data structure can be formatted into
public getAvailableFormats ( Tdt\Core\Datasets\Data $data ) : array
$data Tdt\Core\Datasets\Data
Результат array

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

Get the available formats based on the type of data source This can differ from the actual available formats (e.g. a SPARQL query can return a results from a construct or a select query, which can or can not be - respectively - be formatted in semantic formats)
public getFormatsForType ( array $source_definition ) : array
$source_definition array
Результат array