Search:

Type: Posts; User: mydarkpassenger

Search: Search took 0.11 seconds.

  1. Re: Should validation code exist in set methods or in a validate method

    I guess it make sense, I've been told any public method should check it's data so I assume it makes sense. I'll have to play with it a bit. Thanks for the reply!
  2. Should validation code exist in set methods or in a validate method

    I was wondering whether I need to validate data passed to a set method, or whether I should keep all the validation checks in a single method. In other words is it dangerous to set class variables...
Results 1 to 2 of 2