projects
/
PHP_CodeDoc
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
09fc1b5
)
CodeDoc/Data/Class.php
author
Alan Knowles
<alan@roojs.com>
Mon, 17 Oct 2016 01:49:50 +0000
(09:49 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 17 Oct 2016 01:49:50 +0000
(09:49 +0800)
CodeDoc/Data/Class.php
patch
|
blob
|
history
diff --git
a/CodeDoc/Data/Class.php
b/CodeDoc/Data/Class.php
index
12ee4c6
..
c7ffac2
100644
(file)
--- a/
CodeDoc/Data/Class.php
+++ b/
CodeDoc/Data/Class.php
@@
-96,16
+96,17
@@
class PHP_CodeDoc_Data_Class {
)
);
)
);
- foreach($ar as $cc) {
- $cname = $c=$cc=;
- if ($cc == '__construct') {
- $cname = 'new '
+ foreach($ar as $op) {
+ $c = $cname = $op->name;
+ if ($c == '__construct') {
+ print_R($op);exit;
+ $cname = 'new ' . $op->cls;
}
$ret['items'][] = array(
'|xns' => 'Roo.bootstrap',
'xtype' => 'NavItem',
'href' => '#' . str_replace('_','-',strtolower($this->name)). '/'.$c,
}
$ret['items'][] = array(
'|xns' => 'Roo.bootstrap',
'xtype' => 'NavItem',
'href' => '#' . str_replace('_','-',strtolower($this->name)). '/'.$c,
- 'html' => $c
+ 'html' => $c
name
);
}
return $ret;
);
}
return $ret;