cvs: pear /HTML_Page Page.php package.xml

From: Date: Fri, 13 Jun 2003 18:03:26 +0000
Subject: cvs: pear /HTML_Page Page.php package.xml
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-10946@lists.php.net to get a copy of this message
thesaur Fri Jun 13 14:03:26 2003 EDT Modified files: /pear/HTML_Page Page.php package.xml Log: prepare 2.0.0b1 release Index: pear/HTML_Page/Page.php diff -u pear/HTML_Page/Page.php:1.2 pear/HTML_Page/Page.php:1.3 --- pear/HTML_Page/Page.php:1.2 Fri Jun 13 13:57:57 2003 +++ pear/HTML_Page/Page.php Fri Jun 13 14:03:25 2003 @@ -17,7 +17,7 @@ // | Klaus Guenther <klaus@capitalfocus.org> | // +----------------------------------------------------------------------+ // -// $Id: Page.php,v 1.2 2003/06/13 17:57:57 thesaur Exp $ +// $Id: Page.php,v 1.3 2003/06/13 18:03:25 thesaur Exp $ require_once 'PEAR.php'; require_once 'HTML/Common.php'; @@ -145,7 +145,7 @@ * * @author Adam Daniel <adaniel1@eesus.jnj.com> * @author Klaus Guenther <klaus@capitalfocus.org> - * @version 2.0.0b1 + * @version 2.0 * @since PHP 4.0.3pl1 */ class HTML_Page extends HTML_Common { @@ -259,7 +259,7 @@ $commonVersion = 1.7; if (HTML_Common::apiVersion() < $commonVersion) { return PEAR::raiseError("HTML_Page version " . $this->apiVersion() . " requires " . - "HTML_Common version $commonVersion or greater.", 0, PEAR_ERROR_TRIGGER); + "HTML_Common version 1.2 or greater.", 0, PEAR_ERROR_TRIGGER); } if ($attributes) { @@ -510,10 +510,10 @@ * It is possible to add objects, strings or an array of strings and/or objects * Objects must have a toString method. * - * @param mixed $content New &lt;body&gt; tag content. + * @param mixed &$content New &lt;body&gt; tag content. * @access public */ - function addBodyContent($content) + function addBodyContent(&$content) { $this->_body[] =& $content; } // end addBodyContent Index: pear/HTML_Page/package.xml diff -u pear/HTML_Page/package.xml:1.2 pear/HTML_Page/package.xml:1.3 --- pear/HTML_Page/package.xml:1.2 Fri Jun 13 12:16:46 2003 +++ pear/HTML_Page/package.xml Fri Jun 13 14:03:25 2003 @@ -33,6 +33,8 @@ <date>2003-06-13</date> <state>beta</state> <notes> +Note: This release breaks BC! + This beta release is completely XHTML compliant, and has some great features: * Line ending style * Full charset support

« previous php.pear.cvs (#10946) next »