Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

[SValidate][reqs?] Default transform + standard php filters

 
Post new topic   Reply to topic    Smarty Forum Index -> Add-ons
View previous topic :: View next topic  
Author Message
NoWhereMan
Smarty Rookie


Joined: 14 Feb 2006
Posts: 15

PostPosted: Thu Feb 01, 2007 9:06 pm    Post subject: [SValidate][reqs?] Default transform + standard php filters Reply with quote

Is there something like a "default transform" ?
I would like to do something like

SmartyValidate::add_default_transform('stripslashes');

so that it is always applied to every validated field


moreover, I would love if you could use every transform without having to register it or add it as a plugin (see the stripslashes example above) if it exist as php functions, as it's done with smarty modifiers

thank you Smile
_________________
-- FlatPress Flat-file based blog, Smarty-powered
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> Add-ons All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP