|
From: <fu...@us...> - 2007-11-15 10:20:22
|
Revision: 548
http://rdfapi-php.svn.sourceforge.net/rdfapi-php/?rev=548&view=rev
Author: fusel2k
Date: 2007-11-15 02:20:18 -0800 (Thu, 15 Nov 2007)
Log Message:
-----------
[fix] parse() now stores multiple 'FROM'-Parts in an array not only multiple 'FROM NAMED'-Parts
Modified Paths:
--------------
trunk/rdfapi-php/api/sparql/Query.php
Modified: trunk/rdfapi-php/api/sparql/Query.php
===================================================================
--- trunk/rdfapi-php/api/sparql/Query.php 2007-11-14 09:45:39 UTC (rev 547)
+++ trunk/rdfapi-php/api/sparql/Query.php 2007-11-15 10:20:18 UTC (rev 548)
@@ -5,8 +5,8 @@
* The Class Query represents a SPARQL query.
*
*
-* @author Tobias Gauss <tob...@we...>
-* @version $Id$
+* @author Tobias Gauss <tob...@we...>
+* @version $Id$
* @license http://www.gnu.org/licenses/lgpl.html LGPL
*
* @package sparql
@@ -184,6 +184,7 @@
public function getPrefixes(){
return $this->prefixes;
}
+
/**
* Returns a list containing the result vars.
*
@@ -351,7 +352,7 @@
* @return void
*/
public function addFrom($graphURI){
- $this->fromPart = $graphURI;
+ $this->fromPart[] = $graphURI;
}
/**
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|