Re: App::import - I'm doing it wrong?

2009-07-17 Thread Mike
Er, my point (buried in that long, long first post :) ) is that I thought that Cake should SHOULD NOT be inflecting filenames in the vendors directory. I thought that 'vendors' was for PHP code that we got from some other, non-Cake source. Since we can't enforce a naming scheme on other project

Re: App::import - I'm doing it wrong?

2009-07-17 Thread Miles J
Well if for some reason cake cant inflect the filename/path correctly to determine the path, you would need to use the file option. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this grou

Re: App::import - I'm doing it wrong?

2009-07-16 Thread Mike
Is that by design (for the 'vendors' stuff)? If it is, I'd love to volunteer to update the documentation in the online Cake book to make this more clear. Thanks! On Jul 16, 8:15 pm, Miles J wrote: > Yeah if the import doesnt work right off the bat, you have to use the > file option. --~--~

Re: App::import - I'm doing it wrong?

2009-07-16 Thread Miles J
Yeah if the import doesnt work right off the bat, you have to use the file option. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To uns

App::import - I'm doing it wrong?

2009-07-16 Thread Mike
Hello! So I'm in the process of upgrading to Cake 1.2 (from an earlier beta, I believe), and I'm switching from the vendors() function to the App::import function. According to http://book.cakephp.org/view/499/The-App-Class, there's an example that's close to what I want to do: App::import('Ven