SMWPropertyPage Class Reference

Inherits SMWOrderedListPage.

List of all members.

Protected Member Functions

 initParameters ()
 getHtml ()
 Returns the HTML which is added to $wgOut after the article text.
 getSubpropertyList ()
 Get the HTML for displaying subproperties of this property.
 getPropertyValueList ()
 Get the HTML for displaying values of this property, based on the current from/until and limit settings.
 subjectObjectList (array $diWikiPages)
 Format $diWikiPages chunked by letter in a table that shows subject articles in one column and object articles/values in the other one.


Detailed Description

Definition at line 13 of file SMW_PropertyPage.php.


Member Function Documentation

SMWPropertyPage::initParameters (  )  [protected]

See also:
SMWOrderedListPage::initParameters()
Note:
We use a smaller limit here; property pages might become large.

Reimplemented from SMWOrderedListPage.

Definition at line 19 of file SMW_PropertyPage.php.

References $smwgPropertyPagingLimit, and SMWDIProperty::newFromUserLabel().

SMWPropertyPage::getHtml (  )  [protected]

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

Returns:
string

Reimplemented from SMWOrderedListPage.

Definition at line 31 of file SMW_PropertyPage.php.

References getPropertyValueList(), and getSubpropertyList().

SMWPropertyPage::getSubpropertyList (  )  [protected]

Get the HTML for displaying subproperties of this property.

This list is usually short and we implement no additional navigation.

Returns:
string

Definition at line 46 of file SMW_PropertyPage.php.

References $store, SMWPageLister::getColumnList(), SMWOrderedListPage::getDataItem(), SMWPageLister::getShortList(), and smwfGetStore().

Referenced by getHtml().

SMWPropertyPage::getPropertyValueList (  )  [protected]

Get the HTML for displaying values of this property, based on the current from/until and limit settings.

Returns:
string

Definition at line 84 of file SMW_PropertyPage.php.

References $store, SMWPageLister::getRequestOptions(), smwfGetStore(), and subjectObjectList().

Referenced by getHtml().

SMWPropertyPage::subjectObjectList ( array $  diWikiPages  )  [protected]

Format $diWikiPages chunked by letter in a table that shows subject articles in one column and object articles/values in the other one.

Parameters:
$diWikiPages array
Returns:
string

Definition at line 126 of file SMW_PropertyPage.php.

References $smwgMaxPropertyValues, $store, SMWInfolink::newBrowsingLink(), SMWDataValueFactory::newDataItemValue(), SMWInfolink::newInversePropertySearchLink(), smwfGetLinker(), and smwfGetStore().

Referenced by getPropertyValueList().


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