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

Public Member Functions

 getName ()
 
 getParamDefinitions (array $definitions)
 

Protected Member Functions

 handleParameters (array $params, $outputmode)
 
 getResultText (SMWQueryResult $res, $outputmode)
 
 getEventsHTML (SMWQueryResult $res, $outputmode, $isEventline)
 
 handlePropertyValue (SMWDataValue $object, $outputmode, SMWPrintRequest $pr, $first_col, &$hastitle, &$hastime, $first_value, $isEventline, &$curmeta, &$curdata, $date_value, &$output, array &$positions)
 

Protected Attributes

 $m_tlstart = ''
 
 $m_tlend = ''
 
 $m_tlsize = ''
 
 $m_tlbands = ''
 
 $m_tlpos = ''
 
 $mTemplate
 
 $mNamedArgs
 

Detailed Description

Result printer for timeline data.

Member Function Documentation

◆ getEventsHTML()

SRFTimeline::getEventsHTML ( SMWQueryResult  $res,
  $outputmode,
  $isEventline 
)
protected

Returns the HTML for the events.

Since
1.5.3
Parameters
SMWQueryResult$res
$outputmode
boolean$isEventline
Returns
string

◆ getParamDefinitions()

SRFTimeline::getParamDefinitions ( array  $definitions)
See also
SMWResultPrinter::getParamDefinitions
Since
1.8
Parameters
$definitionsarray of IParamDefinition
Returns
array of IParamDefinition|array

◆ handleParameters()

SRFTimeline::handleParameters ( array  $params,
  $outputmode 
)
protected
See also
SMWResultPrinter::handleParameters
Since
1.6.3
Parameters
array$params
$outputmode

◆ handlePropertyValue()

SRFTimeline::handlePropertyValue ( SMWDataValue  $object,
  $outputmode,
SMWPrintRequest  $pr,
  $first_col,
$hastitle,
$hastime,
  $first_value,
  $isEventline,
$curmeta,
$curdata,
  $date_value,
$output,
array &  $positions 
)
protected

Hanldes a single property value. Returns an array with data for a single event or false.

FIXME: 13 arguments, of which a whole bunch are byref... not a good design :)

Since
1.5.3
Parameters
SMWDataValue$object
$outputmode
SMWPrintRequest$pr
boolean$first_col
boolean&$hastitle
boolean&$hastime
boolean$first_value
boolean$isEventline
string&$curmeta
string&$curdata
&$date_value
boolean&$output
array&$positions
Returns
false or array

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

About | General disclaimer | Privacy policy