X-Git-Url: https://git.llucax.com/software/bife/bife-all.git/blobdiff_plain/8c84fa1ebadd78700189052f216a98a9546edc60..202cf371076f9aba5c308830a9d92d08681440ed:/core/BIFE/Container.php diff --git a/core/BIFE/Container.php b/core/BIFE/Container.php index a1540b8..2ddc24d 100644 --- a/core/BIFE/Container.php +++ b/core/BIFE/Container.php @@ -39,44 +39,15 @@ require_once 'BIFE/Widget.php'; */ class BIFE_Container extends BIFE_Widget { /** + * Widget contents. + * * @var array $contents * @access public */ - var $contents; + var $contents = array(); // ~X2C - // +X2C Operation 48 - /** - * Constructor. - * - * @param array $attrs Attributes. - * - * @return void - * @access public - */ - function BIFE_Container($attrs) // ~X2C - { - $this->__construct($attrs); - } - // -X2C - - // +X2C Operation 50 - /** - * Constructor. - * - * @param array $attrs Attributes. - * - * @return void - * @access public - */ - function __construct($attrs) // ~X2C - { - parent::__construct($attrs); - $this->contents = array(); - } - // -X2C - // +X2C Operation 6 /** * Adds contents to the container. @@ -105,7 +76,7 @@ class BIFE_Container extends BIFE_Widget { * @return string * @access public */ - function render(&$template) // ~X2C + function renderContents(&$template) // ~X2C { $c = count($this->contents); $o = ''; @@ -120,6 +91,7 @@ class BIFE_Container extends BIFE_Widget { } // -X2C + } // -X2C Class :Container ?> \ No newline at end of file