logo       

CVS: phpwiki/lib XmlElement.php,1.36,1.37: msg#00124

web.wiki.phpwiki.checkins

Subject: CVS: phpwiki/lib XmlElement.php,1.36,1.37

Update of /cvsroot/phpwiki/phpwiki/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30312/lib

Modified Files:
XmlElement.php
Log Message:
case-sensitive for php5

Index: XmlElement.php
===================================================================
RCS file: /cvsroot/phpwiki/phpwiki/lib/XmlElement.php,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -2 -b -p -d -r1.36 -r1.37
--- XmlElement.php 6 Dec 2004 19:49:56 -0000 1.36
+++ XmlElement.php 25 Jan 2005 07:04:27 -0000 1.37
@@ -7,6 +7,6 @@
*
* FIXME: This module is very php5 sensitive: It was fixed for 1.3.9,
- * but is again broken with the 1.3.11
- * allow_call_time_pass_reference clean fixes
+ * but is again broken with the 1.3.11.
+ * With allow_call_time_pass_reference clean fixes
*/

@@ -85,9 +85,9 @@ class XmlContent
foreach ($this->_content as $item) {
if (is_object($item)) {
- if (method_exists($item, 'printxml'))
+ if (method_exists($item, 'printXML'))
$item->printXML();
- elseif (method_exists($item, 'asxml'))
+ elseif (method_exists($item, 'asXML'))
echo $item->asXML();
- elseif (method_exists($item, 'asstring'))
+ elseif (method_exists($item, 'asString'))
echo $this->_quote($item->asString());
else
@@ -103,7 +103,7 @@ class XmlContent
foreach ($this->_content as $item) {
if (is_object($item)) {
- if (method_exists($item, 'asxml'))
+ if (method_exists($item, 'asXML'))
$xml .= $item->asXML();
- elseif (method_exists($item, 'asstring'))
+ elseif (method_exists($item, 'asString'))
$xml .= $this->_quote($item->asString());
else
@@ -120,7 +120,7 @@ class XmlContent
foreach ($this->_content as $item) {
if (is_object($item)) {
- if (method_exists($item, 'aspdf'))
+ if (method_exists($item, 'asPDF'))
$pdf .= $item->asPDF();
- elseif (method_exists($item, 'asstring'))
+ elseif (method_exists($item, 'asString'))
$pdf .= $this->_quote($item->asString());
else
@@ -137,5 +137,5 @@ class XmlContent
foreach ($this->_content as $item) {
if (is_object($item)) {
- if (method_exists($item, 'asstring'))
+ if (method_exists($item, 'asString'))
$val .= $item->asString();
else
@@ -511,10 +511,10 @@ function PrintXML ($val /* , ... */ ) {
}
elseif (is_object($val)) {
- if (method_exists($val, 'printxml'))
+ if (method_exists($val, 'printXML'))
$val->printXML();
- elseif (method_exists($val, 'asxml')) {
+ elseif (method_exists($val, 'asXML')) {
echo $val->asXML();
}
- elseif (method_exists($val, 'asstring'))
+ elseif (method_exists($val, 'asString'))
echo XmlContent_quote($val->asString());
else
@@ -543,7 +543,7 @@ function AsXML ($val /* , ... */) {
}
elseif (is_object($val)) {
- if (method_exists($val, 'asxml'))
+ if (method_exists($val, 'asXML'))
return $val->asXML();
- elseif (method_exists($val, 'asstring'))
+ elseif (method_exists($val, 'asString'))
return XmlContent_quote($val->asString());
else
@@ -576,5 +576,5 @@ function AsString ($val) {
}
elseif (is_object($val)) {
- if (method_exists($val, 'asstring'))
+ if (method_exists($val, 'asString'))
return $val->asString();
else
@@ -605,4 +605,7 @@ function fmt ($fs /* , ... */) {

// $Log$
+// Revision 1.37 2005/01/25 07:04:27 rurban
+// case-sensitive for php5
+//
// Revision 1.36 2004/12/06 19:49:56 rurban
// enable action=remove which is undoable and seeable in RecentChanges: ADODB
ony for now.



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise