r102493 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r102492‎ | r102493 | r102494 >
Date:04:59, 9 November 2011
Author:jeroendedauw
Status:deferred
Tags:
Comment:
docs++
Modified paths:
  • /trunk/extensions/SemanticDrilldown/includes/SD_Utils.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticDrilldown/includes/SD_Utils.php
@@ -10,8 +10,16 @@
1111 /**
1212 * Helper function to handle getPropertyValues() in both SMW 1.6
1313 * and earlier versions.
 14+ *
 15+ * @param SMWStore $store
 16+ * @param string $pageName
 17+ * @param integer $pageNamespace
 18+ * @param string $propID
 19+ * @param null|SMWRequestOptions $requestOptions
 20+ *
 21+ * @return array of SMWDataItem
1422 */
15 - public static function getSMWPropertyValues( $store, $pageName, $pageNamespace, $propID, $requestOptions = null ) {
 23+ public static function getSMWPropertyValues( SMWStore $store, $pageName, $pageNamespace, $propID, $requestOptions = null ) {
1624 // SMWDIProperty was added in SMW 1.6
1725 if ( class_exists( 'SMWDIProperty' ) ) {
1826 $pageName = str_replace( ' ', '_', $pageName );