|
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
| isValid ($value, $file=null) | |
Public Member Functions inherited from Zend_Validate_File_Extension | |
| __construct ($options) | |
| getCase () | |
| setCase ($case) | |
| getExtension () | |
| setExtension ($extension) | |
| addExtension ($extension) | |
| isValid ($value, $file=null) | |
Public Member Functions inherited from Zend_Validate_Abstract | |
| getMessages () | |
| getMessageVariables () | |
| getMessageTemplates () | |
| setMessage ($messageString, $messageKey=null) | |
| setMessages (array $messages) | |
| __get ($property) | |
| getErrors () | |
| setObscureValue ($flag) | |
| getObscureValue () | |
| setTranslator ($translator=null) | |
| getTranslator () | |
| hasTranslator () | |
| setDisableTranslator ($flag) | |
| translatorIsDisabled () | |
Public Member Functions inherited from Zend_Validate_Interface | |
| isValid ($value) | |
Data Fields | |
| const | FALSE_EXTENSION = 'fileExcludeExtensionFalse' |
| const | NOT_FOUND = 'fileExcludeExtensionNotFound' |
Data Fields inherited from Zend_Validate_File_Extension | |
| const | FALSE_EXTENSION = 'fileExtensionFalse' |
| const | NOT_FOUND = 'fileExtensionNotFound' |
Protected Attributes | |
| $_messageTemplates | |
Protected Attributes inherited from Zend_Validate_File_Extension | |
| $_messageTemplates | |
| $_extension = '' | |
| $_case = false | |
| $_messageVariables | |
Protected Attributes inherited from Zend_Validate_Abstract | |
| $_value | |
| $_messageVariables = array() | |
| $_messageTemplates = array() | |
| $_messages = array() | |
| $_obscureValue = false | |
| $_errors = array() | |
| $_translator | |
| $_translatorDisabled = false | |
Additional Inherited Members | |
Static Public Member Functions inherited from Zend_Validate_Abstract | |
| static | setDefaultTranslator ($translator=null) |
| static | getDefaultTranslator () |
| static | hasDefaultTranslator () |
| static | getMessageLength () |
| static | setMessageLength ($length=-1) |
Protected Member Functions inherited from Zend_Validate_File_Extension | |
| _throw ($file, $errorType) | |
Protected Member Functions inherited from Zend_Validate_Abstract | |
| _createMessage ($messageKey, $value) | |
| _implodeRecursive (array $pieces) | |
| _error ($messageKey, $value=null) | |
| _setValue ($value) | |
Static Protected Attributes inherited from Zend_Validate_Abstract | |
| static | $_defaultTranslator |
| static | $_messageLength = -1 |
Definition at line 35 of file ExcludeExtension.php.
| isValid | ( | $value, | |
$file = null |
|||
| ) |
Defined by Zend_Validate_Interface
Returns true if and only if the fileextension of $value is not included in the set extension list
| string | $value | Real file to check for extension |
| array | $file | File data from Zend_File_Transfer |
Definition at line 61 of file ExcludeExtension.php.
|
protected |
Definition at line 46 of file ExcludeExtension.php.
| const FALSE_EXTENSION = 'fileExcludeExtensionFalse' |
@const string Error constants
Definition at line 40 of file ExcludeExtension.php.
| const NOT_FOUND = 'fileExcludeExtensionNotFound' |
Definition at line 41 of file ExcludeExtension.php.