[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-doc-cvs
Subject:    [DOC-CVS] cvs: phd /themes/pear peartheme.php  /themes/php phpdotnet.php
From:       "Christian Weiske" <cweiske () php ! net>
Date:       2009-01-26 21:46:05
Message-ID: cvscweiske1233006365 () cvsserver
[Download RAW message or body]

cweiske		Mon Jan 26 21:46:06 2009 UTC

  Modified files:              
    /phd/themes/pear	peartheme.php 
    /phd/themes/php	phpdotnet.php 
  Log:
  Tell us where the qandaset errors come from
  
  
http://cvs.php.net/viewvc.cgi/phd/themes/pear/peartheme.php?r1=1.24&r2=1.25&diff_format=u
                
Index: phd/themes/pear/peartheme.php
diff -u phd/themes/pear/peartheme.php:1.24 phd/themes/pear/peartheme.php:1.25
--- phd/themes/pear/peartheme.php:1.24	Mon Jan 26 21:32:31 2009
+++ phd/themes/pear/peartheme.php	Mon Jan 26 21:45:58 2009
@@ -252,6 +252,11 @@
     */
     public $phd_pearapi_urlprefix = 'http://pear.php.net/package/';
 
+    /**
+    * Name of the ID currently being processed
+    *
+    * @var string
+    */
     protected $CURRENT_ID = "";
 
     /* Current Chunk settings */
@@ -933,6 +938,7 @@
         $doc->preserveWhitespace = false;
         $doc->loadXML(html_entity_decode(str_replace('&', '&amp;amp;', \
"<div>$xml</div>"), ENT_QUOTES, 'UTF-8'));  if ($err = libxml_get_errors()) {
+            echo 'qandaset xml problem in ' . $this->CURRENT_ID . "\n";
             print_r($err);
             libxml_clear_errors();
         }
http://cvs.php.net/viewvc.cgi/phd/themes/php/phpdotnet.php?r1=1.63&r2=1.64&diff_format=u
                
Index: phd/themes/php/phpdotnet.php
diff -u phd/themes/php/phpdotnet.php:1.63 phd/themes/php/phpdotnet.php:1.64
--- phd/themes/php/phpdotnet.php:1.63	Wed Dec 31 15:54:43 2008
+++ phd/themes/php/phpdotnet.php	Mon Jan 26 21:46:04 2009
@@ -1,5 +1,5 @@
 <?php
-/*  $Id: phpdotnet.php,v 1.63 2008/12/31 15:54:43 bjori Exp $ */
+/*  $Id: phpdotnet.php,v 1.64 2009/01/26 21:46:04 cweiske Exp $ */
 
 abstract class phpdotnet extends PhDTheme {
     protected $elementmap = array(
@@ -143,6 +143,11 @@
     protected $chunked = true;
     protected $lang = "en";
 
+    /**
+    * Name of the ID currently being processed
+    *
+    * @var string
+    */
     protected $CURRENT_ID = "";
 
     /* Current Chunk settings */
@@ -305,7 +310,7 @@
                 }
                 $href = '<a href="' .$href. '">';
             }
-            
+
             if (
                 $this->cchunk["fieldsynopsis"]["modifier"] == "const" ||
                 (
@@ -459,7 +464,7 @@
             }
         }
         $content .= "</div>\n";
-        
+
         return $content;
     }
     public function format_exception_chunk($open, $name, $attrs, $props) {
@@ -523,17 +528,17 @@
         /* ignore it */
         return "";
     }
-    
+
     public function format_classsynopsis_methodsynopsis_methodname_text($value, \
                $tag) {
         $display_value = \
$this->format->format_classsynopsis_methodsynopsis_methodname_text($value, $tag);  \
return $this->format_function_text($value, $tag, $display_value);  }
-    
+
     public function format_function_text($value, $tag, $display_value = null) {
         if ($display_value === null) {
             $display_value = $value;
         }
-        
+
         $ref = strtolower(str_replace(array("_", "::", "->"), array("-", "-", "-"), \
$value));  if (($filename = $this->getRefnameLink($ref)) !== null) {
             if ($this->CURRENT_ID !== $filename) {
@@ -630,7 +635,7 @@
         }
         return "</b></p>";
     }
- 
+
     /* FIXME: This function is a crazy performance killer */
     public function qandaset($stream) {
         $xml = stream_get_contents($stream);
@@ -640,6 +645,7 @@
         $doc->preserveWhitespace = false;
         $doc->loadXML(html_entity_decode(str_replace("&", "&amp;amp;", \
"<div>$xml</div>"), ENT_QUOTES, "UTF-8"));  if ($err = libxml_get_errors()) {
+            echo 'qandaset xml problem in ' . $this->CURRENT_ID . "\n";
             print_r($err);
             libxml_clear_errors();
         }



-- 
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic