1st, sorry for mistakes I made in my last posts yesterday, was tired
cause of work :p

2nd, I'm learning CakePHP for a week, can't yet imagine an action
using 2 components (1 included in AppController and 1 in
ThingsController) to be sure of what I'm testing

but if you have the answer, I'm interrested in

logically, this can't work cause variable is re-defined

// AppController
var $helpers = array('Html', 'Form', 'Javascript');
// ThingsController
var $helpers = array('Text');

but for following code, dunno, may be, answer ?? :)

// AppController
var $helpers = array('Html', 'Form', 'Javascript');
// ThingsController
$helpers[] = 'Text';

guess it's the same behaviour for $helpers and $components... ?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to