PHP Класс Habari\FormControlFile

Наследование: extends FormControl
Показать файл Открыть проект

Открытые методы

Метод Описание
__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.

Описание методов

__get() публичный Метод

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
Результат mixed The value of the parameter

get() публичный Метод

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() публичный Метод

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