Devs,

Quick question: I was trying to instantiate a SMWWikiPageValue object,  
and got a class not found error. Come to find, that it's not added to  
$wgAutoloadClasses in SMW_GlobalFunctions.php like most of the others,  
but instead in SMWDataValueFactory::initDatatypes(). From there, I  
traced it back a bit and perhaps it is supposed to get called by some  
smwInitDatatypes hook? Then I got lost.

So, what is the "proper" way to make sure this function is called? Am  
I supposed to manually call initDatatypes() before directly  
instantiating any DV objects? Or was that supposed to already happen  
through some prerequisite step that I missed?

-Matt

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

Reply via email to