CodeDoc/Data/Method.php
[PHP_CodeDoc] / CodeDoc / Data / Method.php
index 19b51cb..a5aee45 100644 (file)
@@ -108,7 +108,7 @@ class PHP_CodeDoc_Data_Method extends PHP_CodeDoc_Data {
                 
                 
                 array(
-                    'name' => $this->name == '__construct' ? ('new ' . $this->class) : $this->name,
+                    'name' => $this->name,
                     'purpose' => $this->description->short,
                     'stype' => 'function',
                     '|xns' => 'Roo.doc',
@@ -116,7 +116,7 @@ class PHP_CodeDoc_Data_Method extends PHP_CodeDoc_Data {
                     'isConstructor' => $this->name == '__construct' ,
                     'items' => array(
                         array(
-                            'name' => $this->name == '__construct' ? ('new ' . $this->class) : $this->name,
+                            'name' => $this->name,
                             'is_static' => $this->isStatic ? true:false,
                             'memberof' => $this->class,
                             'returndesc' => $this->name == '_construct' ? '' : $this->description->return->desc,