GNU GPL v2+
- Since
- 2.4
- Author
- mwjames
-
Markus Krötzsch
-
Fabian Howahl
-
Terry A. Hurlbut
◆ format()
SMW\DataValues\ValueFormatters\TimeValueFormatter::format |
( |
|
$type, |
|
|
|
$linker = null |
|
) |
| |
◆ getCaptionFromDataItem()
SMW\DataValues\ValueFormatters\TimeValueFormatter::getCaptionFromDataItem |
( |
DITime |
$dataItem | ) |
|
- Todo:
- Internationalize the CE and BCE strings.
Compute a suitable string to display the given date item.
- Note
- MediaWiki's date functions are not applicable for the range of historic dates we support.
- Since
- 2.4
- Parameters
-
- Returns
- string
◆ getCaptionFromFreeFormat()
SMW\DataValues\ValueFormatters\TimeValueFormatter::getCaptionFromFreeFormat |
( |
DITime |
$dataItem = null | ) |
|
- Since
- 2.4
- Parameters
-
- Returns
- string
◆ getLocalizedFormat()
SMW\DataValues\ValueFormatters\TimeValueFormatter::getLocalizedFormat |
( |
DITime |
$dataItem = null | ) |
|
- Since
- 2.4
- Parameters
-
- Returns
- string
◆ isFormatterFor()
SMW\DataValues\ValueFormatters\TimeValueFormatter::isFormatterFor |
( |
DataValue |
$dataValue | ) |
|
The documentation for this class was generated from the following file: