STPHPObject | --STPHPComponent | --STPHPTable | --STPHPToolbar
Located in File: Program_Root/stphptoolbar.php
Can contain every type of component.
stphplib
Roberto Gerola <roberto.gerola@speedtech.it>
0.8
Class Variable Summary |
$buttons
The list of buttons Default Value:
|
Inherited Class Variable Summary | |||||||||||||||
Inherited From Class STPHPTable
|
|||||||||||||||
Inherited From Class STPHPComponent
|
|||||||||||||||
Inherited From Class STPHPObject
|
Inherited Method Summary | ||||||||||||||||||||||||||||||||||||||
Inherited From Class STPHPTable
|
||||||||||||||||||||||||||||||||||||||
Inherited From Class STPHPComponent
|
||||||||||||||||||||||||||||||||||||||
Inherited From Class STPHPObject
|
Method Summary |
STPHPForm constructor STPHPToolbar ( $name )
Creates the object |
void addButton ( &$button )
Adds a button to the toolbar |
void dtor ( )
Destructor |
integer getNumOfButtonByName ( $name )
Gets the button index from its name |
void setConfiguration ( $configuration )
Load the attributes from a STPHPXMLElement object |
string write ( )
Designs the object at runtime |
Variable Detail |
private
Method Detail |
STPHPForm constructor STPHPToolbar ( $name )
Creates the object- string $name: the name of the form used in NAME tag
public
void addButton ( &$button )
Adds a button to the toolbar- STPHPComponent &$button:
public
void dtor ( )
Overrides: STPHPTable::dtor()
DestructorDestroys all the resources associated with the object
public
integer getNumOfButtonByName ( $name )
Gets the button index from its name- string $name: the name of the button
the index of the button
public
void setConfiguration ( $configuration )
Load the attributes from a STPHPXMLElement object- STPHPXMLElement $configuration:
public
string write ( )
Overrides: STPHPTable::write()
Designs the object at runtimeAvailable attributes : - VISIBLE : defines if the component must be designed or not - ALIGNMENT : defines the alignment of the toolbar (HORIZONTAL|VERTICAL - HORIZONTAL is the default)
the code that represents the object at runtime
private