cvs: pear /HTML_CSS CSS.php
| From: | Laurent Laville | Date: | Sun, 18 Jun 2006 13:06:23 +0000 |
| Subject: | cvs: pear /HTML_CSS CSS.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-40796@lists.php.net to get a copy of this message | ||
farell Sun Jun 18 13:06:23 2006 UTC
Modified files:
/pear/HTML_CSS CSS.php
Log:
- add latest option 'allowduplicates' in phpdoc of ZE1 class constructor
- apiVersion() method will return true API version defined by package xml 2.0
while old PEAR installer (<= 1.3.x) will always returns package version
API version will stay 1.0.0 even for future versions 1.0.x of HTML_CSS
http://cvs.php.net/viewcvs.cgi/pear/HTML_CSS/CSS.php?r1=1.45&r2=1.46&diff_format=u
Index: pear/HTML_CSS/CSS.php
diff -u pear/HTML_CSS/CSS.php:1.45 pear/HTML_CSS/CSS.php:1.46
--- pear/HTML_CSS/CSS.php:1.45 Sat Jun 17 14:27:49 2006
+++ pear/HTML_CSS/CSS.php Sun Jun 18 13:06:22 2006
@@ -16,7 +16,7 @@
* @author Laurent Laville <pear@laurent-laville.org>
* @copyright 2003-2006 The PHP Group
* @license http://www.php.net/license/3_0.txt
PHP License 3.0
- * @version CVS: $Id: CSS.php,v 1.45 2006/06/17 14:27:49 farell Exp $
+ * @version CVS: $Id: CSS.php,v 1.46 2006/06/18 13:06:22 farell Exp $
* @link http://pear.php.net/package/HTML_CSS
*/
@@ -234,12 +234,13 @@
*
* @param array $attributes (optional) Pass options to the constructor.
* Valid options are :
- * xhtml (sets xhtml compliance),
- * tab (sets indent string),
- * filename (name of file to be parsed),
- * cache (determines whether the nocache headers are
sent),
- * oneline (whether to output each definition on one
line),
- * groupsfirst (determines whether to output groups
before elements)
+ * - xhtml (sets xhtml compliance),
+ * - tab (sets indent string),
+ * - filename (name of file to be parsed),
+ * - cache (determines whether the nocache headers are
sent),
+ * - oneline (whether to output each definition on one
line),
+ * - groupsfirst (determines whether to output groups
before elements)
+ * - allowduplicates (allow to have duplicate rules in
selector)
* @param array $prefs (optional) has to configure error handler
*
* @since 0.2.0
@@ -288,7 +289,7 @@
*/
function apiVersion()
{
- return '@package_version@';
+ return '@api_version@';
}
/**