コード例 #1
0
 /**
  * @param            $value
  * @param bool|false $label
  */
 public function __construct($value, $label = false)
 {
     if (!$label) {
         $label = $this->label;
     }
     parent::__construct($value, $this->uri, $this->name, $label);
 }
コード例 #2
0
 /**
  * @param string $value
  * @param string $label
  * @param array  $attrs
  */
 public function __construct($value, $label = 'Table Of Contents', array $attrs = [])
 {
     #    value
     #  , uri (part put in the uri)
     #  , name (element name in the spec)
     #  , label
     parent::__construct($value, $this->uriPart, $this->namePart, $label);
     $d = [];
     $d[] = $this->getDescription();
     $d[] = 'A list of subunits of the resource.';
     $this->setDescription(implode('; ', $d));
     $this->setAttributes($attrs);
 }
コード例 #3
0
 /**
  * @param string $value
  * @param string $label
  * @param array  $attrs
  */
 public function __construct($value, $label = 'Date Created', array $attrs = [])
 {
     #    value
     #  , uri (part put in the uri)
     #  , name (element name in the spec)
     #  , label
     parent::__construct($value, $this->uriPart, $this->namePart, $label);
     $d = [];
     $d[] = $this->getDescription();
     $d[] = 'Date of creation of the resource.';
     $this->setDescription(implode('; ', $d));
     $this->setAttributes($attrs);
 }
コード例 #4
0
 /**
  * @param string $value
  * @param string $label
  * @param array  $attrs
  */
 public function __construct($value, $label = 'Is Part Of', array $attrs = [])
 {
     #    value
     #  , uri (part put in the uri)
     #  , name (element name in the spec)
     #  , label
     parent::__construct($value, $this->uriPart, $this->namePart, $label);
     $d = [];
     $d[] = $this->getDescription();
     $d[] = 'A related resource in which the described resource is physically or logically included.';
     $this->setDescription(implode('; ', $d));
     $this->setAttributes($attrs);
 }
コード例 #5
0
 /**
  * @param string $value
  * @param string $label
  * @param array  $attrs
  */
 public function __construct($value, $label = 'Is Referenced By', array $attrs = [])
 {
     #    value
     #  , uri (part put in the uri)
     #  , name (element name in the spec)
     #  , label
     parent::__construct($value, $this->uriPart, $this->namePart, $label);
     $d = [];
     $d[] = $this->getDescription();
     $d[] = 'A related resource that references, cites, or otherwise points to the described resource.';
     $this->setDescription(implode('; ', $d));
     $this->setAttributes($attrs);
 }
コード例 #6
0
 /**
  * @param string $value
  * @param string $label
  * @param array  $attrs
  */
 public function __construct($value, $label = 'Date Available', array $attrs = [])
 {
     #    value
     #  , uri (part put in the uri)
     #  , name (element name in the spec)
     #  , label
     parent::__construct($value, $this->uriPart, $this->namePart, $label);
     $d = [];
     $d[] = $this->getDescription();
     $d[] = 'Date (often a range) that the resource became or will become available.';
     $this->setDescription(implode('; ', $d));
     $this->setAttributes($attrs);
 }
コード例 #7
0
 /**
  * @param string $value
  * @param string $label
  * @param array  $attrs
  */
 public function __construct($value, $label = 'Temporal Coverage', array $attrs = [])
 {
     #    value
     #  , uri (part put in the uri)
     #  , name (element name in the spec)
     #  , label
     parent::__construct($value, $this->uriPart, $this->namePart, $label);
     $d = [];
     $d[] = $this->getDescription();
     $d[] = 'Temporal characteristics of the resource.';
     $this->setDescription(implode('; ', $d));
     $this->setAttributes($attrs);
 }
コード例 #8
0
 /**
  * @param string $value
  * @param string $label
  * @param array  $attrs
  */
 public function __construct($value, $label = 'License', array $attrs = [])
 {
     #    value
     #  , uri (part put in the uri)
     #  , name (element name in the spec)
     #  , label
     parent::__construct($value, $this->uriPart, $this->namePart, $label);
     $d = [];
     $d[] = $this->getDescription();
     $d[] = 'A legal document giving official permission to do something with the resource.';
     $this->setDescription(implode('; ', $d));
     $this->setAttributes($attrs);
 }
コード例 #9
0
 /**
  * @param string $value
  * @param string $label
  * @param array  $attrs
  */
 public function __construct($value, $label = 'Rights', array $attrs = [])
 {
     #    value
     #  , uri (part put in the uri)
     #  , name (element name in the spec)
     #  , label
     parent::__construct($value, $this->uriPart, $this->namePart, $label);
     $d = [];
     $d[] = $this->getDescription();
     $d[] = 'Information about rights held in and over the resource.';
     $d[] = 'Typically, rights information includes a statement about various property rights associated with the resource, including intellectual property rights.';
     $this->setDescription(implode('; ', $d));
     $this->setAttributes($attrs);
 }
コード例 #10
0
 /**
  * @param string $value
  * @param string $label
  * @param array  $attrs
  */
 public function __construct($value, $label = 'Creator', array $attrs = [])
 {
     #    value
     #  , uri (part put in the uri)
     #  , name (element name in the spec)
     #  , label
     parent::__construct($value, $this->uriPart, $this->namePart, $label);
     $d = [];
     $d[] = $this->getDescription();
     $d[] = 'An entity primarily responsible for making the resource.';
     $d[] = 'Examples of a Contributor include a person, an organization, or a service.';
     $this->setDescription(implode('; ', $d));
     $this->setAttributes($attrs);
 }
