[pLog-svn] r6582 - plog/branches/lifetype-1.2/class/action/admin

Mark Wu markplace at gmail.com
Thu Jun 19 11:51:23 EDT 2008


For example, the value from checkbox.

We don't need to validate it, we just use:

$checked = ( $this->_$request->getValue("blahblah")  != "" );

So, we don't care about the value it self, we just care about the value
assigned or not.

This kind of value, we don't validate it.

> -----Original Message-----
> From: plog-svn-bounces at devel.lifetype.net 
> [mailto:plog-svn-bounces at devel.lifetype.net] On Behalf Of Jon Daley
> Sent: Thursday, June 19, 2008 11:41 PM
> To: LifeType Developer List
> Subject: Re: [pLog-svn] r6582 - 
> plog/branches/lifetype-1.2/class/action/admin
> 
> On Thu, 19 Jun 2008, Mark Wu wrote:
> > registerField() only used in addXXXAction, it will bring 
> the value(the 
> > value no need to validate) back to _form.
>  	Ok, maybe I am starting to understand it.  Why doesn't 
> it need to be validated?
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://limedaley.com/mailman/listinfo/plog-svn



More information about the pLog-svn mailing list