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 <nischay...@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 (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 <ya...@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
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

Reply via email to