SMWSetRecurringEvent Class Reference

List of all members.

Static Public Member Functions

static render (Parser &$parser)
 Method for handling the set_recurring_event parser function.
static getJD ($dateDataValue)
 Returns the "Julian day" value from an object of type SMWTimeValue.
static getDatesForRecurringEvent ($params)
 Helper function used in this class, as well as by the Semantic Internal Objects extension.

Static Protected Member Functions

static jdToTimeValue ($jd)
 Helper function - creates an object of type SMWTimeValue based on a "Julian day" integer.


Detailed Description

Definition at line 16 of file SMW_SetRecurringEvent.php.


Member Function Documentation

static SMWSetRecurringEvent::render ( Parser &$  parser  )  [static]

Method for handling the set_recurring_event parser function.

Since:
1.5.3
Parameters:
Parser $parser

Definition at line 25 of file SMW_SetRecurringEvent.php.

References $wgTitle, SMWParseData::addProperty(), SMWOutputs::commitToOutputPage(), and SMWOutputs::commitToParser().

static SMWSetRecurringEvent::jdToTimeValue ( jd  )  [static, protected]

Helper function - creates an object of type SMWTimeValue based on a "Julian day" integer.

Definition at line 57 of file SMW_SetRecurringEvent.php.

References SMWDITime::CM_GREGORIAN, SMWDITime::newFromJD(), and SMWDITime::PREC_YMDT.

static SMWSetRecurringEvent::getJD ( dateDataValue  )  [static]

Returns the "Julian day" value from an object of type SMWTimeValue.

Definition at line 68 of file SMW_SetRecurringEvent.php.

static SMWSetRecurringEvent::getDatesForRecurringEvent ( params  )  [static]

Helper function used in this class, as well as by the Semantic Internal Objects extension.

Parameters:
Parser &$parser The current parser
Returns:
either null, or an array of main property name, set of all date strings, and the unused params

Definition at line 88 of file SMW_SetRecurringEvent.php.

References $smwgDefaultNumRecurringEvents, and $smwgMaxNumRecurringEvents.


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

Generated on Sun Mar 18 07:15:43 2012 for Semantic MediaWiki by  doxygen 1.5.6