yeah. good idea. thanks!
I was just curious to know there was something in the core already.
Appreciate it!
On Feb 27, 1:26 pm, "Daniel Hofstetter" <[EMAIL PROTECTED]> wrote:
> That's the correct way. If you want it shorter, you could write your
> own helper. Something like
>
> class ImageHelper extends AppHelper {
> var $helpers = array('Html');
>
> function link($file) {
> return $this->Html->link($this->Html->image($file, array('border'
> => '0')), '/',
> null, null, false);
>
> }
> }
>
> should do the trick (not tested).
>
> HTH
>
> --
> Daniel Hofstetterhttp://cakebaker.42dh.com
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---