add exposer names

This commit is contained in:
Jacson Passold 2018-08-09 12:24:50 -03:00
parent b3c7e9449f
commit 0705f3aa49
6 changed files with 7 additions and 1 deletions

View File

@ -14,6 +14,7 @@ class Csv extends Type {
*/
public $mappers = ['Value'];
public $slug = 'csv'; // type slug for url safe
public $name = 'Comma-separated values';
/**
*
@ -36,7 +37,7 @@ class Csv extends Type {
}
/**
* Convert Array to Txt
* Convert Array to Csv
* @param array $data
* @param string $csv
* @return string

View File

@ -10,6 +10,7 @@ class Html extends Type {
public $mappers = ['Value'];
public $slug = 'html'; // type slug for url safe
public $name = 'HyperText Markup Language';
/**
*

View File

@ -10,6 +10,7 @@ class JSON_LD extends Type {
public $mappers = ['value', 'dublin-core'];
public $slug = 'json-ld'; // type slug for url safe
public $name = 'JavaScript Object Notation for Linked Data';
protected $contexts = [];

View File

@ -10,6 +10,7 @@ class OAI_PMH extends Xml {
public $mappers = ['Dublin Core'];
public $slug = 'oai-pmh'; // type slug for url safe
public $name = 'Open Archives Initiative Protocol for Metadata Harvesting';
const XML_OAI_DC_NAMESPACE = "http://www.openarchives.org/OAI/2.0/oai_dc/";
/**

View File

@ -10,6 +10,7 @@ class Txt extends Type {
public $mappers = ['Value'];
public $slug = 'txt'; // type slug for url safe
public $name = 'TXT';
/**
*

View File

@ -14,6 +14,7 @@ class Xml extends Type {
*/
protected $extension = 'xml';
public $slug = 'xml'; // type slug for url safe
public $name = 'Extensible Markup Language';
/**
*