[Solar-svn] Revision 2844
pmjones at solarphp.com
pmjones at solarphp.com
Sun Oct 7 10:14:53 CDT 2007
Solar_Docs_Apiref: when a class has not @package tag, add a placeholder array element for it so that document generation doesn't raise notices.
Modified: trunk/Solar/Docs/Apiref.php
===================================================================
--- trunk/Solar/Docs/Apiref.php 2007-10-07 14:38:03 UTC (rev 2843)
+++ trunk/Solar/Docs/Apiref.php 2007-10-07 15:14:53 UTC (rev 2844)
@@ -272,6 +272,7 @@
// add to the package list
if (empty($this->api[$class]['tech']['package'])) {
$this->_log($class, "class '$class' has no @package tag");
+ $this->api[$class]['tech']['package'] = null;
} else {
$name = $this->api[$class]['tech']['package'];
$this->packages[$name][] = $class;
More information about the Solar-svn
mailing list