Semantic MediaWiki and related extensions
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
SRF\Filtered\View\TableView Class Reference
Inheritance diagram for SRF\Filtered\View\TableView:
Inheritance graph
[legend]
Collaboration diagram for SRF\Filtered\View\TableView:
Collaboration graph
[legend]

Public Member Functions

 getResultText ()
 
 getSelectorLabel ()
 
- Public Member Functions inherited from SRF\Filtered\View\View
 __construct (array &$results, array &$params, Filtered &$queryPrinter)
 
getQueryResults ()
 
getActualParameters ()
 
getQueryPrinter ()
 
 getResourceModules ()
 
 getResultText ()
 
 getJsDataForRow (ResultItem $row)
 
 getJsConfig ()
 
 getInitError ()
 

Static Public Member Functions

static getParameters ()
 
- Static Public Member Functions inherited from SRF\Filtered\View\View
static getParameters ()
 

Protected Member Functions

 handleParameters ()
 
 getCellForPropVals (SMWResultArray $resultArray, $outputmode, $columnClass)
 
 getCellContent (array $dataValues, $outputmode, $isSubject)
 

Detailed Description

The TableView class defines the Table view.

Available parameters for this view: headers: (show)|hide|plain

Member Function Documentation

◆ getCellContent()

SRF\Filtered\View\TableView::getCellContent ( array  $dataValues,
  $outputmode,
  $isSubject 
)
protected

Gets the contents for a table cell for all values of a property of a subject.

Since
1.6.1
Parameters

◆ getCellForPropVals()

SRF\Filtered\View\TableView::getCellForPropVals ( SMWResultArray  $resultArray,
  $outputmode,
  $columnClass 
)
protected

Gets a table cell for all values of a property of a subject.

Since
1.6.1
Parameters
SMWResultArray$resultArray
$outputmode
string  |  null$columnClass
Returns
string

◆ getParameters()

static SRF\Filtered\View\TableView::getParameters ( )
static

A function to describe the allowed parameters of a query for this view.

Returns
array of Parameter

◆ getResultText()

SRF\Filtered\View\TableView::getResultText ( )

Returns the wiki text that is to be included for this view.

Returns
string

◆ getSelectorLabel()

SRF\Filtered\View\TableView::getSelectorLabel ( )

Returns the label of the selector for this view.

Returns
String the selector label

◆ handleParameters()

SRF\Filtered\View\TableView::handleParameters ( )
protected

Transfers the parameters applicable to this view into internal variables.


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

About | General disclaimer | Privacy policy