cvs: phd(PHD_0_4) /themes/php phpdotnet.php

From: Date: Wed, 31 Dec 2008 15:26:09 +0000
Subject: cvs: phd(PHD_0_4) /themes/php phpdotnet.php
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-2893@lists.php.net to get a copy of this message
bjori Wed Dec 31 15:26:09 2008 UTC Modified files: (Branch: PHD_0_4) /phd/themes/php phpdotnet.php Log: Err.. but we do need that WS http://cvs.php.net/viewvc.cgi/phd/themes/php/phpdotnet.php?r1=1.53.2.4.2.6&r2=1.53.2.4.2.7&diff_format=u Index: phd/themes/php/phpdotnet.php diff -u phd/themes/php/phpdotnet.php:1.53.2.4.2.6 phd/themes/php/phpdotnet.php:1.53.2.4.2.7 --- phd/themes/php/phpdotnet.php:1.53.2.4.2.6 Wed Dec 31 15:19:16 2008 +++ phd/themes/php/phpdotnet.php Wed Dec 31 15:26:09 2008 @@ -1,11 +1,11 @@ <?php -/* $Id: phpdotnet.php,v 1.53.2.4.2.6 2008/12/31 15:19:16 bjori Exp $ */ +/* $Id: phpdotnet.php,v 1.53.2.4.2.7 2008/12/31 15:26:09 bjori Exp $ */ abstract class phpdotnet extends PhDTheme { protected $elementmap = array( 'acronym' => 'format_suppressed_tags', 'function' => 'format_suppressed_tags', - 'methodname' => 'format_suppressed_tags', + 'methodname' => 'format_methodname', 'classname' => 'format_suppressed_tags', 'interfacename' => 'format_suppressed_tags', 'link' => 'format_link', @@ -313,6 +313,12 @@ } return '</var>'; } + function format_methodname($open, $tag) { + if ($open) { + return ' <span class="' . $tag. '">'; + } + return "</span>"; + }

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