|
| __construct ( $typeid='') |
|
| getUnitList () |
|
| getUnit () |
|
| __construct ( $typeid='') |
|
| parseNumberValue ( $value, &$number, &$unit, &$asPrefix=false) |
|
| setOutputFormat ( $formatstring) |
|
| getNumber () |
|
| getLocalizedFormattedNumber ( $value) |
|
| getNormalizedFormattedNumber ( $value) |
|
| getShortWikiText ( $linker=null) |
|
| getShortHTMLText ( $linker=null) |
|
| getLongWikiText ( $linker=null) |
|
| getLongHTMLText ( $linker=null) |
|
| getWikiValue () |
|
| getInfolinks () |
|
| getCanonicalMainUnit () |
|
| getConvertedUnitValues () |
|
| getUnit () |
|
| hasPrefixalUnitPreference ( $unit) |
|
| normalizeUnit ( $unit) |
|
| getUnitList () |
|
| __construct ( $typeid) |
|
| getTypeID () |
|
| setUserValue ( $value, $caption=false) |
|
| setDataItem (SMWDataItem $dataItem) |
|
| setDataValueServiceFactory (DataValueServiceFactory $dataValueServiceFactory) |
|
| setProperty (DIProperty $property) |
|
| getProperty () |
|
| setContextPage (SMWDIWikiPage $contextPage=null) |
|
| getContextPage () |
|
| setCaption ( $caption) |
|
| getCaption () |
|
| getPreferredCaption () |
|
| setOutputFormat ( $formatString) |
|
| getOutputFormat () |
|
| addError ( $error) |
|
| addErrorMsg ( $error, $type=Message::TEXT) |
|
| getErrorText () |
|
| getErrors () |
|
| getErrorsByType ( $type=null) |
|
| getRestrictionError () |
|
| clearErrors () |
|
| getQueryDescription ( $value) |
|
| getDataItem () |
|
| __toString () |
|
| getShortWikiText ( $linker=null) |
|
| getShortHTMLText ( $linker=null) |
|
| getLongWikiText ( $linker=null) |
|
| getLongHTMLText ( $linker=null) |
|
| getWikiValue () |
|
| getShortText ( $outputFormat, $linker=null) |
|
| getLongText ( $outputFormat, $linker=null) |
|
| getInfolinkText ( $outputFormat, $linker=null) |
|
| getInfolinks () |
|
| getHash () |
|
| isNumeric () |
|
| isValid () |
|
| canUse () |
|
| isRestricted () |
|
| addCallable ( $key, callable $callable) |
|
| hasCallable ( $key) |
|
| getCallable ( $key) |
|
| clearCallable ( $key) |
|
| copyOptions (Options $options=null) |
|
| setOption ( $key, $value) |
|
| getOption ( $key, $default=false) |
|
| hasFeature ( $feature) |
|
| isEnabledFeature ( $feature) |
|
| checkConstraints () |
|
This datavalue implements unit support for measuring temperatures. This is mostly an example implementation of how to realise custom unit types easily.
GNU GPL v2+
- Since
- 2.4
- Author
- Markus Krötzsch
-
mwjames