* @package ISSO
*/
-require_once(ISSO . '/PrinterElement.php');
+require_once(ISSO . '/PrinterAbstract.php');
/**
* Base Printer Element
* @package ISSO
*
*/
-class BSPrinterBaseElement extends BSPrinterElement
+class BSPrinterElement extends BSPrinterAbstract
{
/**
* The name of the element
{
if (!in_array($this->type, array('checkbox', 'radio', 'option')))
{
- throw new Exception('BSPrinterBaseElement::setActive() can only be used on elements of type checkbox, radio, or option');
+ throw new Exception('BSPrinterElement::setActive() can only be used on elements of type checkbox, radio, or option');
}
$this->active = $active;
}
case 'textarea':
if (!isset($this->style['height']) || !isset($this->style['width']))
{
- throw new Exception('BSPrinterBaseElement of type "textarea" require a "height" and "width" style attribute');
+ throw new Exception('BSPrinterElement of type "textarea" require a "height" and "width" style attribute');
}
return '<textarea' . $name . ' cols="50" rows="2"' . $this->_prepareStyle() . $accesskey . '>' . $this->value . '</textarea>';