mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-13 13:03:20 +00:00
Use composer as application autoloader
This commit is contained in:
85
lib/classes/databox/Field/DCESAbstract.php
Normal file
85
lib/classes/databox/Field/DCESAbstract.php
Normal file
@@ -0,0 +1,85 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of Phraseanet
|
||||
*
|
||||
* (c) 2005-2012 Alchemy
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
/**
|
||||
*
|
||||
* @package Databox DCES
|
||||
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
|
||||
* @link www.phraseanet.com
|
||||
*/
|
||||
abstract class databox_Field_DCESAbstract
|
||||
{
|
||||
|
||||
const Contributor = 'Contributor';
|
||||
const Coverage = 'Coverage';
|
||||
const Creator = 'Creator';
|
||||
const Date = 'Date';
|
||||
const Description = 'Description';
|
||||
const Format = 'Format';
|
||||
const Identifier = 'Identifier';
|
||||
const Language = 'Language';
|
||||
const Publisher = 'Publisher';
|
||||
const Relation = 'Relation';
|
||||
const Rights = 'Rights';
|
||||
const Source = 'Source';
|
||||
const Subject = 'Subject';
|
||||
const Title = 'Title';
|
||||
const Type = 'Type';
|
||||
|
||||
/**
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $label;
|
||||
/**
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $definition;
|
||||
/**
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $URI;
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function get_label()
|
||||
{
|
||||
return $this->label;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function get_definition()
|
||||
{
|
||||
return $this->definition;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function get_documentation_link()
|
||||
{
|
||||
return $this->URI;
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user