I think you'd need to extend HtmlHelper yourself and give it a class variable to set. In HtmlHelper::image() there's a $path var that's set but it's not a class var. If you changed it to use something like $this->img_path you could query the helper after calling your image() method.
On Mon, Sep 28, 2009 at 11:07 AM, Ernesto <[email protected]> wrote: > > Hello. > > i'm in a multi-app environment and my images could be in app/webroot/ > img or shared_items/vendors/img > > when i use HtmlHelper i write only the img's name... and then cake > searches for it in every img folder. > > is there any way to get the resultant path? i need it in TCPDF's image > method > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
