cvs: phd /themes/php phpdotnet.php

From: Date: Wed, 31 Dec 2008 15:54:43 +0000
Subject: cvs: phd /themes/php phpdotnet.php
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-2896@lists.php.net to get a copy of this message
bjori Wed Dec 31 15:54:43 2008 UTC Modified files: /phd/themes/php phpdotnet.php Log: MFB: compress methodnames in classsynposis http://cvs.php.net/viewvc.cgi/phd/themes/php/phpdotnet.php?r1=1.62&r2=1.63&diff_format=u Index: phd/themes/php/phpdotnet.php diff -u phd/themes/php/phpdotnet.php:1.62 phd/themes/php/phpdotnet.php:1.63 --- phd/themes/php/phpdotnet.php:1.62 Wed Dec 31 15:26:56 2008 +++ phd/themes/php/phpdotnet.php Wed Dec 31 15:54:43 2008 @@ -1,5 +1,5 @@ <?php -/* $Id: phpdotnet.php,v 1.62 2008/12/31 15:26:56 bjori Exp $ */ +/* $Id: phpdotnet.php,v 1.63 2008/12/31 15:54:43 bjori Exp $ */ abstract class phpdotnet extends PhDTheme { protected $elementmap = array( @@ -92,6 +92,14 @@ 'acronym' => 'format_acronym_text', 'function' => 'format_function_text', 'classname' => 'format_classname_text', + 'classname' => array( + /* DEFAULT */ 'format_classname_text', + 'ooclass' => array( + /* DEFAULT */ 'format_classname_text', + 'classsynopsis' => 'format_classsynopsis_ooclass_classname_text', + ), + ), + 'interfacename' => 'format_classname_text', 'varname' => array( /* DEFAULT */ 'format_varname_text', @@ -550,6 +558,9 @@ public function format_grep_classname_text($value, $tag) { $this->cchunk["phpdoc:classref"] = strtolower($value); } + public function format_classsynopsis_ooclass_classname_text($value, $tag) { + return $this->format_classname_text($this->format->format_classsynopsis_ooclass_classname_text($value, $tag), $tag); + } public function format_classname_text($value, $tag) { if (($filename = $this->getClassnameLink(strtolower($value))) !== null && $this->cchunk["phpdoc:classref"] !== strtolower($value)) { if ($this->chunked) {

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