Hi, everyone!
I have a little question about Sub-objects in SMW 1.9.

I am trying to fetch sub-object properties list, like a page properties 
list, but unsuccessful.

I have a sub-objects $title variable (received from semantic query), 
which holds Title with mFragment holding sub-object name. This is what i 
am trying to do:

$subObject = new Subobject( $title );

//also tried: new Subobject( $title, $title->getFragment() );

$propList = $subObject->getSemanticData()->getProperties();

Looks like this is wrong way to create subobject instance and read its 
properties? Can anyone point me to right way?


------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

Reply via email to