"File" ); /** * @see Upload->allowedMaxFileSize * @var int */ public static $allowed_max_file_size; /** * @see Upload->allowedExtensions * @var array */ public static $allowed_extensions = array(); static $singular_name = 'File Upload Field'; static $plural_names = 'File Fields'; public function getFormField() { return new FileField($this->Name, $this->Title); } /** * Workaround to handle uploads on the UserFormPage */ public function getValueFromData($data) { return ""; } } ?>