generaly i do it somethong like that
require_once '../xhr_controller.php';
class SuggestsController extends XhrController {
public $components = array('Xhr');
public $helpers = array();
public $uses = array();
but still i see in debug app controler is active becouse script show
that
Nr Query Error Affected Num. rows Took (ms)
1 DESCRIBE `aros` 7 7 4
2 DESCRIBE `acos` 7 7 4
3 DESCRIBE `aros_acos` 7 7 7
4 DESCRIBE `comments` 7 7 3
5 DESCRIBE `users` 13 13 4
6 DESCRIBE `groups` 6 6 9
7 DESCRIBE `logs`
i dont understand why in my SuggestController extendts XhrController
extends Controler still load app controller
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" 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
-~----------~----~----~----~------~----~------~--~---