Index: trunk/extensions/SemanticDrilldown/includes/SD_Utils.php |
— | — | @@ -10,8 +10,16 @@ |
11 | 11 | /** |
12 | 12 | * Helper function to handle getPropertyValues() in both SMW 1.6 |
13 | 13 | * 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 |
14 | 22 | */ |
15 | | - public static function getSMWPropertyValues( $store, $pageName, $pageNamespace, $propID, $requestOptions = null ) { |
| 23 | + public static function getSMWPropertyValues( SMWStore $store, $pageName, $pageNamespace, $propID, $requestOptions = null ) { |
16 | 24 | // SMWDIProperty was added in SMW 1.6 |
17 | 25 | if ( class_exists( 'SMWDIProperty' ) ) { |
18 | 26 | $pageName = str_replace( ' ', '_', $pageName ); |