Looking less positive, I'm afraid.

Since cake tries to instantiate all components in the $components
array, but an abstract class cannot be instantiated, it doesn't seem
like there is any straighforward way of using abstract classes within
cake (short of treating them as vendors).

One kludge might be to leave it in the components folder, but just
don't put it in the $components array in your controller, then do
everything manually yourself.

1. App::import() it,
2. instantiate it,
3. run the startup() and
4. insert it into a class variable inside the controller object, using
the component name.

Basically you are doing what cake does, but from then on, you can
access it as you would any component.

Unfortunately that's not much better than putting it in app/vendors,
and treating it like any other external code.

Any better ideas?

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to