mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Update 01_File_Management.md
Changed very small typo in setAllowedExtensions. Changed Extensiones to Extensions.
This commit is contained in:
parent
d408a4e714
commit
d5893bf23c
@ -48,7 +48,7 @@ class Page extends SiteTree
|
||||
UploadField options include:
|
||||
|
||||
- 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.
|
||||
- setFolderName() - Name of folder to upload into
|
||||
- getValidator() - Get instance of validator to specify custom validation rules
|
||||
|
Loading…
Reference in New Issue
Block a user