MediaWiki  REL1_19
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 24 of file Metadata.php.


Constructor & Destructor Documentation

Constructor.

Parameters:
$articleArticle object

Definition at line 31 of file Metadata.php.


Member Function Documentation

RdfMetaData::basics ( ) [protected]

Definition at line 57 of file Metadata.php.

References $user, $wgLanguageCode, $wgSitename, date(), element(), User\newFromId(), pageOrString(), person(), reallyFullUrl(), rights(), and wfMsg().

Here is the call graph for this function:

RdfMetaData::date ( timestamp) [protected]

Definition at line 83 of file Metadata.php.

Referenced by basics().

Here is the caller graph for this function:

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

Definition at line 78 of file Metadata.php.

References print.

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

Here is the caller graph for this function:

Definition at line 162 of file Metadata.php.

References $license, and $version.

Referenced by getTerms().

Here is the caller graph for this function:

RdfMetaData::getTerms ( url) [protected]

Definition at line 147 of file Metadata.php.

References $url, $wgLicenseTerms, and getKnownLicenses().

Here is the call graph for this function:

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

Definition at line 107 of file Metadata.php.

References $title, and url().

Referenced by pageOrString(), and rights().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 89 of file Metadata.php.

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

Referenced by basics(), and person().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 116 of file Metadata.php.

References element(), User\getName(), User\getRealName(), User\getUserPage(), User\isAnon(), pageOrString(), and wfMsgExt().

Referenced by basics().

Here is the call graph for this function:

Here is the caller graph for this function:

RdfMetaData::reallyFullUrl ( ) [protected]

Definition at line 53 of file Metadata.php.

Referenced by basics().

Here is the caller graph for this function:

RdfMetaData::rights ( ) [protected]

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

Definition at line 134 of file Metadata.php.

References $wgRightsPage, $wgRightsText, $wgRightsUrl, element(), Title\newFromText(), page(), and url().

Referenced by basics().

Here is the call graph for this function:

Here is the caller graph for this function:

RdfMetaData::setup ( ) [protected]

Definition at line 37 of file Metadata.php.

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

Here is the call graph for this function:

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

Definition at line 111 of file Metadata.php.

References $url, and print.

Referenced by page(), and rights().

Here is the caller graph for this function:


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 25 of file Metadata.php.


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