Source for file RSS_C.php

Documentation is available at RSS_C.php

  1. <?php
  2. /**
  3. *   RSS Vocabulary (Resource)
  4. *
  5. *   @version $Id: fsource_vocabulary__vocabularyRSS_C.php.html 443 2007-06-01 16:25:38Z cax $
  6. *   @author Tobias Gauß (tobias.gauss@web.de)
  7. *   @package vocabulary
  8. *
  9. *    Wrapper, defining resources for all terms of
  10. *    RSS.
  11. *    For details about RSS see: http://purl.org/rss/1.0/.
  12. *    Using the wrapper allows you to define all aspects of
  13. *    the vocabulary in one spot, simplifing implementation and
  14. *    maintainence.
  15. */
  16. class RSS{
  17.  
  18.     function CHANNEL()
  19.     {
  20.         return  new Resource(RSS_NS 'channel');
  21.  
  22.     }
  23.  
  24.     function IMAGE()
  25.     {
  26.         return  new Resource(RSS_NS 'image');
  27.  
  28.     }
  29.  
  30.     function ITEM()
  31.     {
  32.         return  new Resource(RSS_NS 'item');
  33.  
  34.     }
  35.  
  36.     function TEXTINPUT()
  37.     {
  38.         return  new Resource(RSS_NS 'textinput');
  39.  
  40.     }
  41.  
  42.     function ITEMS()
  43.     {
  44.         return  new Resource(RSS_NS 'items');
  45.  
  46.     }
  47.  
  48.     function TITLE()
  49.     {
  50.         return  new Resource(RSS_NS 'title');
  51.  
  52.     }
  53.  
  54.     function LINK()
  55.     {
  56.         return  new Resource(RSS_NS 'link');
  57.  
  58.     }
  59.  
  60.     function URL()
  61.     {
  62.         return  new Resource(RSS_NS 'url');
  63.  
  64.     }
  65.  
  66.     function DESCRIPTION()
  67.     {
  68.         return  new Resource(RSS_NS 'description');
  69.  
  70.     }
  71.  
  72.     function NAME()
  73.     {
  74.         return  new Resource(RSS_NS 'name');
  75.     }
  76. }
  77.  
  78.  
  79.  
  80. ?>

Documentation generated on Fri, 1 Jun 2007 16:51:44 +0200 by phpDocumentor 1.3.2