PHP Class Contao\FormFileUpload

Inheritance: extends Widget, implements uploadable
Show file Open project: contao/core-bundle

Protected Properties

Property Type Description
$strPrefix string The CSS class prefix
$strTemplate string Template

Public Methods

Method Description
__set ( string $strKey, mixed $varValue ) Add specific attributes
generate ( ) : string Generate the widget and return it as string
validate ( ) Validate the input and set the value

Protected Methods

Method Description
getMaximumUploadSize ( ) : string Return the maximum upload file size in bytes

Method Details

__set() public method

Add specific attributes
public __set ( string $strKey, mixed $varValue )
$strKey string The attribute name
$varValue mixed The attribute value

generate() public method

Generate the widget and return it as string
public generate ( ) : string
return string The widget markup

getMaximumUploadSize() protected method

Return the maximum upload file size in bytes
protected getMaximumUploadSize ( ) : string
return string

validate() public method

Validate the input and set the value
public validate ( )

Property Details

$strPrefix protected property

The CSS class prefix
protected string $strPrefix
return string

$strTemplate protected property

Template
protected string $strTemplate
return string