RDF
[ class tree: RDF ] [ index: RDF ] [ all elements ]

Source for file DC.php

Documentation is available at DC.php

  1. <?php 
  2. // ----------------------------------------------------------------------------------
  3. // Dublin Core Vocabulary
  4. // ----------------------------------------------------------------------------------
  5. // Version                   : 0.4
  6. // Authors                   : Chris Bizer (chris@bizer.de)
  7.  
  8. // Description               : Wrapper, defining resources for all terms of the Dublin
  9. // Core Vocabulary. For details about DC see: http://dublincore.org/
  10. // Using the wrapper allows you to define all aspects of
  11. // the vocabulary in one spot, simplifing implementation and
  12. // maintainence. Working with the vocabulary, you should use
  13. // these resources as shortcuts in your code.
  14. // 
  15. // define DC namespace
  16. define('RDF_DC_NS''http://purl.org/dc/elements/1.0/');
  17. // DC concepts
  18. $DC_contributor =RDF_Resource::factory(RDF_DC_NS . 'contributor');
  19. $DC_coverage =RDF_Resource::factory(RDF_DC_NS . 'coverage');
  20. $DC_creator =RDF_Resource::factory(RDF_DC_NS . 'creator');
  21. $DC_date =RDF_Resource::factory(RDF_DC_NS . 'date');
  22. $DC_description =RDF_Resource::factory(RDF_DC_NS . 'description');
  23. $DC_format =RDF_Resource::factory(RDF_DC_NS . 'format');
  24. $DC_identifier =RDF_Resource::factory(RDF_DC_NS . 'identifier');
  25. $DC_language =RDF_Resource::factory(RDF_DC_NS . 'language');
  26. $DC_publisher =RDF_Resource::factory(RDF_DC_NS . 'publisher');
  27. $DC_rights =RDF_Resource::factory(RDF_DC_NS . 'rights');
  28. $DC_source =RDF_Resource::factory(RDF_DC_NS . 'source');
  29. $DC_subject =RDF_Resource::factory(RDF_DC_NS . 'subject');
  30. $DC_title =RDF_Resource::factory(RDF_DC_NS . 'title');
  31. $DC_type =RDF_Resource::factory(RDF_DC_NS . 'type');
  32.  
  33. ?>

Documentation generated on Mon, 11 Mar 2019 15:39:28 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.