Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.6.2

Request #16735 Packages with no class inside should not be shown in overview pane.
Submitted: 2009-10-24 17:11 UTC
From: skurfuerst Assigned: baptiste
Status: Closed Package: PHP_UML (version CVS)
PHP Version: 5.3.0 OS: Max os X
Roadmaps: (Not assigned)    
Subscription  


 [2009-10-24 17:11 UTC] skurfuerst (Sebastian Kurfürst)
Description: ------------ We're using PHP_UML for TYPO3 and FLOW3 documentation generation, and it works really well :-) Thanks already! There is just one thing which we are still missing: If you use $renderer = new PHP_UML(); $renderer->onlyApi = TRUE; ... for rendering, then only files which have an @api annotation are rendered - which is great for us. But as we have many packages which contain no files with an @api annotation, we still get many "empty" packages in the top-left frame for example. It'd be great if there were no empty packages if the "onlyAPI" annotation is turned on. Thanks and Greets, Sebastian Kurfürst

Comments

 [2009-10-24 17:53 UTC] skurfuerst (Sebastian Kurfürst)
 [2009-10-24 17:53 UTC] skurfuerst (Sebastian Kurfürst)
The added patch works for me, but I am not sure this is a clean solution - so it should be cross-checked :-) Greets, Sebastian
 [2009-10-24 18:23 UTC] baptiste (Baptiste Autin)
Hello Sebastian, Karstens D. sent an email to me some days ago to request that feature. I am working on it. It will become a general behaviour for PHP_UML to ignore empty namespaces (@api or not), unless a particular switch has been set.
 [2009-10-24 18:56 UTC] skurfuerst (Sebastian Kurfürst)
Hey, thanks for your quick feedback and good luck with the implementation! Greets, Sebastian
 [2010-01-11 00:51 UTC] baptiste (Baptiste Autin)
-Status: Open +Status: Closed -Assigned To: +Assigned To: baptiste