ZF-3838: $conditionalStylesheet incorrectly stated as boolean
Description
On:
http://framework.zend.com/manual/en/…
The $conditionalStylesheet is referred to as a boolean rather than a string or false.
"The $media value defaults to 'screen', but may be any valid media value. $conditionalStylesheet is a boolean, and will be used at rendering time to determine if special comments should be included to prevent loading of the stylesheet on certain platforms."
Usage example is:
$view->appendStylesheet("styles.css", 'screen', 'lt IE 7');
Which outputs:
Used as a boolean it would simply output:
Should be updated to reflect that the primary use is to pass a string, but you could pass the boolean value of false.
Comments
Posted by Jon Whitcraft (sidhighwind) on 2008-10-10T05:16:41.000+0000
This has been fixed in r11835.
Posted by Wil Sinclair (wil) on 2008-11-13T14:10:11.000+0000
Changing issues in preparation for the 1.7.0 release.