CodeDoc/Data/Method.php
authorAlan Knowles <alan@roojs.com>
Tue, 25 Oct 2016 10:30:26 +0000 (18:30 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 25 Oct 2016 10:30:26 +0000 (18:30 +0800)
CodeDoc/Data/Method.php

index 9cb509a..93f742f 100644 (file)
@@ -135,6 +135,15 @@ class PHP_CodeDoc_Data_Method extends PHP_CodeDoc_Data {
                 'xtype' => 'Section',
             );
         }
+        if ( !empty($this->description->throws) {
+            $items[] = array(
+                'stype' => 'throws',
+                '|xns' => 'Roo.doc',
+                'xtype' => 'Throws',
+            );
+        }
+        
+        
                         /* -- fixme - needs to read from an example file..
                         array(
                             'stype' => 'example',