guide WIP [skip ci]

This commit is contained in:
Qiang Xue
2014-06-05 22:40:37 -04:00
parent 25f919c1df
commit 01e5ffdceb
9 changed files with 527 additions and 244 deletions

View File

@ -52,10 +52,10 @@ class ImageValidator extends FileValidator
*/
public $maxHeight;
/**
* @var array|string a list of file mime types that are allowed to be uploaded.
* This can be either an array or a string consisting of file mime types
* @var array|string a list of file MIME types that are allowed to be uploaded.
* This can be either an array or a string consisting of file MIME types
* separated by space or comma (e.g. "image/jpeg, image/png").
* Mime type names are case-insensitive. Defaults to null, meaning all mime types
* Mime type names are case-insensitive. Defaults to null, meaning all MIME types
* are allowed.
* @see wrongMimeType
*/