Re: Why cake not build a good procedure for load components behaviour , help ?

2011-08-10 Thread vcrack
s already done this way. > they will be "joined" between AppController PluginAppController > Controller in this order > or did you experience it otherwise? > it would surprise me because it works this way since several years in > my apps. > > On 10 Aug., 15:01, vcrack

Why cake not build a good procedure for load components behaviour , help ?

2011-08-10 Thread vcrack
Hello all, my name Jan.. I'm Indonesian.. I've used cake in my projects.. I've following cake since in cake 1.1.8 till now. currently, I'm develop project which a lot of feature and I think in plugin.. cause, plugin is more independent, I guess. But, I have a question.. Why cake doesn't make a fu

Re: help me about association query

2010-03-18 Thread vcrack
gory->find('all', array('contain'=>array('Category'), > 'conditions' => array('Business.city' => $city))); > > -Original Message- > From: cake-php@googlegroups.com [mailto:cake-...@googlegroups.com] On Behalf > > Of vcra

Re: help me about association query

2010-03-17 Thread vcrack
;Category'))); > > The contain clause will make sure to limit your search results to have only > categories (as well as the businesses) in the results. > > -Original Message- > From: cake-php@googlegroups.com [mailto:cake-...@googlegroups.com] On Behalf > > Of vcrac

help me about association query

2010-03-17 Thread vcrack
my code I have model Business and model category. i want to find business for all category but from X city.. $this->Business->Category->find('all', array('conditions' => array('Business.city' => $city))); error message : SQL Error: 1054: Unknown column 'Business.city' in 'where clause' I'm sure

getParent cakephp 1.2.x

2010-02-22 Thread vcrack
hii all, how to get a parent group of user. in cake 1.1.x I use $someone = $aro->getParent($userId); how do it in cake 1.2 ? thx.. :) Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are sub