romanb
344ab02d95
reverting the reorganization done in 3455-3456 in order to make merging my experimental branch to trunk easier.
2008-01-05 19:14:35 +00:00
Jonathan.Wage
44820ec14a
Preparation for new organization of code in to sub packages. Changed autoload() to work with new structure.
2008-01-05 07:39:25 +00:00
zYne
ca736ec75a
added toArray()
2007-11-14 21:06:30 +00:00
Jonathan.Wage
27b369a5f3
Mass search and replace for coding standards changes, doc block formatting, and code spacing.
2007-10-21 06:23:59 +00:00
jepso
d9e213a2cf
fixes #484
2007-10-17 14:50:55 +00:00
zYne
359d07b04d
fixes #484 , validator nospace not validating correctly
2007-10-16 22:12:04 +00:00
Jonathan.Wage
0a6f216efa
Lots of formatting changes, cleanup, doc block changes.
2007-10-03 21:43:22 +00:00
romanb
02dd8b1a79
Validator refactoring. 2 new validators: past & future
2007-09-29 12:31:56 +00:00
zYne
be5eb98ebf
2007-09-20 20:21:08 +00:00
meus
a7c24a05f5
fixing codeing standard errors...
2007-09-08 12:43:25 +00:00
meus
8fbd18207b
conveience method inspect() in Doctrine_Validator_Exception. Call it with user_func and it will apply it to all ErrorStacks
2007-09-08 12:41:09 +00:00
meus
f3a377a794
replace tabs with 4 spaces. and fix other coding style related stuff
2007-09-03 14:57:18 +00:00
zYne
70ff3b261f
refactored Validator API
2007-09-02 20:00:27 +00:00
zYne
2dd52e306d
2007-09-02 17:02:16 +00:00
zYne
eb92f6d220
2007-09-02 16:55:24 +00:00
romanb
3e47532e07
Notnull validator no longer checks for empty strings
2007-09-01 20:20:17 +00:00
Jonathan.Wage
1b8e9ea091
Removed getState() method and changed all references to getState() to state()
2007-08-14 20:23:54 +00:00
meus
2d55394109
fixed default error message for ValidatorException that list the classes that have validation errors
2007-07-21 22:15:22 +00:00
runa
a41cd2bb01
support for unique columns in multikey tables
2007-06-04 18:47:26 +00:00
romanb
c57cf249c6
Important security fix for the e-mail validator. The D modifier was missing in the pattern.
2007-05-23 09:55:32 +00:00
romanb
635bc1fa66
Improved the previous fix for the unique validator.
2007-04-12 13:37:45 +00:00
romanb
18766e6579
Fixed an issue with the unique validator.
2007-04-12 08:38:59 +00:00
cpowers
e65f623aea
Added validator for unsigned data types
...
Ticket: 288
2007-03-16 19:19:30 +00:00
zYne
e4ad2f70ae
2007-01-25 23:05:26 +00:00
zYne
9d5640040d
2007-01-25 23:03:24 +00:00
airox
8ed299a13d
Minimum length for a string validator (usefull for passwords or usernames for example)
2007-01-18 15:37:32 +00:00
romanb
4650a38da2
Fixes #250 .
...
Ticket: 250
2006-12-29 21:52:42 +00:00
lsmith
4e22f1fbaf
- second round of PEAR CS fixes
2006-12-29 14:40:47 +00:00
lsmith
716bb65b86
- first round of PEAR CS fixes
2006-12-29 14:01:31 +00:00
zYne
a208dd3250
Added class doc blocks for validator classes
2006-11-12 23:04:58 +00:00
zYne
a6bdf19cb9
fixes #229
2006-11-12 22:57:18 +00:00
zYne
085dc9d601
Enhanced class doc blocks, fixes #228
2006-11-12 12:14:08 +00:00
romanb
db25f46e52
Finished the validation changes.
...
Ticket: 150
2006-10-11 16:24:18 +00:00
romanb
171226d532
Continued work on the validation component.
...
Ticket: 150
2006-10-10 16:15:43 +00:00
zYne
d81a4245b7
Fixed typo
2006-10-10 09:32:32 +00:00
romanb
b0f0537071
Necessary changes to the validation components. Further improvements and docs will follow in the next days.
...
Ticket: 150
2006-10-09 18:00:14 +00:00
zYne
11206fe573
Small fixes, now it should be possible to add custom errors
2006-10-08 18:20:10 +00:00
zYne
67da38b07d
Validators updated, *NOTE* this breaks BC:
...
- validators codes are now string instead of integers (constants)
- validating is now handled in record level
- added new component Doctrine_Validator_ErrorStack
- new methods Doctrine_Record::isValid() and Doctrine_Record::getErrorStack()
- errorStack now as a record instance variable
2006-10-08 18:12:27 +00:00
pookey
aa25b57eda
pookey: fixes #83
2006-10-02 01:30:08 +00:00
pookey
04a3cb9f63
pookey: fixed email validator and added more test cases
2006-10-02 01:23:23 +00:00
pookey
6094eeb536
moving php source files to lib directroy
2006-09-26 15:00:13 +00:00