//
// +X2C includes
-require_once 'BIFE/Generic.php';
+require_once 'BIFE/Root.php';
// ~X2C
// +X2C Class 14 :Page
*
* @access public
*/
-class BIFE_Page extends BIFE_Generic {
+class BIFE_Page extends BIFE_Root {
// ~X2C
// +X2C Operation 15
}
// -X2C
+ // +X2C Operation 93
+ /**
+ * Adds 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 90
+ /**
+ * Returns the rendered widget as a string.
+ *
+ * @param HTML_Template_Sigma &$template Template to use to render the widget.
+ *
+ * @return string
+ * @access public
+ */
+ function render(&$template) // ~X2C
+ {
+ $this->attrs['CONTENTS'] = parent::render($template);
+ $template->group = '';
+ return $template->parse('bife_page', $this->attrs);
+ }
+ // -X2C
+
} // -X2C Class :Page
-?>
\ No newline at end of file
+?>