phpPeanuts  2.2.0
phpPeanuts framework
 All Data Structures Namespaces Files Functions Variables
ButtonPart Class Reference

Inherits PntButtonPart.

Additional Inherited Members

- Public Member Functions inherited from PntButtonPart
 __construct ($whole, $requestData, $caption, $script, $ghost=false, $width=null)
 
 setMinLength ($value)
 
 setBaseWidth ($value)
 
 setWidthMultiplier ($value)
 
 setCssClass ($value)
 
 getName ()
 
 printBody ($args=null, $type=null)
 
 printButton ($disabled, $width, $cssClass, $script, $caption, $type, $id)
 
 getButtonClass ($type)
 
- Static Public Member Functions inherited from PntPage
static getInfoStyleOk ()
 
static getInfoStyleError ()
 
static getInfoStyleWarning ()
 
- Data Fields inherited from PntButtonPart
 $caption
 
 $script
 
 $ghost
 
 $width
 
 $minLength = 8
 
 $baseWidth = 24
 
 $widthMultiplier = 6
 
 $cssClass = 'funkyButton'
 
 $buttonName = ''
 

Detailed Description

Part that outputs a button in html. Used by ButtonsPanel.

This concrete subclass is here to keep de application developers code (including localization overrides) separated from the framework code.

See Also
http://www.phppeanuts.org/site/index_php/Menu/178 Framework code is in * Framework code is in superclass. This class may be copied to an application folder to make application specific overrides.
http://www.phppeanuts.org/site/index_php/Pagina/65

The documentation for this class was generated from the following file: