Hi,

Sorry, what's the actual code I should use? That's all I wanted to know.

-Yaron

On Mon, Jul 23, 2012 at 4:47 PM, Nischay Nahata <nischayn22@gmail.com> wrote:
Hey,

SMWCompatibilityHelpers has been removed in 1.8 Store3, though its still in the repository to support Store2.
Store3 instead uses DIHelper classes (interfaceSMWDataItemHandler) to access the DB.

I also just looked at Semantic Internal Objects and saw that it extends Store2 and directly accesses db tables, these tables won't be
there anymore in 1.8.


On Mon, Jul 23, 2012 at 11:48 PM, Yaron Koren <yaron@wikiworks.com> wrote:
Hi,

In the Semantic Internal Objects extension, I'm getting the "DB keys" for an object of type SMWDataValue with the following code:

$dataItem = $value->getDataItem();
$keys = SMWCompatibilityHelpers::getDBkeysFromDataItem( $dataItem );

However, the file for the SMWCompatibilityHelpers says that "This file and its contents will vanish before SMW 1.7." So what code should be used instead?

-Yaron


--
Cheers,

Nischay Nahata
nischayn22.in



--
WikiWorks MediaWiki Consulting http://wikiworks.com