hi there, I have a problem when using getPropertySubjects from the SMWSQLStore2 class. I have a SMW system with SMWHalo and SemanticForms installed. I want to retrieve all pages using a specific SF. So I am using the following code snippet to test:
$__tmpList = SFUtils::getAllForms(); // works fine $__store = smwfGetStore(); // works fine foreach ($__tmpList as $__tmpSF){ $__tmpPropertyForSF = SMWPropertyValue::makeProperty("Has default form"); // with makeUserProperty didn't work either var_dump($__store->getPropertySubjects($__tmpPropertyForSF, SMWWikiPageValue::makePage($__tmpSF, SF_NS_FORM))); } die; Unfortunately no results are returned. And I expect that there are some, since there are SFs defined in the wiki and they are assigned to categories. Any suggestions? Best regards, dian p.s. The code snippet can be tested on any SMW system with the two extensions installed. ------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p _______________________________________________ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel