MediaWiki  REL1_22
RdfMetaData Class Reference

List of all members.

Public Member Functions

 __construct (Page $article)
 Constructor.
 show ()

Public Attributes

const RDF_TYPE_PREFS = 'application/rdf+xml,text/xml;q=0.7,application/xml;q=0.5,text/rdf;q=0.1'

Protected Member Functions

 basics ()
 date ($timestamp)
 element ($name, $value)
 getKnownLicenses ()
 getTerms ($url)
 page ($name, $title)
 pageOrString ($name, $page, $str)
 person ($name, User $user)
 reallyFullUrl ()
 rights ()
 Takes an arg, for future enhancement with different rights for different pages.
 setup ()
 url ($name, $url)

Detailed Description

Definition at line 26 of file Metadata.php.


Constructor & Destructor Documentation

Constructor.

Parameters:
$articleArticle object

Definition at line 33 of file Metadata.php.

References $article.


Member Function Documentation

RdfMetaData::date ( timestamp) [protected]

Definition at line 85 of file Metadata.php.

References $timestamp.

Referenced by basics().

RdfMetaData::element ( name,
value 
) [protected]

Definition at line 80 of file Metadata.php.

References $value, and print.

Referenced by basics(), pageOrString(), person(), and rights().

Definition at line 170 of file Metadata.php.

References $license, array(), and as.

Referenced by getTerms().

RdfMetaData::getTerms ( url) [protected]

Definition at line 155 of file Metadata.php.

References array(), getKnownLicenses(), and global.

RdfMetaData::page ( name,
title 
) [protected]
Parameters:
$namestring
$titleTitle

Definition at line 109 of file Metadata.php.

References $name, $title, and url().

Referenced by pageOrString(), and rights().

RdfMetaData::pageOrString ( name,
page,
str 
) [protected]

Definition at line 91 of file Metadata.php.

References $name, element(), Title\newFromText(), and page().

Referenced by basics(), and person().

RdfMetaData::person ( name,
User user 
) [protected]
RdfMetaData::reallyFullUrl ( ) [protected]

Definition at line 55 of file Metadata.php.

Referenced by basics().

RdfMetaData::rights ( ) [protected]

Takes an arg, for future enhancement with different rights for different pages.

Definition at line 142 of file Metadata.php.

References element(), global, Title\newFromText(), page(), and url().

Referenced by basics().

RdfMetaData::setup ( ) [protected]

Definition at line 39 of file Metadata.php.

References $wgOut, global, wfAcceptToPrefs(), wfMessage(), and wfNegotiateType().

RdfMetaData::show ( ) [abstract]
RdfMetaData::url ( name,
url 
) [protected]

Definition at line 113 of file Metadata.php.

References print.

Referenced by page(), and rights().


Member Data Documentation

const RdfMetaData::RDF_TYPE_PREFS = 'application/rdf+xml,text/xml;q=0.7,application/xml;q=0.5,text/rdf;q=0.1'

Definition at line 27 of file Metadata.php.


The documentation for this class was generated from the following file: