image_buttonImage button.
A form elelement which behaves like a submit button, but takes the form of the given image
Located in /button-defs.php (line 212)
button_object | --button | --image_button
image_button
image_button
(string $action, [string $label = ""], [string $parms = ""], [string $onclick = ""], [string $src = ""], integer $width, integer $height, [string $alt = ""], string $border)
mixed
$border
= 0 (line 222)
Border size, pixels
mixed
$confirm_text
= "" (line 224)
Popup confirmation text to display on button click
mixed
$img
(line 214)
Image object for this button
mixed
$onclick_form_submit
= false (line 226)
Whether to allow form submit on-click
mixed
$target
= "" (line 216)
Target URL for a window to open when button clicked
mixed
$title
= "" (line 220)
Title/tooltip
mixed
$type
= "image" (line 218)
Form element type ID
Inherited from button
button::$accesskey
button::$confirmation
button::$onclick
Constructor
Use render() to render this element in your page.
This renders the image button as HTML. If we have onclick then we render this as a simple image with a javascript URL rather than a INPUT form element of type "image". This is done to cope with Netscape's lack of an onclick event handler for INPUT TYPE=IMAGE, and we don't use BUTTON since that's only HTML4.
Set the confirmation text to popup on click.
Sets the image to display for this button.
Usually these details are specified in the initial instantiation
Specific function for use with the rugbyvu framework. This causes a button click to open another browser window as a popup.
Inherited From button
button::button()
button::html()
button::set_confirmation()
button::set_onclick()
Documentation generated by phpDocumentor 1.3.0RC3