From c6ada4bc9eff52101ddfe5907c29a6a3e7f94cbf Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 25 Oct 2016 18:30:26 +0800 Subject: [PATCH] CodeDoc/Data/Method.php --- CodeDoc/Data/Method.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/CodeDoc/Data/Method.php b/CodeDoc/Data/Method.php index 9cb509a..93f742f 100644 --- a/CodeDoc/Data/Method.php +++ b/CodeDoc/Data/Method.php @@ -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', -- 2.39.2