SMWCompatibilityHelpers has been removed in 1.8 Store3, though its still in the repository to support Store2.
Store3 instead uses DIHelper classes (interface SMWDataItemHandler) 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:

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?



Nischay Nahata