Class Horde_Form_Type_image
Horde_Form_Type Class
- Horde_Form_Type
- Horde_Form_Type_image
public
|
|
public
|
|
public
|
|
public
|
|
public
|
#
_getUpload( mixed & $vars, mixed & $var )
Gets the upload and sets up the upload data array. Either fetches an upload done with this submit or retries stored upload info. |
public
|
|
public
array
|
|
public
|
#
loadImageData( array & $image )
Loads any existing image data into the image field. Requires that the array $image passed to it contains the structure: $image['load']['file'] - the filename of the image; $image['load']['data'] - the raw image data. |
public
|
|
public
|
__get(),
__set(),
getProperty(),
getTypeName(),
getValues(),
setProperty()
|
public
boolean
|
$_uploaded
Has a file been uploaded on this form submit? |
#
null
|
public
boolean
|
$_show_upload
Show the upload button? |
#
true
|
public
boolean
|
$_show_keeporig
Show the option to upload also original non-modified image? |
#
false
|
public
integer
|
$_max_filesize
Limit the file size? |
#
null
|
public
array
|
$_img
Hash containing the previously uploaded image info. |
|
public
string
|
$_random
A random id that identifies the image information in the session data. |