STPHPObject | --STPHPComponent | --STPHPTable | --STPHPControlWithCaption | --STPHPImageWithCaption | --STPHPBtnImage
Located in File: Program_Root/stphpbtnimage.php
It's possible to associate an image to a button and define a flat effect
stphplib
Roberto Gerola <roberto.gerola@speedtech.it>
0.8
Class Variable Summary |
Inherited Class Variable Summary | |||||||||||||||
Inherited From Class STPHPControlWithCaption
|
|||||||||||||||
Inherited From Class STPHPTable
|
|||||||||||||||
Inherited From Class STPHPComponent
|
|||||||||||||||
Inherited From Class STPHPObject
|
Inherited Method Summary | ||||||||||||||||||||||||||||||||||||||
Inherited From Class STPHPImageWithCaption
|
||||||||||||||||||||||||||||||||||||||
Inherited From Class STPHPControlWithCaption
|
||||||||||||||||||||||||||||||||||||||
Inherited From Class STPHPTable
|
||||||||||||||||||||||||||||||||||||||
Inherited From Class STPHPComponent
|
||||||||||||||||||||||||||||||||||||||
Inherited From Class STPHPObject
|
Method Summary |
STPHPForm constructor STPHPBtnImage ( $name )
Creates the object |
void setConfiguration ( &$configuration )
Load the attributes from a STPHPXMLElement object |
string write ( )
Designs the object at runtime |
Variable Detail |
Method Detail |
STPHPForm constructor STPHPBtnImage ( $name )
Creates the object- string $name: the name of the form used in NAME tag
public
void setConfiguration ( &$configuration )
Load the attributes from a STPHPXMLElement object- STPHPXMLElement $configuration:
public
string write ( )
Designs the object at runtimeAvailable attributes : - VISIBLE : defines if the component must be designed or not - FLAT : defines if the button has the flat appearance - IMAGE : defines the image for the button (used when FLAT option is not active) - IMAGE_ON : defines the image when the cursor is over the button (used when FLAT option is active) - IMAGE_OFF : defines the image when the cursor is not over the button (used when FLAT option is active) - IMAGE_DOWN : defines the image when the button is pressed - CAPTION : defines the caption of the button - LINK : defines the link for the button - LINK_TARGET : defines the target for the link - ONCLICK : defines the onclick event hook - CLASS : defines the CSS class
the code that represents the object at runtime
private