Try $this->getDataSource()->connection in model.

On Jan 12, 1:36 pm, "[email protected]" <[email protected]> wrote:
> I'm trying to integrate a vendor class into my app, and the vendor
> class needs the link resource of MySQL connection to operate the
> database. Is it possible to get the link resource of MySQL connection?
>
> I have googled awhile but I have not found anything helpful. Anyone
> knows?
--~--~---------~--~----~------------~-------~--~----~
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