Class iPhorm_SuccessHandler_FileStorage

Description

Located in /iPhorm/SuccessHandler/FileStorage.php (line 3)

iPhorm_SuccessHandler_Abstract
   |
   --iPhorm_SuccessHandler_FileStorage
Variable Summary
 array $_elementMap
Method Summary
 array getElementMap ()
 void run ()
 void setElementMap ( $elementMap)
 string _generateFilename ( $path,  $filename)
Variables
array $_elementMap = array() (line 10)

The mapping of elements to upload locations on the server

  • access: protected

Inherited Variables

Inherited from iPhorm_SuccessHandler_Abstract

iPhorm_SuccessHandler_Abstract::$_charset
iPhorm_SuccessHandler_Abstract::$_form
Methods
getElementMap (line 83)

Get the element map

  • access: public
array getElementMap ()
run (line 16)

Run the handler. Move the elements specified in the element map to their set paths.

  • access: public
void run ()
setElementMap (line 73)

Set the element map

A mapping of element names to file upload location paths on the server. See documentation on file uploads for more information.

  • access: public
void setElementMap ( $elementMap)
  • $elementMap $elementMap
_generateFilename (line 93)

Generate a filename that does not already exist in the given path

  • access: protected
string _generateFilename ( $path,  $filename)
  • $path
  • $filename

Inherited Methods

Inherited From iPhorm_SuccessHandler_Abstract

 iPhorm_SuccessHandler_Abstract::__construct()
 iPhorm_SuccessHandler_Abstract::getForm()
 iPhorm_SuccessHandler_Abstract::setForm()

Documentation generated on Thu, 24 Feb 2011 22:19:37 +0000 by phpDocumentor 1.4.3