PHP Class Contao\FormFileUpload

Inheritance: extends Widget, implements uploadable
Afficher le fichier Open project: contao/core-bundle

Protected Properties

Свойство Type Description
$strPrefix string The CSS class prefix
$strTemplate string Template

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
getMaximumUploadSize ( ) : string Return the maximum upload file size in bytes

Method Details

__set() public méthode

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

generate() public méthode

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

getMaximumUploadSize() protected méthode

Return the maximum upload file size in bytes
protected getMaximumUploadSize ( ) : string
Résultat string

validate() public méthode

Validate the input and set the value
public validate ( )

Property Details

$strPrefix protected_oe property

The CSS class prefix
protected string $strPrefix
Résultat string

$strTemplate protected_oe property

Template
protected string $strTemplate
Résultat string