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

Public Member Functions

 getJsDataForRow (ResultItem $row)
 
 getResourceModules ()
 
 getJsConfig ()
 
 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 ()
 

Detailed Description

The CalendarView 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

◆ getJsConfig()

SRF\Filtered\View\CalendarView::getJsConfig ( )

Returns an array of config data for this filter to be stored in the JS

Returns
string[]

◆ getJsDataForRow()

SRF\Filtered\View\CalendarView::getJsDataForRow ( ResultItem  $row)
Parameters
ResultItem$row
Returns
array

◆ getParameters()

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

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

Returns
array of Parameter

◆ getResourceModules()

SRF\Filtered\View\CalendarView::getResourceModules ( )

Returns the name of the resource module to load for this view.

Returns
string|array

◆ getSelectorLabel()

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

Returns the label of the selector for this view.

Returns
String the selector label

◆ handleParameters()

SRF\Filtered\View\CalendarView::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