add exposer names
This commit is contained in:
parent
b3c7e9449f
commit
0705f3aa49
|
@ -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
|
||||
|
|
|
@ -10,6 +10,7 @@ class Html extends Type {
|
|||
|
||||
public $mappers = ['Value'];
|
||||
public $slug = 'html'; // type slug for url safe
|
||||
public $name = 'HyperText Markup Language';
|
||||
|
||||
/**
|
||||
*
|
||||
|
|
|
@ -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 = [];
|
||||
|
||||
|
|
|
@ -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/";
|
||||
/**
|
||||
|
|
|
@ -10,6 +10,7 @@ class Txt extends Type {
|
|||
|
||||
public $mappers = ['Value'];
|
||||
public $slug = 'txt'; // type slug for url safe
|
||||
public $name = 'TXT';
|
||||
|
||||
/**
|
||||
*
|
||||
|
|
|
@ -14,6 +14,7 @@ class Xml extends Type {
|
|||
*/
|
||||
protected $extension = 'xml';
|
||||
public $slug = 'xml'; // type slug for url safe
|
||||
public $name = 'Extensible Markup Language';
|
||||
|
||||
/**
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue