PHP 클래스 Contao\Upload

Provide methods to use the FileUpload class in a back end widget. The widget will only upload the files to the server. Use a submit_callback to process the files or use the class as base for your own upload widget.
상속: extends Widget, implements uploadable
파일 보기 프로젝트 열기: contao/core-bundle

보호된 프로퍼티들

프로퍼티 타입 설명
$blnForAttribute boolean Add a for attribute
$blnSubmitInput boolean Submit user input
$objUploader FileUpload Uploader
$strTemplate string Template

공개 메소드들

메소드 설명
__construct ( array $arrAttributes = null ) Initialize the FileUpload object
generate ( ) : string Generate the widget and return it as string

보호된 메소드들

메소드 설명
validator ( mixed $varInput ) : mixed Trim values

메소드 상세

__construct() 공개 메소드

Initialize the FileUpload object
public __construct ( array $arrAttributes = null )
$arrAttributes array

generate() 공개 메소드

Generate the widget and return it as string
public generate ( ) : string
리턴 string

validator() 보호된 메소드

Trim values
protected validator ( mixed $varInput ) : mixed
$varInput mixed
리턴 mixed

프로퍼티 상세

$blnForAttribute 보호되어 있는 프로퍼티

Add a for attribute
protected bool $blnForAttribute
리턴 boolean

$blnSubmitInput 보호되어 있는 프로퍼티

Submit user input
protected bool $blnSubmitInput
리턴 boolean

$objUploader 보호되어 있는 프로퍼티

Uploader
protected FileUpload,contao $objUploader
리턴 FileUpload

$strTemplate 보호되어 있는 프로퍼티

Template
protected string $strTemplate
리턴 string