SMWOrderedListPage Class Reference

Inherited by SMWConceptPage, and SMWPropertyPage.

List of all members.

Public Member Functions

 view ()
 Overwrite view() from Article.php to add additional HTML to the output.

Protected Member Functions

 showList ()
 Main method for adding all additional HTML to the output stream.
 initParameters ()
 Initialise some parameters that might be changed by subclasses (e.g.
 getHtml ()
 Returns the HTML which is added to $wgOut after the article text.
 getDataItem ()
 Like Article's getTitle(), but returning a suitable SMWDIWikiPage.

Protected Attributes

 $limit
 $from
 $until
 $skin
 $mProperty = null


Detailed Description

Definition at line 15 of file SMW_OrderedListPage.php.


Member Function Documentation

SMWOrderedListPage::view (  ) 

Overwrite view() from Article.php to add additional HTML to the output.

Definition at line 58 of file SMW_OrderedListPage.php.

References showList().

SMWOrderedListPage::showList (  )  [protected]

Main method for adding all additional HTML to the output stream.

Definition at line 74 of file SMW_OrderedListPage.php.

References SMWOutputs::commitToOutputPage(), getHtml(), and initParameters().

Referenced by view().

SMWOrderedListPage::initParameters (  )  [protected]

Initialise some parameters that might be changed by subclasses (e.g.

$limit). Method can be overwritten in this case. If the method returns false, nothing will be printed besides the original article.

Returns:
true

Reimplemented in SMWConceptPage, and SMWPropertyPage.

Definition at line 98 of file SMW_OrderedListPage.php.

Referenced by showList().

SMWOrderedListPage::getHtml (  )  [abstract, protected]

Returns the HTML which is added to $wgOut after the article text.

Returns:
string

Reimplemented in SMWConceptPage, and SMWPropertyPage.

Referenced by showList().

SMWOrderedListPage::getDataItem (  )  [protected]

Like Article's getTitle(), but returning a suitable SMWDIWikiPage.

Since:
1.6
Returns:
SMWDIWikiPage

Definition at line 117 of file SMW_OrderedListPage.php.

References SMWDIWikiPage::newFromTitle().

Referenced by SMWConceptPage::getHtml(), and SMWPropertyPage::getSubpropertyList().


Member Data Documentation

SMWOrderedListPage::$limit [protected]

Definition at line 22 of file SMW_OrderedListPage.php.

SMWOrderedListPage::$from [protected]

Definition at line 29 of file SMW_OrderedListPage.php.

SMWOrderedListPage::$until [protected]

Definition at line 36 of file SMW_OrderedListPage.php.

SMWOrderedListPage::$skin [protected]

Definition at line 43 of file SMW_OrderedListPage.php.

SMWOrderedListPage::$mProperty = null [protected]

Definition at line 52 of file SMW_OrderedListPage.php.


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

Generated on Sun Mar 18 07:15:43 2012 for Semantic MediaWiki by  doxygen 1.5.6