PHP Class Contao\FormSubmit

Form submit button.
Inheritance: extends Widget
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
parse ( array $arrAttributes = null ) : string Parse the template file and return it as string
validate ( ) Do not validate

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

parse() public method

Parse the template file and return it as string
public parse ( array $arrAttributes = null ) : string
$arrAttributes array An optional attributes array
return string The template markup

validate() public method

Do not validate
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