コード例 #11
0
 /**
  * @param string $value
  * @param string $label
  * @param array  $attrs
  */
 public function __construct($value, $label = 'Source', array $attrs = [])
 {
     #    value
     #  , uri (part put in the uri)
     #  , name (element name in the spec)
     #  , label
     parent::__construct($value, $this->uriPart, $this->namePart, $label);
     $d = [];
     $d[] = $this->getDescription();
     $d[] = 'A related resource from which the described resource is derived.';
     $d[] = 'The described resource may be derived from the related resource in whole or in part. Recommended best practice is to identify the related resource by means of a string conforming to a formal identification system.';
     $this->setDescription(implode('; ', $d));
     $this->setAttributes($attrs);
 }
コード例 #12
0
 /**
  * @param string $value
  * @param string $label
  * @param array  $attrs
  */
 public function __construct($value, $label = 'Identifier', array $attrs = [])
 {
     #    value
     #  , uri (part put in the uri)
     #  , name (element name in the spec)
     #  , label
     parent::__construct($value, $this->uriPart, $this->namePart, $label);
     $d = [];
     $d[] = $this->getDescription();
     $d[] = 'An unambiguous reference to the resource within a given context.';
     $d[] = 'Recommended best practice is to identify the resource by means of a string conforming to a formal identification system.';
     $this->setDescription(implode('; ', $d));
     $this->setAttributes($attrs);
 }
コード例 #13
0
 /**
  * @param string $value
  * @param string $label
  * @param array  $attrs
  */
 public function __construct($value, $label = 'Language', array $attrs = [])
 {
     #    value
     #  , uri (part put in the uri)
     #  , name (element name in the spec)
     #  , label
     parent::__construct($value, $this->uriPart, $this->namePart, $label);
     $d = [];
     $d[] = $this->getDescription();
     $d[] = 'A language of the resource.';
     $d[] = 'Recommended best practice is to use a controlled vocabulary such as RFC 4646 [RFC4646].';
     $this->setDescription(implode('; ', $d));
     $this->setAttributes($attrs);
 }
コード例 #14
0
 /**
  * @param string $value
  * @param string $label
  * @param array  $attrs
  */
 public function __construct($value, $label = 'Subject', array $attrs = [])
 {
     #    value
     #  , uri (part put in the uri)
     #  , name (element name in the spec)
     #  , label
     parent::__construct($value, $this->uriPart, $this->namePart, $label);
     $d = [];
     $d[] = $this->getDescription();
     $d[] = 'The topic of the resource.';
     $d[] = 'Typically, the subject will be represented using keywords, key phrases, or classification codes. Recommended best practice is to use a controlled vocabulary.';
     $this->setDescription(implode('; ', $d));
     $this->setAttributes($attrs);
 }
コード例 #15
0
 /**
  * @param string $value
  * @param string $label
  * @param array  $attrs
  */
 public function __construct($value, $label = 'Type', array $attrs = [])
 {
     #    value
     #  , uri (part put in the uri)
     #  , name (element name in the spec)
     #  , label
     parent::__construct($value, $this->uriPart, $this->namePart, $label);
     $d = [];
     $d[] = $this->getDescription();
     $d[] = 'The nature or genre of the resource.';
     $d[] = 'Recommended best practice is to use a controlled vocabulary such as the DCMI Type Vocabulary [DCMITYPE]. To describe the file format, physical medium, or dimensions of the resource, use the Format element.';
     $this->setDescription(implode('; ', $d));
     $this->setAttributes($attrs);
 }
コード例 #16
0
 /**
  * @param string $value
  * @param string $label
  * @param array  $attrs
  */
 public function __construct($value, $label = 'Alternative Title', array $attrs = [])
 {
     #    value
     #  , uri (part put in the uri)
     #  , name (element name in the spec)
     #  , label
     parent::__construct($value, $this->uriPart, $this->namePart, $label);
     $d = [];
     $d[] = $this->getDescription();
     $d[] = 'An alternative name for the resource.';
     $d[] = 'Note - the distinction between titles and alternative titles is resource-specific.';
     $this->setDescription(implode('; ', $d));
     $this->setAttributes($attrs);
 }
コード例 #17
0
 /**
  * @param string $value
  * @param string $label
  * @param array  $attrs
  */
 public function __construct($value, $label = 'Description', array $attrs = [])
 {
     #    value
     #  , uri (part put in the uri)
     #  , name (element name in the spec)
     #  , label
     parent::__construct($value, $this->uriPart, $this->namePart, $label);
     $d = [];
     $d[] = $this->getDescription();
     $d[] = 'An account of the resource.';
     $d[] = 'Description may include but is not limited to: an abstract, a table of contents, a graphical representation, or a free-text account of the resource.';
     $this->setDescription(implode('; ', $d));
     $this->setAttributes($attrs);
 }
コード例 #18
0
 /**
  * @param string $value
  * @param string $label
  * @param array  $attrs
  */
 public function __construct($value, $label = 'Coverage', array $attrs = [])
 {
     #    value
     #  , uri (part put in the uri)
     #  , name (element name in the spec)
     #  , label
     parent::__construct($value, $this->uriPart, $this->namePart, $label);
     $d = [];
     $d[] = $this->getDescription();
     $d[] = 'The spatial or temporal topic of the resource, the spatial applicability of the resource, or the jurisdiction under which the resource is relevant.';
     $d[] = 'Spatial topic and spatial applicability may be a named place or a location specified by its geographic coordinates. Temporal topic may be a named period, date, or date range. A jurisdiction may be a named administrative entity or a geographic place to which the resource applies. Recommended best practice is to use a controlled vocabulary such as the Thesaurus of Geographic Names [TGN]. Where appropriate, named places or time periods can be used in preference to numeric identifiers such as sets of coordinates or date ranges.';
     $this->setDescription(implode('; ', $d));
     $this->setAttributes($attrs);
 }