-<?php
-// vim: set expandtab tabstop=4 softtabstop=4 shiftwidth=4:
-// +--------------------------------------------------------------------+
-// | BIFE - Buil It FastEr |
-// +--------------------------------------------------------------------+
-// | This file is part of BIFE. |
-// | |
-// | BIFE is free software; you can redistribute it and/or modify it |
-// | under the terms of the GNU General Public License as published by |
-// | the Free Software Foundation; either version 2 of the License, or |
-// | (at your option) any later version. |
-// | |
-// | BIFE is distributed in the hope that it will be useful, but |
-// | WITHOUT ANY WARRANTY; without even the implied warranty of |
-// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
-// | General Public License for more details. |
-// | |
-// | You should have received a copy of the GNU General Public License |
-// | along with Hooks; if not, write to the Free Software Foundation, |
-// | Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
-// +--------------------------------------------------------------------+
-// | Created: Wed May 17 18:16:54 ART 2003 |
-// | Authors: Leandro Lucarella <luca@lugmen.org.ar> |
-// +--------------------------------------------------------------------+
-//
-// $Id$
-//
-
-// +X2C includes
-require_once 'BIFE/Container.php';
-// ~X2C
-
-// +X2C Class 7 :Generic
-/**
- * This is a generic and simple BIFE_Container implementation.
- *
- * @access public
- * @abstract
- */
-class BIFE_Generic extends BIFE_Container {
- // ~X2C
-
- // +X2C Operation 10
- /**
- * Constructor.
- *
- * @param array $attrs Attributes.
- *
- * @return void
- * @access public
- */
- function BIFE_Generic($attrs) // ~X2C
- {
- $this->__construct($attrs);
- }
- // -X2C
-
- // +X2C Operation 51
- /**
- * Constructor.
- *
- * @param array $attrs Attributes.
- *
- * @return void
- * @access public
- */
- function __construct($attrs) // ~X2C
- {
- parent::__construct($attrs);
- }
- // -X2C
-
- // +X2C Operation 11
- /**
- * Add contents to the container.
- *
- * @param mixed &$contents Contents to add.
- *
- * @return void
- * @access public
- */
- function addContents(&$contents) // ~X2C
- {
- if (is_string($contents)) {
- $contents = trim($contents);
- }
- if ($contents) {
- parent::addContents($contents);
- }
- }
- // -X2C
-
- // +X2C Operation 12
- /**
- * Renders the widget.
- *
- * @param HTML_Template_HIT &$template Template to use to render the widget.
- *
- * @return string
- * @access public
- */
- function render(&$template) // ~X2C
- {
- $this->attrs['CONTENTS'] = parent::render($template);
- $template->setGroup();
- $out = $template->parse(get_class($this), $this->attrs);
- $template->unsetGroup();
- return $out;
- }
- // -X2C
-
-} // -X2C Class :Generic
-
-?>
\ No newline at end of file