예제 #1
0
 public function __construct($caption, $fieldName, $editControl, $dataset, $allowSetToNull = false, $allowSetToDefault = false, $targetFolderTemplate = '', $fileExtension = '')
 {
     parent::__construct($caption, $fieldName, $editControl, $dataset, $allowSetToNull, $allowSetToDefault);
     $this->targetFolderTemplate = $targetFolderTemplate;
     $this->OnCustomFileName = new Event();
     $this->useThumbnailGeneration = false;
     $this->replaceUploadedFileIfExist = true;
 }