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

Public Member Functions

 getJsConfig ()
 
 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 ()
 

Public Attributes

 $mTemplate
 
 $mIntroTemplate
 
 $mOutroTemplate
 
 $mNamedArgs
 
 $mShowHeaders
 

Protected Member Functions

 handleParameters ()
 
 printRow ( $row, &$rownum, $rowstart, $rowend, &$result, $listsep)
 

Detailed Description

The ListView class defines the List view.

Available parameters for this view: list view type: list|ul|ol; default: list list view template: a template rendering a list item list view introtemplate: a template prepended to the list list view outrotemplate: a template appended to the list list view named args: use named args for templates

Member Function Documentation

◆ getParameters()

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

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

Returns
array of Parameter

◆ getResultText()

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

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

Returns
string

◆ getSelectorLabel()

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

Returns the label of the selector for this view.

Returns
String the selector label

◆ handleParameters()

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

Transfers the parameters applicable to this view into internal variables.

◆ printRow()

SRF\Filtered\View\ListView::printRow (   $row,
$rownum,
  $rowstart,
  $rowend,
$result,
  $listsep 
)
protected

Prints one row of a list view.

Parameters

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

About | General disclaimer | Privacy policy