Home » HTML » HTML_Page » Bug #1562
function 'setBodyContent()'
Details
| Submitted | 2004-06-06 15:25 UTC |
|---|---|
| From | rmpp at gmx dot net |
| Status | Wont fix |
| Package | HTML_Page |
| PHP Version | 4.3.4 |
| OS | Linux |
| Roadmaps | (Not assigned) |
Comments
[2004-06-06 15:25 UTC] rmpp at gmx dot net
Description:
------------
Package: HTML_Page v2.0.0RC2 (beta)
Everything works fine but the 'setBodyContent()' function.
The provided code has been taken from your online-manual.
Reproduce code:
---------------
$error="some error";
if ($error) {
$p->setTitle("Error!");
$p->setBodyContent("<p>Houston, we have a problem: $error</p>");
$p->display();
die;
}
Expected result:
----------------
Fatal error: Call to undefined function: setbodycontent() in /srv/www/htdocs/index.php on line 53