projects
/
PHP_CodeDoc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7be4649
)
CodeDoc/Data/Method.php
author
Alan Knowles
<alan@roojs.com>
Tue, 25 Oct 2016 09:11:24 +0000
(17:11 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 25 Oct 2016 09:11:24 +0000
(17:11 +0800)
CodeDoc/Data/Method.php
patch
|
blob
|
history
diff --git
a/CodeDoc/Data/Method.php
b/CodeDoc/Data/Method.php
index
18b782e
..
0561f8c
100644
(file)
--- a/
CodeDoc/Data/Method.php
+++ b/
CodeDoc/Data/Method.php
@@
-98,7
+98,7
@@
class PHP_CodeDoc_Data_Method extends PHP_CodeDoc_Data {
return
array(
return
array(
- "name" => $this->name,
+ "name" => $this->name
== '__construct' ? ('new ' . $this->class) : $this->name
,
"parent" => "",
"title" => "",
"permname" => "",
"parent" => "",
"title" => "",
"permname" => "",
@@
-115,7
+115,7
@@
class PHP_CodeDoc_Data_Method extends PHP_CodeDoc_Data {
'xtype' => 'Entry',
'items' => array(
array(
'xtype' => 'Entry',
'items' => array(
array(
- 'name' => $this->name,
+ 'name' => $this->name
== '__construct' ? ('new ' . $this->class) : $this->name
,
'is_static' => $this->isStatic ? true:false,
'memberof' => $this->class,
'returndesc' => $this->name == '_construct' ? '' : $this->description->return->desc,
'is_static' => $this->isStatic ? true:false,
'memberof' => $this->class,
'returndesc' => $this->name == '_construct' ? '' : $this->description->return->desc,