haha ok thanks. hope it gets fixed fast. then i can remove the plugin that
calls all models class... probably not an efficient way to do things 


Matthew Weier O'Phinney-3 wrote:
> 
> -- iceangel89 <[email protected]> wrote
> (on Saturday, 09 May 2009, 09:29 PM -0700):
>> no way to fix that? 
> 
> There is a way, but it will take some time to identify all places where
> Zend_Loader::loadClass is used -- and write tests to ensure autoloading
> can be invoked. The internal team has already identified this issue, and
> will be working on it in the next few weeks.
> 
>> for now, i did a controller plugin, 
>> 
>> to do call
>> 
>> new Lab_Models_...() for each model class ... but i dun think thats a
>> good
>> fix. hmm it was working b4. isit caused by the trunk version?
> 
> No, it's a legacy issue (as in, it's always been this way) that we can
> now solve via autoloading.
> 
> 
>> Mon Zafra wrote:
>> > 
>> > I believe this is caused by the hardcoded Zend_Loader::loadClass()
>> calls
>> > in
>> > Zend_Db_Table* classes. That method can only find PEAR-style classes in
>> > the
>> > include path.
>> > 
>> >    -- Mon
>> > 
>> > 
>> > On Sun, May 10, 2009 at 10:59 AM, iceangel89 <[email protected]>
>> wrote:
>> > 
>> >>
>> >> i noticed that autoloading does not work when i just do a
>> >>
>> >> $this->view->cat->findParentRow("Lab_Models_Departments");
>> >>
>> >> i must do something like
>> >>
>> >> new Lab_Models_Departments(); //probably to trigger autoloading?
>> >> $this->view->cat->findParentRow("Lab_Models_Departments");
>> >>
>> >> can i fix this? maybe this only occurs with the trunk version i am
>> using
>> >> only?
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/DB-Models---Relationships---AutoLoad-dependent-and-parent-classes-tp23466674p23466674.html
>> >> Sent from the Zend Framework mailing list archive at Nabble.com.
>> >>
>> >>
>> > 
>> > 
>> 
>> -- 
>> View this message in context:
>> http://www.nabble.com/DB-Models---Relationships---AutoLoad-dependent-and-parent-classes-tp23466674p23467047.html
>> Sent from the Zend Framework mailing list archive at Nabble.com.
>> 
> 
> -- 
> Matthew Weier O'Phinney
> Project Lead            | [email protected]
> Zend Framework          | http://framework.zend.com/
> 
> 

-- 
View this message in context: 
http://www.nabble.com/DB-Models---Relationships---AutoLoad-dependent-and-parent-classes-tp23466674p23470072.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to