https://www.mediawiki.org/wiki/Special:Code/MediaWiki/114456

Revision: 114456
Author:   jeroendedauw
Date:     2012-03-23 19:41:44 +0000 (Fri, 23 Mar 2012)
Log Message:
-----------
fix bug 35435

Modified Paths:
--------------
    trunk/extensions/SemanticMediaWiki/includes/export/SMW_ExportController.php
    trunk/extensions/SemanticMediaWiki/includes/storage/SMW_Store.php

Modified: 
trunk/extensions/SemanticMediaWiki/includes/export/SMW_ExportController.php
===================================================================
--- trunk/extensions/SemanticMediaWiki/includes/export/SMW_ExportController.php 
2012-03-23 18:49:16 UTC (rev 114455)
+++ trunk/extensions/SemanticMediaWiki/includes/export/SMW_ExportController.php 
2012-03-23 19:41:44 UTC (rev 114456)
@@ -207,7 +207,7 @@
                                        $pinst = new SMWDIProperty( '_INST' );
        
                                        while ( $resarray !== false ) {
-                                               $instance = end( $resarray 
)->getNextDataValue();
+                                               $instance = end( $resarray 
)->getNextDataItem();
 
                                                if ( !array_key_exists( 
$instance->getHash(), $this->element_done ) ) {
                                                        $semdata = 
$this->getSemanticData( $instance, true );

Modified: trunk/extensions/SemanticMediaWiki/includes/storage/SMW_Store.php
===================================================================
--- trunk/extensions/SemanticMediaWiki/includes/storage/SMW_Store.php   
2012-03-23 18:49:16 UTC (rev 114455)
+++ trunk/extensions/SemanticMediaWiki/includes/storage/SMW_Store.php   
2012-03-23 19:41:44 UTC (rev 114456)
@@ -175,12 +175,19 @@
         * Get an array of all subjects that have the given value for the given
         * property. The result is an array of SMWDIWikiPage objects. If null
         * is given as a value, all subjects having that property are returned.
+        *
+        * @param SMWDIProperty $property
+        *
+        *
+        * @return array of SMWDIWikiPage
         */
        public abstract function getPropertySubjects( SMWDIProperty $property, 
$value, $requestoptions = null );
 
        /**
         * Get an array of all subjects that have some value for the given
         * property. The result is an array of SMWDIWikiPage objects.
+        *
+        * @return array of SMWDIWikiPage
         */
        public abstract function getAllPropertySubjects( SMWDIProperty 
$property, $requestoptions = null );
 


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to