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

index 9b48162..19b51cb 100644 (file)
@@ -113,6 +113,7 @@ 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 == '__construct' ? ('new ' . $this->class) : $this->name,