@@ 127-138 (lines=12) @@ | ||
124 | return $model; |
|
125 | } |
|
126 | ||
127 | public function renderInheritance($class) |
|
128 | { |
|
129 | $parents=array($class->signature); |
|
130 | foreach($class->parentClasses as $parent) |
|
131 | { |
|
132 | if(isset($this->classes[$parent])) |
|
133 | $parents[]='{{'.$parent.'|'.$parent.'}}'; |
|
134 | else |
|
135 | $parents[]=$parent; |
|
136 | } |
|
137 | return implode(" »\n",$parents); |
|
138 | } |
|
139 | ||
140 | public function renderImplements($class) |
|
141 | { |
|
@@ 140-151 (lines=12) @@ | ||
137 | return implode(" »\n",$parents); |
|
138 | } |
|
139 | ||
140 | public function renderImplements($class) |
|
141 | { |
|
142 | $interfaces=array(); |
|
143 | foreach($class->interfaces as $interface) |
|
144 | { |
|
145 | if(isset($this->classes[$interface])) |
|
146 | $interfaces[]='{{'.$interface.'|'.$interface.'}}'; |
|
147 | else |
|
148 | $interfaces[]=$interface; |
|
149 | } |
|
150 | return implode(', ',$interfaces); |
|
151 | } |
|
152 | ||
153 | public function renderSubclasses($class) |
|
154 | { |
|
@@ 153-164 (lines=12) @@ | ||
150 | return implode(', ',$interfaces); |
|
151 | } |
|
152 | ||
153 | public function renderSubclasses($class) |
|
154 | { |
|
155 | $subclasses=array(); |
|
156 | foreach($class->subclasses as $subclass) |
|
157 | { |
|
158 | if(isset($this->classes[$subclass])) |
|
159 | $subclasses[]='{{'.$subclass.'|'.$subclass.'}}'; |
|
160 | else |
|
161 | $subclasses[]=$subclass; |
|
162 | } |
|
163 | return implode(', ',$subclasses); |
|
164 | } |
|
165 | ||
166 | public function renderTypeUrl($type) |
|
167 | { |