Hey,
I've spent about two days recently before I figured out these two
> lines that allow to want the value of the semantic property.
>
> $params = array ("[[Pagename]]", "?ExampleProperty=", "mainlabel=-");
> $result = SMWQueryProcessor::getResultFromFunctionParams( $params,
> SMW_OUTPUT_WIKI );
>
It would be of great help to have documentation on doing such stuff, but
right now SMWQueryProcessor is a huge mess, so I'd like to see it rewritten
before everyone starts building on top of it.
I'm pretty sure that making custom datatypes is pretty common task and not
> only I will find your docs useful.
>
Right - I will quickly poke at this soonish then. Docs will be here
http://semantic-mediawiki.org/wiki/Writing_data_values
Cheers
--
Jeroen De Dauw
http://www.bn2vs.com
Don't panic. Don't be evil.
--
------------------------------------------------------------------------------
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