mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #9590 from thesifter/4
This commit is contained in:
commit
557358c2a6
@ -48,7 +48,7 @@ class Page extends SiteTree
|
|||||||
UploadField options include:
|
UploadField options include:
|
||||||
|
|
||||||
- setIsMultiUpload() - Set to allow many files per field, or one only.
|
- setIsMultiUpload() - Set to allow many files per field, or one only.
|
||||||
- setAllowedExtensions() - Set list of extensionse this field can accept.
|
- setAllowedExtensions() - Set list of extensions this field can accept.
|
||||||
- setAllowedFileCategories() - Alternatively specify allowed extensions via category instead.
|
- setAllowedFileCategories() - Alternatively specify allowed extensions via category instead.
|
||||||
- setFolderName() - Name of folder to upload into
|
- setFolderName() - Name of folder to upload into
|
||||||
- getValidator() - Get instance of validator to specify custom validation rules
|
- getValidator() - Get instance of validator to specify custom validation rules
|
||||||
|
Loading…
Reference in New Issue
Block a user