PHP Class Backend\Core\Engine\FormFile

Author: Tijs Verkoyen ([email protected])
Author: Annelies Van Extergem ([email protected])
Inheritance: extends SpoonFormFile
Datei anzeigen Open project: forkcms/forkcms

Public Methods

Method Description
getErrors ( ) : string This function will return the errors. It is extended so we can do file checks automatically.
hideHelpTxt ( boolean $on = true ) Hides (or shows) the help text when parsing the field.
parse ( TwigTemplate $template = null ) : string Parses the html for this filefield.

Method Details

getErrors() public method

This function will return the errors. It is extended so we can do file checks automatically.
public getErrors ( ) : string
return string

hideHelpTxt() public method

Hides (or shows) the help text when parsing the field.
public hideHelpTxt ( boolean $on = true )
$on boolean

parse() public method

Parses the html for this filefield.
public parse ( TwigTemplate $template = null ) : string
$template TwigTemplate The template to parse the element in.
return string