BlueSpice MediaWiki REL1_27
 All Classes Namespaces Files Functions Variables Groups Pages
SRFTimeline Class Reference
Inheritance diagram for SRFTimeline:
Collaboration diagram for SRFTimeline:

Public Member Functions

 getName ()
 
 getParamDefinitions (array $definitions)
 
- Public Member Functions inherited from SMW\ResultPrinter
 __construct ($format, $inline=true, $useValidator=false)
 
 getQueryMode ($context)
 
 getName ()
 
 setShowErrors ($show)
 
 getParameters ()
 
 getParamDefinitions (array $definitions)
 
 getNamedParameters (array $definitions=array())
 
 isExportFormat ()
 
- Public Member Functions inherited from ContextSource
 getContext ()
 
 setContext (IContextSource $context)
 
 getConfig ()
 
 getRequest ()
 
 getTitle ()
 
 canUseWikiPage ()
 
 getWikiPage ()
 
 getOutput ()
 
 getUser ()
 
 getLanguage ()
 
 getSkin ()
 
 getTiming ()
 
 getStats ()
 
 msg ()
 
 exportSession ()
 
- Public Member Functions inherited from SMW\QueryResultPrinter
 getResult (QueryResult $results, array $fullParams, $outputMode)
 

Protected Member Functions

 handleParameters (array $params, $outputmode)
 
 getResultText (SMWQueryResult $res, $outputmode)
 
 includeJS ()
 
 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 Member Functions inherited from SMW\ResultPrinter
 getResultText (SMWQueryResult $res, $outputMode)
 
 buildResult (SMWQueryResult $results)
 
 handleParameters (array $params, $outputMode)
 
 postProcessParameters ()
 
 getLinker ($firstcol=false)
 
 getFurtherResultsLink (SMWQueryResult $res, $outputMode)
 
 getErrorString (SMWQueryResult $res)
 
 escapeText ($text, $outputmode)
 
 getSearchLabel ($outputmode)
 
 linkFurtherResults (SMWQueryResult $results)
 
 addError ($errorMessage)
 
 textDisplayParameters ()
 
 exportFormatParameters ()
 

Protected Attributes

 $m_tlstart = ''
 
 $m_tlend = ''
 
 $m_tlsize = ''
 
 $m_tlbands = ''
 
 $m_tlpos = ''
 
 $mTemplate
 
 $mNamedArgs
 
- Protected Attributes inherited from SMW\ResultPrinter
 $m_params
 
 $params
 
 $fullParams
 
 $outputMode
 
 $results
 
 $mIntro = ''
 
 $mOutro = ''
 
 $mSearchlabel = null
 
 $mDefault = ''
 
 $mFormat
 
 $mLinkFirst
 
 $mLinkOthers
 
 $mShowHeaders = SMW_HEADERS_SHOW
 
 $mShowErrors = true
 
 $mInline
 
 $mLinker
 
 $mErrors = array()
 
 $isHTML = false
 
 $hasTemplates = false
 

Additional Inherited Members

- Static Public Attributes inherited from SMW\ResultPrinter
static $maxRecursionDepth = 2
 

Detailed Description

Result printer for timeline data.

Member Function Documentation

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
SRFTimeline::getName ( )

Get a human readable label for this printer. The default is to return just the format identifier. Concrete implementations may refer to messages here. The format name is normally not used in wiki text but only in forms etc. hence the user language should be used when retrieving messages.

Returns
string

Implements SMW\QueryResultPrinter.

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

Implements SMW\QueryResultPrinter.

SRFTimeline::handleParameters ( array  $params,
  $outputmode 
)
protected
See Also
SMWResultPrinter::handleParameters
Since
1.6.3
Parameters
array$params
$outputmode
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
SRFTimeline::includeJS ( )
protected

Includes the JavaScript required for the timeline and eventline formats.

Since
1.5.3

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