<?php
// Copyright (c) MetaClass, 2003-2008
// Licensed under the Academic Free License version 3.0
includeClass('', 'pnt/web/parts');
/** Part that outputs a button in html. Used by ButtonsPanel.
*
* This abstract superclass provides behavior for the concrete
* subclass ButtonPart in the root classFolder or in the application classFolder.
* To keep de application developers code (including localization overrides)
* separated from the framework code override methods in the
* concrete subclass rather then modify them here.
* @see http://www.phppeanuts.org/site/index_php/Menu/178
* @see http://www.phppeanuts.org/site/index_php/Pagina/65
* @package pnt/web/parts
*/
class PntButtonPart extends {
var $caption;
var $script;
var $ghost;
var $width;
var $minLength = 8;
var $baseWidth = 24;
var $widthMultiplier = 6;
var $cssClass = 'funkyButton'; //extended with 'Ghost' if the button is ghosted
var $buttonName = '';