Re: svn: /phd/trunk/ package.xml package_generic.xml phpdotnet/phd/Config.php phpdotnet/phd/MediaManager.php phpdotnet/phd/Package/Generic/XHTML.php
phpdotnet/phd/functions.php
| From: | Hannes Magnusson | Date: | Fri, 30 Oct 2009 18:07:01 +0000 |
| Subject: | Re: svn: /phd/trunk/ package.xml package_generic.xml phpdotnet/phd/Config.php phpdotnet/phd/MediaManager.php phpdotnet/phd/Package/Generic/XHTML.php phpdotnet/phd/functions.php |
||
| References: | 1 | Groups: | php.doc php.doc.cvs |
| Request: | Send a blank email to doc-cvs+get-5248@lists.php.net to get a copy of this message | ||
2009/10/29 Richard Quadling <rquadling@php.net>:
> rquadling Thu, 29 Oct 2009 11:04:46 +0000
>
> Revision:
> http://svn.php.net/viewvc?view=revision&revision=290052
>
> Log:
> Added VERBOSE_MISSING_ATTRIBUTES verbose level
> Separated PhD verbose messages into informational and warnings
> PhD verbose warning messages are coloured magenta
> Added MediaManger->findFile() method to return full filename of required image
> VERBOSE_MISSING_ATTRIBUTE message generated when missing one of the width/height attributes on
> imagedata
> VERBOSE_MISSING_ATTRIBUTE message generated when missing alt attributes on mediaobject >
> imagedata
>
Kudos.
Maybe add VERBOSE_ERROR, VERBOSE_WARNING and VERBOSE_INFO constants?
Would make it easier to only suppress/retrieve those specific
messages..
First time I have ever seen if ('' === $width . $height) though :)