From: Richard C. <ri...@cy...> - 2007-03-09 15:13:07
|
I haven't looked into this, but maybe the methods are just missing from ResModel, which provides not quite the same API as the simpler Model class. (I could be totally wrong.) Richard On 9 Mar 2007, at 13:38, Michel Gutierrez wrote: > > I haven't found a workaround for this issue so far. I presume the RAP > library does not work for linux. > > Can anyone recommend another php library for parsing rdf that would > work > on linux with php 4.3 ? > > > Michel Gutierrez wrote: >> Hi, >> >> There are several methods i cannot access from the api: >> >> ... >> $model = ModelFactory::getResModel(MEMMODEL); >> $model->load($path); >> $modeModel=$model->find($modeInfo,null,null); >> $it=$model->findAsIterator($modeInfo,NULL,NULL); >> >> the find() method is ok, but findAsIterator() generates an error: >> Fatal >> error: Call to undefined function: findasiterator() in ... >> >> Prior to executing this code i do: >> >> define("RDFAPI_INCLUDE_DIR", "/usr/share/php/rdfapi-php/api/"); >> include_once('/usr/share/php/rdfapi-php/api/RdfAPI.php'); >> >> What did i miss ? >> >> /mig >> >> --------------------------------------------------------------------- >> ---- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to >> share your >> opinions on IT & business topics through brief surveys-and earn cash >> http://www.techsay.com/default.php? >> page=join.php&p=sourceforge&CID=DEVDEV >> _______________________________________________ >> Rdfapi-php-interest mailing list >> Rdf...@li... >> https://lists.sourceforge.net/lists/listinfo/rdfapi-php-interest >> > > > ---------------------------------------------------------------------- > --- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php? > page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Rdfapi-php-interest mailing list > Rdf...@li... > https://lists.sourceforge.net/lists/listinfo/rdfapi-php-interest > |