MadeHQ\Cloudinary\Forms\UploadImageField
Synopsis
class UploadImageField
extends UploadFileField
{
- // members
- private static array $gravities = ;
- private static boolean $show_caption_credit = false;
- // methods
- public void __construct()
- // Inherited methods from UploadFileField
- public void __construct()
- public UploadFileField addField()
- public HTTPResponse upload()
- public UploadFileField removeField()
- public FieldList getFieldList()
- public FieldList setForm()
- public void saveInto()
- public void setValue()
- public void setSubmittedValue()
- public boolean isComposite()
- public Upload_Validator getValidator()
- public string getRelationAutosetClass()
Hierarchy
Members
private
- $gravities — array
Methods
Inherited from MadeHQ\Cloudinary\Forms\UploadFileField
public
- addField() — Inserts the given field to the list of fields to show in the CMS
- getFieldList()
- getRelationAutosetClass() — Gets the foreign class that needs to be created, or 'File' as default if there is no relationship, or it cannot be determined.
- getValidator()
- isComposite()
- removeField() — Removes the field with the given name from the list of fields to show in the CMS
- saveInto() — {@inheritdoc}
- setForm()
- setSubmittedValue() — {@inheritdoc}
- setValue() — {@inheritdoc}
- upload() — Creates a single file based on a form-urlencoded upload.