Bernd,

Since several weeks, at the time I began maintaing Zend_Filter and Zend_Validator, I am trying to add one section within the manual with examples and details about parameters for every validator and each filter. But as you can imaging this is a very time consuming task. We have about 45 validators and about 30 filters which makes about 75 new sections.

For 1.10 which is almost finished, there will be no new section on Zend_Filter_StripTags.
But shortly after the release there will be such a section.

In the meantime please stick to existing examples which can be found in the web or API doc.

Greetings
Thomas Weidner, I18N Team Leader, Zend Framework
http://www.thomasweidner.com

----- Original Message ----- From: "bmatzner" <[email protected]>
To: <[email protected]>
Sent: Monday, January 18, 2010 4:59 PM
Subject: [fw-general] StripTags changes in 1.10



Hi,

thanks to everyone who contributed to the new release and to Thomas for his
continuing improvements to his components.

I find a number of changes in 1.10 that don't seem to be reflected in the
beta manual migration notes yet (unless they're still undergoing
development).

Zend_Filter_StripTags
We used to pass two arrays for allowed tags and comments when instantiating
the class, now obviously the syntax would be just one named array:

$filter = new Zend_Filter_StripTags(
           array(
               'allowTags' => $allowedTags,
               'allowAttribs' => $allowedAttributes
           ));

It would be great if the documentation for Zend_Filter would give a code
example, instead of just saying it's possible to specify those tags and
attributes.

Thanks,
Bernd

--
View this message in context: http://n4.nabble.com/StripTags-changes-in-1-10-tp1016782p1016782.html Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to