PHP Class Habari\FormControlFile

Inheritance: extends FormControl
Afficher le fichier Open project: habari/system

Méthodes publiques

Méthode Description
__get ( string $name ) : mixed Magic function __get returns properties for this object, or passes it on to the parent class Potential valid properties: tmp_file: The uploaded file
get ( boolean $forvalidation = true ) Return the HTML construction of the control, after changing the encoding of the parent form to allow for file uploads.
save ( string $storage = null ) Store this control's value under the control's specified key.

Method Details

__get() public méthode

Magic function __get returns properties for this object, or passes it on to the parent class Potential valid properties: tmp_file: The uploaded file
public __get ( string $name ) : mixed
$name string The parameter to retrieve
Résultat mixed The value of the parameter

get() public méthode

Return the HTML construction of the control, after changing the encoding of the parent form to allow for file uploads.
public get ( boolean $forvalidation = true )
$forvalidation boolean True if the control should output validation information with the control.

save() public méthode

Store this control's value under the control's specified key.
public save ( string $storage = null )
$storage string (optional) A storage location to store the control data