cvs: phd(PHD_0_2) / config.php /themes/php phpdotnet.php

From: Date: Wed, 23 Jul 2008 18:31:49 +0000
Subject: cvs: phd(PHD_0_2) / config.php /themes/php phpdotnet.php
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-1901@lists.php.net to get a copy of this message
bjori Wed Jul 23 18:31:49 2008 UTC Modified files: (Branch: PHD_0_2) /phd config.php /phd/themes/php phpdotnet.php Log: Add support for phpdoc:exception http://cvs.php.net/viewvc.cgi/phd/config.php?r1=1.45.2.3&r2=1.45.2.4&diff_format=u Index: phd/config.php diff -u phd/config.php:1.45.2.3 phd/config.php:1.45.2.4 --- phd/config.php:1.45.2.3 Sat Jul 5 19:36:56 2008 +++ phd/config.php Wed Jul 23 18:31:49 2008 @@ -1,5 +1,5 @@ <?php -/* $Id: config.php,v 1.45.2.3 2008/07/05 19:36:56 loudi Exp $ */ +/* $Id: config.php,v 1.45.2.4 2008/07/23 18:31:49 bjori Exp $ */ /* {{{ PhD error & message handler */ @@ -140,6 +140,7 @@ ), 'chunk_extra' => array( "legalnotice" => true, + "phpdoc:exception" => true, ), 'index' => true, 'xml_root' => '.', http://cvs.php.net/viewvc.cgi/phd/themes/php/phpdotnet.php?r1=1.53&r2=1.53.2.1&diff_format=u Index: phd/themes/php/phpdotnet.php diff -u phd/themes/php/phpdotnet.php:1.53 phd/themes/php/phpdotnet.php:1.53.2.1 --- phd/themes/php/phpdotnet.php:1.53 Sun May 4 00:36:55 2008 +++ phd/themes/php/phpdotnet.php Wed Jul 23 18:31:49 2008 @@ -1,5 +1,5 @@ <?php -/* $Id: phpdotnet.php,v 1.53 2008/05/04 00:36:55 bjori Exp $ */ +/* $Id: phpdotnet.php,v 1.53.2.1 2008/07/23 18:31:49 bjori Exp $ */ abstract class phpdotnet extends PhDTheme { protected $elementmap = array( @@ -68,6 +68,7 @@ 'preface' => 'format_chunk', 'refentry' => 'format_chunk', 'reference' => 'format_container_chunk', + 'phpdoc:exception' => 'format_exception_chunk', 'sect1' => 'format_chunk', 'sect2' => 'format_chunk', 'sect3' => 'format_chunk', @@ -406,6 +407,10 @@ return $content; } + public function format_exception_chunk($open, $name, $attrs, $props) { + return $this->format_container_chunk($open, "reference", $attrs, $props); + } + public function format_container_chunk_title($open, $name, $attrs) { if ($open) { return "<h1>";

« previous php.doc.cvs (#1901) next »