Commit Graph

30 Commits

Author SHA1 Message Date
Alexander Kochetov
486723805e else if => elseif 2012-10-03 10:20:14 +04:00
Alexander Makarov
d865a3bab8 Fixes #1057 Removed SVN ids 2012-09-09 22:23:45 +04:00
Alexander Makarov
3798fa300d Merge remote-tracking branch 'upstream/master' into CFileValidator-allowEmpty-null
Conflicts:
	CHANGELOG
2012-08-06 13:08:49 +04:00
Leo R. Lundgren
7a194496a5 Fix a bunch of @param and @return phpdoc errors in various files. 2012-08-03 16:17:58 +02:00
Alexander Makarov
1d33c35ea0 updated CFileValidator to be unsafe 2012-08-03 00:06:21 +04:00
Alexander Makarov
0cbacb1684 changed setting null to unset 2012-08-02 15:12:18 +04:00
Alexander Makarov
d788810f1f CFileValidator now always sets field value to null when allowEmpty is true and no file was uploaded 2012-08-01 12:45:03 +04:00
resurtm
e8bd65ec5a CFileValidator could validate uploaded file by its MIME-type, added $mimeTypes and $wrongMimeTypes properties. 2012-07-28 20:16:46 +06:00
resurtm
cc2faf5117 Removed extra case's in the CFileValidator::sizeToBytes() method. 2012-07-08 21:41:54 +06:00
resurtm
205cf9d3c3 Fix #938, solution #2. 2012-07-08 16:20:43 +06:00
mdomba (mdwork)
c72268a74a (Fixes issue #743) doc typo 2012-05-23 12:07:00 +02:00
jefftulsa
c4493b731c adding documentation about placeholders in different validator custom error messages - addressing Issue 2152 2011-12-17 05:17:57 +00:00
qiang.xue
4be0af6917 changed copyright year. 2011-01-01 19:31:13 +00:00
qiang.xue
97b7bfde20 (Fixes issue 1643) 2010-11-02 18:10:56 +00:00
mdomba
72b974560b Updated PHPDoc @param parameter names 2010-09-23 13:28:52 +00:00
mdomba
93ab63f73d Fixes issue 1466 2010-08-28 13:22:20 +00:00
alexander.makarow
a68823054d 2010-04-07 11:50:00 +00:00
alexander.makarow
faa64a3296 CFileValidator now works with php.ini's upload_max_filesize strings with K, G, k, m, g 2010-04-06 13:17:40 +00:00
qiang.xue
eb54ba7407 modified copyright info. 2010-01-07 21:02:00 +00:00
qiang.xue
bb5ef901cb Fixes the bug that using CFileValidator causes an error about accessing a method of a non-object 2009-10-18 19:58:59 +00:00
pestaa.hu
372d23d3c3 Clarify upload mechanism, separate logic into methods, update API; fully tested 2009-09-26 12:54:55 +00:00
pestaa.hu
f1021d48b4 (Fixes issue 429) Native support for multiple file uploads 2009-09-24 20:57:38 +00:00
qiang.xue
59aa3df62b merge from 1.0 2009-08-06 20:00:34 +00:00
qiang.xue
a2d8907c6a merge from 1.0 2009-04-05 21:36:33 +00:00
qiang.xue
255f0a6511 merge from 1.0 2009-03-10 18:00:11 +00:00
qiang.xue
80c0b7d7cf merge from 1.0 2009-02-01 02:14:39 +00:00
qiang.xue
20bf28469f merge from 1.0. 2008-12-30 23:14:31 +00:00
qiang.xue
f28f466200 2008-11-15 13:37:25 +00:00
qiang.xue
45ebe4ce7e Finished CFileValidator and CUploadedFile. 2008-11-15 13:36:07 +00:00
qiang.xue
0d046d1902 Added CFileValidator and CUploadedFile. 2008-11-15 02:41:21 +00:00