Create a image button Tag.
App::Html()->imageButtonTag(Name,Src,[Option]);
Parameter |
Description |
---|---|
Name |
Name of the Input element |
Src |
Image Src |
Options |
HTML Attributes |
See bellow example:
echo App::Html()
->imageButtonTag(
"data[Buttonl][submit]",
"http://www.example.com/img/button.jpg",
array(
"id"=>"button"
)
);
/*
Return value
<input type="image" name="data[Buttonl][submit]" value="" id="button" />
*/