zend-filter
How to generate a custom Zend filter from a regular expression
I want to realize a Zend_Filter that return the string replacing banks with underscore and remove all the characters not all开发者_高级运维owed in a regular expression.[详细]
2023-03-28 09:16 分类:问答Using multiple PregReplace filters on a Zend Form element
I want to be able to add multiple PregReplace filters on a single Zend Form element. I can add one PregReplace filter using th开发者_StackOverflow社区e code below:[详细]
2023-03-20 17:55 分类:问答How to make this Filter run after this Validator
I have an element. I want to add a custom validator and custom filter to it. The validator makes sure the input is one of several permitted values, then the filter adds some custom values to the input[详细]
2023-02-07 08:22 分类:问答how to show real tags from a htmlspecialchars_decode?
i\'m creating a cms in php using zend framework where i choose to save at some part html templates to ease redesigning of the views and all.Now to save those templates(views, sidebars) i had to use Ze[详细]
2023-02-06 18:49 分类:问答Zend_Form and setElementFilters with Zend_Filter_StringTrim does not trim
PHP Code: $form = new Zend_Form(); $filters = array(new Zend_Filter_StringTrim()); $form->setElementFilters($filters); // <-- ISSUE[详细]
2023-02-03 16:44 分类:问答How to filter and validate user input in Zend Framework
on my website I have a comment section. I want to filter and validate the input before I store it in my database. If there are any invalid 开发者_运维技巧chars in the input the user gets the notice th[详细]
2023-01-14 13:26 分类:问答Zend Framework: My custom form filter is not filtering!
So I have a form that is using a custom filter (which is really just a copy of Zend_Filter_Null). When I call it directly, it works:[详细]
2023-01-03 22:03 分类:问答/regexp?/ on HTML, but not in form [duplicate]
This question already has answers here: 开发者_Python百科 Closed 12 years ago. Possible Duplicate: RegEx match open tags except XHTML self-contained tags[详细]
2023-01-03 16:41 分类:问答Inject filter into Zend_View
I wish to set some properties in MyFilter with constructor injection but it seems impossible with Zend_View::addFilter(string $filter_class_name) since it loads a new instance upon usage. MyFilter imp[详细]
2022-12-27 04:04 分类:问答Zend_Filter_Input filtering not triggering
I\'m using Zend_Filter_Input on my magic getter / setter methods to validate my input and cast fields to the type I desire. The validation portion is working great, but it\'s like the filters aren\'t[详细]
2022-12-19 03:38 分类:问答