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

From: Date: Sat, 15 Nov 2008 17:49:36 +0000
Subject: cvs: phd(PHD_0_4) / package.xml /themes/php phpdotnet.php
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-2558@lists.php.net to get a copy of this message
bjori Sat Nov 15 17:49:36 2008 UTC Modified files: (Branch: PHD_0_4) /phd package.xml /phd/themes/php phpdotnet.php Log: MFH: <interfacename> now automagically links to interfaces http://cvs.php.net/viewvc.cgi/phd/package.xml?r1=1.74.2.19.2.15&r2=1.74.2.19.2.16&diff_format=u Index: phd/package.xml diff -u phd/package.xml:1.74.2.19.2.15 phd/package.xml:1.74.2.19.2.16 --- phd/package.xml:1.74.2.19.2.15 Tue Nov 11 20:03:39 2008 +++ phd/package.xml Sat Nov 15 17:49:36 2008 @@ -53,6 +53,7 @@ <license uri="http://www.opensource.org/licenses/bsd-license.php">BSD Style</license> <notes> - Added support for orderedlist numeration. (Hannes) + - &lt;interfacename&gt; now automagically links to interfaces. (Hannes) </notes> <contents> http://cvs.php.net/viewvc.cgi/phd/themes/php/phpdotnet.php?r1=1.53.2.4.2.2&r2=1.53.2.4.2.3&diff_format=u Index: phd/themes/php/phpdotnet.php diff -u phd/themes/php/phpdotnet.php:1.53.2.4.2.2 phd/themes/php/phpdotnet.php:1.53.2.4.2.3 --- phd/themes/php/phpdotnet.php:1.53.2.4.2.2 Sun Oct 26 00:00:26 2008 +++ phd/themes/php/phpdotnet.php Sat Nov 15 17:49:36 2008 @@ -1,11 +1,12 @@ <?php -/* $Id: phpdotnet.php,v 1.53.2.4.2.2 2008/10/26 00:00:26 loudi Exp $ */ +/* $Id: phpdotnet.php,v 1.53.2.4.2.3 2008/11/15 17:49:36 bjori Exp $ */ abstract class phpdotnet extends PhDTheme { protected $elementmap = array( 'acronym' => 'format_suppressed_tags', 'function' => 'format_suppressed_tags', 'classname' => 'format_suppressed_tags', + 'interfacename' => 'format_suppressed_tags', 'link' => 'format_link', 'refpurpose' => 'format_refpurpose', 'title' => array( @@ -90,6 +91,7 @@ 'acronym' => 'format_acronym_text', 'function' => 'format_function_text', 'classname' => 'format_classname_text', + 'interfacename' => 'format_classname_text', 'varname' => array( /* DEFAULT */ 'format_varname_text', 'fieldsynopsis' => false, @@ -537,11 +539,11 @@ public function format_classname_text($value, $tag) { if (($filename = $this->getClassnameLink(strtolower($value))) !== null && $this->cchunk["phpdoc:classref"] !== strtolower($value)) { if ($this->chunked) { - return '<a href="'.$filename. '.' .$this->ext. '" class="classname">' .$value. '</a>'; + return '<a href="'.$filename. '.' .$this->ext. '" class="' .$tag. '">' .$value. '</a>'; } - return '<a href="#'.$filename. '" class="classname">'.$value.'</a>'; + return '<a href="#'.$filename. '" class="' .$tag. '">'.$value.'</a>'; } - return '<b class="classname">' .$value. '</b>'; + return '<b class="' .$tag. '">' .$value. '</b>'; } public function format_type_if_object_or_pseudo_text($type, $tagname) {

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