Querying / filtering an array done by find('threaded')

2009-03-30 Thread Tokasa
Hi, I got a little problem how to get only specific branch of categories in my threaded array. Imagine self-joined table with categories joined by parent ID. e.g. e-shop sections like Bikes, Electronics, Vines, ... etc.. Each of them have its own categories, who have its own categories, etc...

Re: PHP IDEs

2009-09-09 Thread Tokasa
Hi Bob, I use on my Mac Eclipse with PHP support. http://www.eclipse.org/pdt/ It does not come with build-in cakes support but it is good for me. Anyway you can put cake's library in build path and you get also suggestion of cake core methods... Tomas On Sep 9, 5:18 pm, Bob Albert wrote: > I'v

Re: PHP IDEs

2009-09-10 Thread Tokasa
I you will go for Eclipse...check this outhttp:// bakery.cakephp.org/articles/view/setting-up-eclipse-to-work-with-cake Tomas On Sep 9, 6:00 pm, Tokasa wrote: > Hi Bob, > I use on my Mac Eclipse with PHP support.http://www.eclipse.org/pdt/ > > It does not come with build-in c

Re: how to call method from another controller?

2009-09-10 Thread Tokasa
Hi Miles, What is wrong on Mukhamad's idea? But what would you suggest, if you'd like to call some other controller's method but you dont want to put it globaly in app_controller?? Thanks Tomas On Sep 9, 6:18 pm, Miles J wrote: > Do not listen to Mukhamad Ikhsan, that way is extremely wrong. >

Re: app problems after upgrading cake to newer versions.. [within 1.2.4.xx] ?

2009-09-10 Thread Tokasa
ould appreciate if anybody can > > help me out :) > > > In some specific part PHP (not even cake I guess) gives me strange > > error. > > > > > Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to > > allocate 19456 bytes) in /Users/tok

Re: app problems after upgrading cake to newer versions.. [within 1.2.4.xx] ?

2009-09-10 Thread Tokasa
On Sep 10, 11:55 am, Tokasa wrote: > Hi Bert, > thanks for your reply. > > I have tried to raise memory limit from 8MB to 9MB and it works then > OK > > Anyway do you have any idea if 9MB memory usage is absolutely NORMAL > or I have to optimize something?? > I kn

Re: app problems after upgrading cake to newer versions.. [within 1.2.4.xx] ?

2009-09-10 Thread Tokasa
rt working with shells/scripts that consume lot's of data. > > Seeing that you only read 2 records from the database I suspect there > is some functionality inside the controller/view that consumes lot's > of memory. > > On Thu, Sep 10, 2009 at 11:58 AM, Tokasa wrote: &