Class Nexista_GdValidator

Description

This validator checks whether the format of the given image is supported by our version of GD.

This needs the mime type of image passed. It is available in the request var $_FILES['userfile']['type'] which can be passed as flow var: flow://_files/file/type

Located in /modules/validators/gd.validator.php (line 26)

Nexista_Validator
   |
   --Nexista_GdValidator
Variable Summary
 string $message
 array $params
Method Summary
 boolean main ()
Variables
string $message = "" (line 45)

Validator error message

  • access: protected

Redefinition of:
Nexista_Validator::$message
Validation info message
array $params = array(
'var' => '' //required - mime type of image
)
(line 35)

Function parameter array

  • access: protected

Redefinition of:
Nexista_Validator::$params
Function parameter array

Inherited Variables

Inherited from Nexista_Validator

Nexista_Validator::$empty
Nexista_Validator::$required
Nexista_Validator::$result
Methods

Documentation generated on Tue, 11 Mar 2008 23:23:04 -0400 for Nexista 0.2.0