Class KTUploadManager

Description

KTUploadManager manages files in the uploaded_files table.

Located in /ktwebservice/KTUploadManager.inc.php (line 33)


	
			
Variable Summary
mixed $age
mixed $session
mixed $temp_dir
mixed $userid
Method Summary
KTUploadManager KTUploadManager ()
void cleanup ()
void get_uploaded_list ([string $action = null])
void imported_file ( $action,  $filename,  $documentid)
void set_session (KTAPI_Session $session)
void uploaded (string $filename, string $tempfile, string $action, [ $relatedid = null])
Variables
mixed $age (line 36)
mixed $session (line 38)
mixed $temp_dir (line 37)
mixed $userid (line 35)
Methods
Constructor KTUploadManager (line 41)
KTUploadManager KTUploadManager ()
cleanup (line 153)

This will remove any temporary files that have not been dealt with in the correct timeframe.

void cleanup ()
get_uploaded_list (line 114)

This is a list of all all managed files.

void get_uploaded_list ([string $action = null])
  • string $action
imported_file (line 125)
void imported_file ( $action,  $filename,  $documentid)
  • $action
  • $filename
  • $documentid
set_session (line 54)

Sets the current session.

void set_session (KTAPI_Session $session)
uploaded (line 68)

This tells the manager to manage a file that has been uploaded.

void uploaded (string $filename, string $tempfile, string $action, [ $relatedid = null])
  • string $filename
  • string $tempfile
  • string $action
  • $relatedid

Documentation generated on Sun, 22 Apr 2007 02:30:55 +0200 by phpDocumentor 1.3.2