in,
Marco
-Original Message-
From: Stephan Robotta [mailto:[email protected]]
Sent: Thursday, February 11, 2010 10:02 AM
To: [email protected]
Subject: Re: [SMW-devel] How to create a SMWQueryProcessor - Query
Hi,
change the line:
$printouts[] = new SMWPr
Hi,
change the line:
$printouts[] = new SMWPrintRequest(SMWPrintRequest::PRINT_PROP, 'has
Connection', 'has Connection');
into:
$printouts[] = new SMWPrintRequest(SMWPrintRequest::PRINT_PROP, 'has
Connection', SMWPropertyValue::makeUserProperty('has Connection'));
That should do it.
Best regar
Hi
I've been experimenting with the PHP-API and looked into the SMW-Code for
the last two days. I've been trying to create a Query, wich queries for
pages inside the Category: Computer and displays their property called "has
Connection" like this:
$query = '[[Category:Computer]]';
$printouts[] =