KWeb  6.4
FormValue_file Class Reference
Inheritance diagram for FormValue_file:
FormValue FormItem FormValue_image

Public Member Functions

 __construct ($name, $title, KFileUpload $fileUpload, $required=false, $errorText= '', $info='', $data=array())
 getType ()
 printValue ($printer)
 isFileSet ($useBox=false)
 Zwraca true jeżeli jest wgrany plik, lub przypisany jest currentFile.
 getFileFormName ()
 getFile ()
 Zwraca dane z $_FILE (lub z nim chociaż zgodne...)
 getTempFileName ($withDir=true)
 storeFile ($dir)
 validate ()
 isFreshUpload ()
 checkFile ($fileData)
 prepareFile ()

Data Fields

 $fileUpload
 $fileData
 $fileError
 $currentFile = false
 $session

Constructor & Destructor Documentation

FormValue_file::__construct ( name,
title,
KFileUpload fileUpload,
required = false,
errorText = '',
info = '',
data = array() 
)

Member Function Documentation

FormValue_file::checkFile ( fileData)
FormValue_file::getFile ( )

Zwraca dane z $_FILE (lub z nim chociaż zgodne...)

FormValue_file::getFileFormName ( )
FormValue_file::getTempFileName ( withDir = true)
FormValue_file::getType ( )

Reimplemented from FormValue.

Reimplemented in FormValue_image.

FormValue_file::isFileSet ( useBox = false)

Zwraca true jeżeli jest wgrany plik, lub przypisany jest currentFile.

Parameters:
$useBoxCzy ma uwzględniać checkbox użycia
FormValue_file::isFreshUpload ( )
FormValue_file::prepareFile ( )
FormValue_file::printValue ( printer)

Reimplemented from FormValue.

FormValue_file::storeFile ( dir)
FormValue_file::validate ( )

Reimplemented from FormValue.


Field Documentation

FormValue_file::$currentFile = false
FormValue_file::$fileData
FormValue_file::$fileError
FormValue_file::$fileUpload
FormValue_file::$session

The documentation for this class was generated from the following file: