25 #require_once 'Zend/Validate/File/Extension.php'; 47 self::FALSE_EXTENSION =>
"File '%value%' has a false extension",
48 self::NOT_FOUND =>
"File '%value%' is not readable or does not exist",
64 #require_once 'Zend/Loader.php'; 66 return $this->
_throw($file, self::NOT_FOUND);
70 $info[
'extension'] = substr($file[
'name'], strrpos($file[
'name'],
'.') + 1);
77 if ($this->_case and (!in_array(
$info[
'extension'], $extensions))) {
79 }
else if (!$this->_case) {
92 return $this->
_throw($file, self::FALSE_EXTENSION);
isValid($value, $file=null)
static isReadable($filename)
_throw($file, $errorType)
foreach( $_productCollection as $_product)() ?>" class $info