);
- if ( $this->name != '_construct') {
+ if ( $this->name != '__construct') {
$items[] = array(
'stype' => 'return',
'|xns' => 'Roo.doc',
'xtype' => 'Section',
);
}
+ if ( !empty($this->description->throws)) {
+
+ $items[] = array(
+ 'stype' => 'throws',
+ '|xns' => 'Roo.doc',
+ 'xtype' => 'Section',
+ 'items' => array(
+ array(
+ '|xns' => 'Roo.doc',
+ 'xtype' => 'para',
+ 'html' => $this->description->throws
+ )
+
+ )
+ );
+ }
+
+
/* -- fixme - needs to read from an example file..
array(
'stype' => 'example',