\SimpleImageField
SimpleImageField provides an easy way of uploading images to {@link Image} has_one relationships.
These relationships are auto-detected if you name the field accordingly.
Unlike </code>
Your file should be now in the uploads directory
Synopsis
class SimpleImageField
extends FileField
{
- // members
- public array $allowedExtensions = ;
- // methods
- public void __construct()
- public void Field()
Hierarchy
Extends
- FileField
Members
public
- $allowedExtensions