Semantic MediaWiki and related extensions
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
SMW\UnusedPropertiesQueryPage Class Reference
Inheritance diagram for SMW\UnusedPropertiesQueryPage:
Inheritance graph
[legend]
Collaboration diagram for SMW\UnusedPropertiesQueryPage:
Collaboration graph
[legend]

Public Member Functions

 __construct (Store $store, Settings $settings)
 
 getName ()
 
 isExpensive ()
 
 isSyndicated ()
 
 getCacheInfo ()
 
 getPageHeader ()
 
 formatResult ( $skin, $result)
 
 getResults ( $requestOptions)
 
- Public Member Functions inherited from SMW\QueryPage
 getResults ( $requestoptions)
 
 recache ( $limit, $ignoreErrors=true)
 
 isExpensive ()
 
 isSyndicated ()
 
 linkParameters ()
 
 getMessageFormatter ()
 
 getLinker ()
 
 getSearchForm ( $property='', $cacheDate='', $propertySearch=true, $filter='')
 
 doQuery ( $offset=false, $limit=false, $property=false)
 

Protected Member Functions

 formatPropertyItem (DIProperty $property)
 

Protected Attributes

 $store
 
 $settings
 
- Protected Attributes inherited from SMW\QueryPage
 $msgFormatter
 
 $linker = null
 
 $selectOptions = []
 
 $useSerchForm = false
 

Detailed Description

Query page that provides content to Special:UnusedProperties

GNU GPL v2+

Since
1.9
Author
Markus Krötzsch
mwjames

Constructor & Destructor Documentation

◆ __construct()

SMW\UnusedPropertiesQueryPage::__construct ( Store  $store,
Settings  $settings 
)
Since
1.9
Parameters
Store$store
Settings$settings

Member Function Documentation

◆ formatPropertyItem()

SMW\UnusedPropertiesQueryPage::formatPropertyItem ( DIProperty  $property)
protected

Produce a formatted string representation for showing a property in the list of unused properties.

Since
1.8
Parameters
DIProperty$property
Returns
string

◆ formatResult()

SMW\UnusedPropertiesQueryPage::formatResult (   $skin,
  $result 
)

Format a result in the list of results as a string. We expect the result to be an object of type SMWDIProperty (normally) or maybe SMWDIError (if something went wrong).

Parameters
Skin$skinprovided by MediaWiki, not needed here
mixed$result
Returns
String
Exceptions
InvalidResultExceptionif the result was not of a supported type

◆ getCacheInfo()

SMW\UnusedPropertiesQueryPage::getCacheInfo ( )

Returns available cache information (takes into account user preferences)

Since
1.9
Returns
string

◆ getName()

SMW\UnusedPropertiesQueryPage::getName ( )
Returns
string

◆ getPageHeader()

SMW\UnusedPropertiesQueryPage::getPageHeader ( )
Returns
string

◆ getResults()

SMW\UnusedPropertiesQueryPage::getResults (   $requestOptions)

Get the list of results.

Parameters
SMWRequestOptions$requestOptions
Returns
array of SMWDIProperty|SMWDIError

◆ isExpensive()

SMW\UnusedPropertiesQueryPage::isExpensive ( )
Returns
boolean

◆ isSyndicated()

SMW\UnusedPropertiesQueryPage::isSyndicated ( )
Returns
boolean

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

About | General disclaimer | Privacy policy