Timeline for Username verification class
Current License: CC BY-SA 3.0
12 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jan 2, 2013 at 8:58 | vote | accept | user962206 | ||
| Jun 25, 2012 at 4:29 | comment | added | Corbin |
@user962206 It's a method, not a variable, but no, it was a typo. Was supposed to be hasErrors.
|
|
| Jun 25, 2012 at 4:28 | history | edited | Corbin | CC BY-SA 3.0 |
edited body
|
| Jun 25, 2012 at 3:18 | comment | added | user962206 | btw in Form_Element_AbstractElement, did you declare hadErrors variable? I can't seem to find it | |
| Jun 25, 2012 at 2:51 | comment | added | Corbin | @user962206 Have provided complete implementations of parts of it, so am not sure what you mean. Do you mean like an entire form from submission to creation? Or what? | |
| Jun 25, 2012 at 2:01 | comment | added | user962206 | Can you show me how am I going to used Part 1 and Part 2, with implementations, I do get the concept, but the implementation is completely vague | |
| Jun 24, 2012 at 22:35 | history | edited | Corbin | CC BY-SA 3.0 |
added 862 characters in body
|
| Jun 24, 2012 at 22:16 | comment | added | Corbin | @palacsint I considered that quite a bit when making the Validator interface and couldn't decide how I feel about it. I suppose it is bad design to silently mutate an object as a side effect. Will edit the post in a bit when I get the chance. (Happen to know if there's a name for that by the way?) | |
| Jun 24, 2012 at 21:46 | comment | added | palacsint |
"If you pass the username to check() instead of to the constructor, the object can be reusable." - Then, the $_error should not be a class instance. Anyway, +1 :)
|
|
| Jun 24, 2012 at 21:44 | history | edited | palacsint | CC BY-SA 3.0 |
improves formatting
|
| Jun 24, 2012 at 21:26 | history | edited | Corbin | CC BY-SA 3.0 |
added 1004 characters in body
|
| Jun 24, 2012 at 21:21 | history | answered | Corbin | CC BY-SA 3.0 |