Index: trunk/extensions/SemanticMediaWiki/includes/storage/SMW_QueryResult.php |
— | — | @@ -80,6 +80,15 @@ |
81 | 81 | } |
82 | 82 | |
83 | 83 | /** |
| 84 | + * Get the SMWStore object that this result is based on. |
| 85 | + * |
| 86 | + * @return SMWStore |
| 87 | + */ |
| 88 | + public function getStore() { |
| 89 | + return $this->mStore; |
| 90 | + } |
| 91 | + |
| 92 | + /** |
84 | 93 | * Return the next result row as an array of SMWResultArray objects, and |
85 | 94 | * advance the internal pointer. |
86 | 95 | * |
— | — | @@ -263,6 +272,15 @@ |
264 | 273 | } |
265 | 274 | |
266 | 275 | /** |
| 276 | + * Get the SMWStore object that this result is based on. |
| 277 | + * |
| 278 | + * @return SMWStore |
| 279 | + */ |
| 280 | + public function getStore() { |
| 281 | + return $this->mStore; |
| 282 | + } |
| 283 | + |
| 284 | + /** |
267 | 285 | * Returns the SMWDIWikiPage object to which this SMWResultArray refers. |
268 | 286 | * If you only care for those objects, consider using SMWQueryResult::getResults() |
269 | 287 | * directly. |