PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » HTML » HTML_Page » Bug #1562

function 'setBodyContent()'

Details

Submitted2004-06-06 15:25 UTC
Fromrmpp at gmx dot net
StatusWont fix
PackageHTML_Page
PHP Version4.3.4
OSLinux
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