Last change
on this file since 12 was
12,
checked in by basvannuland, 14 years ago
|
Added RAP RDF API
Added RDF reader writer for save and load survey
|
File size:
1.2 KB
|
Rev | Line | |
---|
[12] | 1 | <?php
|
---|
| 2 | /**
|
---|
| 3 | * RSS Vocabulary (ResResource)
|
---|
| 4 | *
|
---|
| 5 | * @version $Id: RSS_RES.php 431 2007-05-01 15:49:19Z cweiske $
|
---|
| 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_RES{
|
---|
| 17 |
|
---|
| 18 | function CHANNEL()
|
---|
| 19 | {
|
---|
| 20 | return new ResResource(RSS_NS . 'channel');
|
---|
| 21 |
|
---|
| 22 | }
|
---|
| 23 |
|
---|
| 24 | function IMAGE()
|
---|
| 25 | {
|
---|
| 26 | return new ResResource(RSS_NS . 'image');
|
---|
| 27 |
|
---|
| 28 | }
|
---|
| 29 |
|
---|
| 30 | function ITEM()
|
---|
| 31 | {
|
---|
| 32 | return new ResResource(RSS_NS . 'item');
|
---|
| 33 |
|
---|
| 34 | }
|
---|
| 35 |
|
---|
| 36 | function TEXTINPUT()
|
---|
| 37 | {
|
---|
| 38 | return new ResResource(RSS_NS . 'textinput');
|
---|
| 39 |
|
---|
| 40 | }
|
---|
| 41 |
|
---|
| 42 | function ITEMS()
|
---|
| 43 | {
|
---|
| 44 | return new ResResource(RSS_NS . 'items');
|
---|
| 45 |
|
---|
| 46 | }
|
---|
| 47 |
|
---|
| 48 | function TITLE()
|
---|
| 49 | {
|
---|
| 50 | return new ResResource(RSS_NS . 'title');
|
---|
| 51 |
|
---|
| 52 | }
|
---|
| 53 |
|
---|
| 54 | function LINK()
|
---|
| 55 | {
|
---|
| 56 | return new ResResource(RSS_NS . 'link');
|
---|
| 57 |
|
---|
| 58 | }
|
---|
| 59 |
|
---|
| 60 | function URL()
|
---|
| 61 | {
|
---|
| 62 | return new ResResource(RSS_NS . 'url');
|
---|
| 63 |
|
---|
| 64 | }
|
---|
| 65 |
|
---|
| 66 | function DESCRIPTION()
|
---|
| 67 | {
|
---|
| 68 | return new ResResource(RSS_NS . 'description');
|
---|
| 69 |
|
---|
| 70 | }
|
---|
| 71 |
|
---|
| 72 | function NAME()
|
---|
| 73 | {
|
---|
| 74 | return new ResResource(RSS_NS . 'name');
|
---|
| 75 | }
|
---|
| 76 | }
|
---|
| 77 |
|
---|
| 78 |
|
---|
| 79 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.