2009/5/7 Sergio Rinaudo <kaiohken1...@hotmail.com>: > So, what am I suppose to do if I have a situation where I have a > Zend_Db_Table_Rowset ( $mymodel->fetchAll() ) and I have to cicle it, and > access some Zend_Db_Table_Row method?
You need to make sure that you have required the row class before Zend_Db_Table_* tries to load it. You could also edit the Zend_Loader::loadClass method and change the class_exists($class, false) to class_exists($class) but obviously you will be editing the core files... > > Sergio Rinaudo > > > >> Date: Thu, 7 May 2009 12:18:32 -0400 >> From: matt...@zend.com >> To: fw-general@lists.zend.com >> Subject: Re: [fw-general] ZF1.8 Naming Convention for rowClass Model >> >> -- Sergio Rinaudo <kaiohken1...@hotmail.com> wrote >> (on Thursday, 07 May 2009, 04:32 PM +0200): >> > I gets Zend_Loader error when trying to load rowClass model. >> > I've already changed the name of my rowClass model in >> > Model_{rowclassname}, >> > same result. >> > Any advices? >> >> There's an issue in the tracker related to this already; I'm not sure if >> we'll address it for 1.8.1, or if it will need to wait for a later >> maintenance release. >> >> (We actually need to modify most usage of Zend_Loader internally -- >> though it's used relatively infrequently -- to allow for autoloading.) >> >> -- >> Matthew Weier O'Phinney >> Project Lead | matt...@zend.com >> Zend Framework | http://framework.zend.com/ > > ________________________________ > Scrivi, parla e gioca con i tuoi amici! Scarica Messenger 2009! -- ---------------------------------------------------------------------- [MuTe] ----------------------------------------------------------------------