HTML_Page Problem
| From: | Sonny | Date: | Fri, 05 Sep 2003 23:44:24 +0000 |
| Subject: | HTML_Page Problem | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-7611@lists.php.net to get a copy of this message | ||
Hello Folks,
as described in the docs from HTML/page:
$page = new HTML_Page();
$page->addBodyContent("Hallo");
...
I won't to use it in a class so like following:
require 'HTML/Page.php';
class PageManager extends HTML_Page {
function PageManager() {}
function body( $string ) {
return $this->addBodyContent( $string ); <-- Line 60
}
and so on...
}
No when I Try to load my Page I get following Error:
Fatal error: Call to undefined function: addbodycontent() in
/var/www/html/../lib/classes/PageManager.php on line 60
Does have something Changed?
Thanks in forward.
Cheers
_Peter