/************************************************************
* CREATE A IMAGE LINK
* ***********************************************************
*
*
*
*
************************************************************/
public function imageLink($image, $imageOptions = array(), $url, $linkOptions = array('escape' => false)){
return $this->Html->link($this->Html->image($image, $imageOptions), $url, $linkOptions);
}
<?php echo $this->Html->imageLink('', array(), '/');?>
Not a big deal but it beats the whole shit you hav to type out.
No comments:
Post a Comment