Are you using 1.2?
If you are using it:
class OrderComponent extends Object {
var $components = array('RequestHandler');
}
On Mar 26, 5:11 am, wDevil <[EMAIL PROTECTED]> wrote:
> class OrderComponent extends Object {
> private $Orders;
> private $OrderComponents;
>
> private $RequestHandler;
>
> function initialize() {
> App::import('Model','Orders');
> App::import('Model','OrderComponents');
> $this->Orders=& new Orders();
> $this->OrderComponents=& new OrderComponents();
>
> App::import('Component','RequestHandler');
> $this->requestHandler=& new RequestHandler();
> ...}
>
> Error:
> Fatal error: Class 'RequestHandler' not found in ...
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---