cvs: pear /CodeGen_PECL/PECL/Element Constant.php
| From: | Hartmut Holzgraefe | Date: | Mon, 21 Aug 2006 14:11:22 +0000 |
| Subject: | cvs: pear /CodeGen_PECL/PECL/Element Constant.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-41788@lists.php.net to get a copy of this message | ||
hholzgra Mon Aug 21 14:11:22 2006 UTC
Modified files:
/pear/CodeGen_PECL/PECL/Element Constant.php
Log:
Docbook output ws fix
http://cvs.php.net/viewvc.cgi/pear/CodeGen_PECL/PECL/Element/Constant.php?r1=1.5&r2=1.6&diff_format=u
Index: pear/CodeGen_PECL/PECL/Element/Constant.php
diff -u pear/CodeGen_PECL/PECL/Element/Constant.php:1.5
pear/CodeGen_PECL/PECL/Element/Constant.php:1.6
--- pear/CodeGen_PECL/PECL/Element/Constant.php:1.5 Thu Aug 17 17:05:14 2006
+++ pear/CodeGen_PECL/PECL/Element/Constant.php Mon Aug 21 14:11:22 2006
@@ -15,7 +15,7 @@
* @author Hartmut Holzgraefe <hartmut@php.net>
* @copyright 2005 Hartmut Holzgraefe
* @license http://www.php.net/license/3_0.txt
PHP License 3.0
- * @version CVS: $Id: Constant.php,v 1.5 2006/08/17 17:05:14 hholzgra Exp $
+ * @version CVS: $Id: Constant.php,v 1.6 2006/08/21 14:11:22 hholzgra Exp $
* @link http://pear.php.net/package/CodeGen
*/
@@ -302,7 +302,7 @@
* @return string DocBook XML snippet
*/
function docEntry($base) {
- return trim("
+ return "
<row>
<entry>
<constant
id='constant".strtolower(str_replace("_","-",$this->name))."'>{$this->name}</constant>
@@ -310,7 +310,7 @@
</entry>
<entry>{$this->value}</entry>
<entry>{$this->desc}</entry>
- </row>\n\n");
+ </row>\n\n";
}
/**