Xataface AJAX Upload Module 0.1
jQuery Ajax Upload Widget for Xataface
Public Member Functions | Data Fields
actions_ajax_upload_handleupload Class Reference

Public Member Functions

 handle ($params)
 getMimeType ($path)
 getThumbnail ($url, $path)
 validate (&$field, $value, &$params)
 Validates against a field of this table. This checks if a value is valid for this a field of this table.

Data Fields

const VALIDATION_ERROR = 501

Detailed Description

Definition at line 2 of file ajax_upload_handleupload.php.


Member Function Documentation

getMimeType ( path)

Definition at line 211 of file ajax_upload_handleupload.php.

getThumbnail ( url,
path 
)

Definition at line 219 of file ajax_upload_handleupload.php.

handle ( params)

Definition at line 6 of file ajax_upload_handleupload.php.

validate ( &$  field,
value,
&$  params 
)

Validates against a field of this table. This checks if a value is valid for this a field of this table.

Parameters:
string$fieldnameThe name of the field
mixed$valueThe value to validate for the field.
array$paramsArray of parameters. This may be used to pass parameters OUT of this function. For example. Setting the 'message' attribute of this array will pass out a message to be displayed to the user along with the error upon failed validation.
Returns:
boolean True if it validates ok, false otherwise.

Definition at line 238 of file ajax_upload_handleupload.php.


Field Documentation

const VALIDATION_ERROR = 501

Definition at line 4 of file ajax_upload_handleupload.php.


The documentation for this class was generated from the following file:
 All Data Structures Files Functions Variables