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

Public Member Functions

 getName ()
 
 formatDateStr ($object)
 
 displayCalendar ($events)
 
 getParamDefinitions (array $definitions)
 
- Public Member Functions inherited from SMW\ResultPrinter
 __construct ($format, $inline=true, $useValidator=false)
 
 isEnabledFeature ($feature)
 
 getQueryMode ($context)
 
 getName ()
 
 setShowErrors ($show)
 
 getParameters ()
 
 getParamDefinitions (array $definitions)
 
 getNamedParameters (array $definitions=array())
 
 isExportFormat ()
 
 getDefaultSort ()
 
- Public Member Functions inherited from SMW\QueryResultPrinter
 getResult (QueryResult $results, array $fullParams, $outputMode)
 

Protected Member Functions

 setColors ($colorsText)
 
 handleParameters (array $params, $outputmode)
 
 buildResult (SMWQueryResult $results)
 
 getResultText (SMWQueryResult $res, $outputmode)
 
- 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 ()
 

Static Protected Member Functions

static intToMonth ($int)
 

Protected Attributes

 $mTemplate
 
 $mUserParam
 
 $mRealUserLang = null
 
 $mStartMonth
 
 $mStartYear
 
- 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
 

Member Function Documentation

SRFCalendar::buildResult ( SMWQueryResult  $results)
protected
See also
SMWResultPrinter::buildResult
Since
1.8
Parameters
SMWQueryResult$results
Returns
string
SRFCalendar::displayCalendar (   $events)
SRFCalendar::formatDateStr (   $object)
SRFCalendar::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.

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

Implements SMW\QueryResultPrinter.

SRFCalendar::getResultText ( SMWQueryResult  $res,
  $outputmode 
)
protected

(non-PHPdoc)

See also
SMWResultPrinter::getResultText()
Todo:
Split up megamoth
SRFCalendar::handleParameters ( array  $params,
  $outputmode 
)
protected
static SRFCalendar::intToMonth (   $int)
staticprotected
SRFCalendar::setColors (   $colorsText)
protected

Member Data Documentation

SRFCalendar::$mRealUserLang = null
protected
SRFCalendar::$mStartMonth
protected
SRFCalendar::$mStartYear
protected
SRFCalendar::$mTemplate
protected
SRFCalendar::$mUserParam
protected

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