r24150 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r24149‎ | r24150 | r24151 >
Date:07:54, 16 July 2007
Author:mkroetzsch
Status:old
Tags:
Comment:
provide getType()
Modified paths:
  • /trunk/extensions/SemanticMediaWiki/includes/SMW_DV_NAry.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMediaWiki/includes/SMW_DV_NAry.php
@@ -241,6 +241,10 @@
242242 return implode(';', $this->m_type->getTypeLabels());
243243 }
244244
 245+ public function getType() {
 246+ return $this->m_type;
 247+ }
 248+
245249 public function getDVs() {
246250 return $this->isValid() ? $this->m_values : null;
247251 }

Status & tagging log