r38313 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r38312‎ | r38313 | r38314 >
Date:20:23, 31 July 2008
Author:yaron
Status:old
Tags:
Comment:
Fixed typo: SMWTypeValue => SMWTypesValue
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/includes/export/SMW_Exporter.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/includes/export/SMW_Exporter.php
@@ -213,11 +213,11 @@
214214
215215 /**
216216 * Determine what kind of OWL property some SMW property should be exported as.
217 - * The input is a SMWTypeValue object, a typeid string, or empty (use default)
 217+ * The input is an SMWTypesValue object, a typeid string, or empty (use default)
218218 */
219219 static public function getOWLPropertyType($type = '') {
220220 /// TODO: improved mechanism for selecting property types is needed.
221 - if ($type instanceof SMWTypeValue) {
 221+ if ($type instanceof SMWTypesValue) {
222222 $type = ($type->isUnary())?$type->getXSDValue():'__nry';
223223 } elseif ($type == false) {
224224 $type = '';

Status & tagging log