CodeDoc/Data/Method.php
authorAlan Knowles <alan@roojs.com>
Tue, 25 Oct 2016 09:20:49 +0000 (17:20 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 25 Oct 2016 09:20:49 +0000 (17:20 +0800)
CodeDoc/Data/Method.php

index 4fdf57d..af9938e 100644 (file)
@@ -113,11 +113,12 @@ class PHP_CodeDoc_Data_Method extends PHP_CodeDoc_Data {
                     'stype' => 'function',
                     '|xns' => 'Roo.doc',
                     'xtype' => 'Entry',
-                    'isConstructor' => $this->name == '__construct' ,
+                   
                     'items' => array(
                         array(
                             'name' => $this->name ,
                             'is_static' => $this->isStatic ? true:false,
+                            'is_constructor' => $this->name == '__construct' ,
                             'memberof' => $this->class,
                             'returndesc' => $this->name == '_construct' ? '' : $this->description->return->desc,
                             'returntype' => $this->name == '_construct' ? '' : $this->description->return->type,