| | 444 | * Output lib details. |
|---|
| | 445 | * |
|---|
| | 446 | * @return String |
|---|
| | 447 | */ |
|---|
| | 448 | protected function getPluginsOutput() |
|---|
| | 449 | { |
|---|
| | 450 | $html = ''; |
|---|
| | 451 | $html .= '<ul id="libs" class="treeview-black">'; |
|---|
| | 452 | |
|---|
| | 453 | foreach ($this->project->getClasses() as $class) |
|---|
| | 454 | { |
|---|
| | 455 | if(count($class->getAlerts())>0){ |
|---|
| | 456 | $html .= '<li><span class="folder"><strong>Class '. $class->getName() . '</strong></span>'; |
|---|
| | 457 | $html .= '<ul>'; |
|---|
| | 458 | foreach ($class->getAlerts() as $alert) |
|---|
| | 459 | { |
|---|
| | 460 | $html .=$this->getAlertOutput($alert); |
|---|
| | 461 | } |
|---|
| | 462 | $html .= '</ul>'; |
|---|
| | 463 | } |
|---|
| | 464 | foreach($class->getMethods() as $method){ |
|---|
| | 465 | if(count($method->getAlerts())>0){ |
|---|
| | 466 | $html .= '<li><span class="folder"><strong>Methode '. $class->getName().'::'. $method->getName(). '</strong></span>'; |
|---|
| | 467 | $html .= '<ul>'; |
|---|
| | 468 | foreach ($method->getAlerts() as $mAlert) |
|---|
| | 469 | { |
|---|
| | 470 | $html .= $this->getAlertOutput($mAlert); |
|---|
| | 471 | } |
|---|
| | 472 | $html .= '</ul>'; |
|---|
| | 473 | } |
|---|
| | 474 | } |
|---|
| | 475 | } |
|---|
| | 476 | |
|---|
| | 477 | return $html; |
|---|
| | 478 | } |
|---|
| | 479 | |
|---|
| | 480 | /** |
|---|