| // +--------------------------------------------------------------------+ // // $Id$ // // +X2C Class 3 :Widget /** * Base widget class. * * @access public * @abstract */ class BIFE_Widget { /** * Attribute list. * * @var array $attrs * @access protected */ var $attrs = array(); // ~X2C // +X2C Operation 126 /** * Constructor. * * @param array $attrs Attributes. * * @return void * @access public */ function BIFE_Widget($attrs) // ~X2C { $this->__construct($attrs); } // -X2C // +X2C Operation 127 /** * Constructor. * * @param array $attrs Attributes. * * @return void * @access public */ function __construct($attrs) // ~X2C { $this->attrs = $attrs; } // -X2C // +X2C Operation 4 /** * Renders the widget using a template returning a string with the results. * * @param HTML_Template_Sigma &$template Template object to render the widget. * * @return string * @access public * @abstract */ function render(&$template) // ~X2C { trigger_error('Method not implemented '.get_class($this). '::addContents().', E_USER_ERROR); } // -X2C } // -X2C Class :Widget ?>