Just found the answer by myself, getShortWikiText( true ) works fine. The
first time I didn't try it with the true for linked. But still,
getLongWikiText won't work this way for any reason.

Daniel


> -----Original Message-----
> From: Daniel Werner [mailto:danwe...@web.de]
> Sent: Saturday, March 20, 2010 11:59 PM
> To: Semediawiki-devel@lists.sourceforge.net
> Subject: [SMW-devel] Printing a SMWDataValue the way queries do it
> 
> How can I print a SMWDataValue in php the way inline Queries do it by
> default? I tried some of the functions listed in the SMWDataValue Class
> Reference at
> http://semantic-
> mediawiki.org/doc/classSMWDataValue.html#2d566821f34aad6738c
> fb0a5c31aecd6
> but still I can't find the right one.
> 
> etLongWikiText( true ) for example displays values of my property age
> like
> "1 year (365 days)" but not like the query would do it with advanced
> html
> tags and the class "smwttinline" to activate the javascript
> functionality.
> So how is a printout in a query style possible?
> 
> Thanks for any help!
> Daniel
> 


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

Reply via email to