\*=====================================================================*/
/**
-* Printer Root Element (PrinterRootAbstract.php)
-*
-* @package ISSO
-*/
+ * Printer Root Element (PrinterRootAbstract.php)
+ *
+ * @package ISSO
+ */
require_once(ISSO . '/PrinterAbstract.php');
/**
-* Printer Root Element
-*
-* This is a root element class. That means that elements can be printed
-* directly into this and this can stand alone as a page. However, that
-* does not mean that all root elements produce valid XHTML.
-*
-* @author Blue Static
-* @copyright Copyright (c)2005 - 2008, Blue Static
-* @package ISSO
-*
-*/
+ * Printer Root Element
+ *
+ * This is a root element class. That means that elements can be printed
+ * directly into this and this can stand alone as a page. However, that
+ * does not mean that all root elements produce valid XHTML.
+ *
+ * @author Blue Static
+ * @copyright Copyright (c)2005 - 2008, Blue Static
+ * @package ISSO
+ *
+ */
abstract class BSPrinterRootAbstract extends BSPrinterAbstract
{
/**
- * Child elements
- * @var string
- */
+ * Child elements
+ * @var string
+ */
protected $children = array();
/**
- * Returns all of the children painted in the right order
- */
+ * Returns all of the children painted in the right order
+ */
protected abstract function _paintChildren();
- // ###################################################################
/**
- * Adds a child node to the element
- *
- * @param BSPrinterAbstract A child element
- *
- * @return fluent interface
- */
+ * Adds a child node to the element
+ *
+ * @param BSPrinterAbstract A child element
+ *
+ * @return fluent interface
+ */
public function addChild(BSPrinterAbstract $child)
{
$this->children[] = $child;