On Jan 29, 12:09 pm, "Matias Lespiau" <[EMAIL PROTECTED]> wrote:
> I would do something like this:
> custom_email_component.php in my controllers/components
> App::import('Component', 'Email');
> class CustomEmailComponent extends EmailComponent {
> function __db() {
> // your code
> }
> }
> By setting $this->delivery to 'db' you method would be called instead of the
> others.
That was what I was going to do first however I didn't even try it
after realizing EmailComponent wouldn't call the __db method
(parent::__db()) due to it's construction.
I may be wrong in this assumption and I'll do a test after I finish my
pizza to verify.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---