TYPO3  7.6
Public Member Functions | Public Attributes | List of all members
IpValidator Class Reference
Inheritance diagram for IpValidator:
AbstractValidator AbstractValidator ValidatorInterface

Public Member Functions

 isValid ($value)
 
- Public Member Functions inherited from AbstractValidator
 setRawArgument ($rawArgument)
 
 setFormUtility (FormUtility $formUtility)
 
 substituteMarkers ($message)
 
 getLocalLanguageLabel ($type= '')
 
 renderMessage ($message=null, $type=null, $messageType= 'message')
 
- Public Member Functions inherited from AbstractValidator
 __construct (array $options=array())
 
 validate ($value)
 
 getOptions ()
 

Public Attributes

const LOCALISATION_OBJECT_NAME = 'tx_form_system_validate_ip'
 
- Public Attributes inherited from AbstractValidator
const LOCALISATION_OBJECT_NAME = 'tx_form_system_validate'
 

Additional Inherited Members

- Protected Member Functions inherited from AbstractValidator
 isValid ($value)
 
 addError ($message, $code, array $arguments=array(), $title= '')
 
 isEmpty ($value)
 
 translateErrorMessage ($translateKey, $extensionName, $arguments=array())
 
- Protected Attributes inherited from AbstractValidator
 $formUtility
 
 $rawArgument
 
 $supportedOptions
 
 $acceptsEmptyValues = false
 

Detailed Description

Definition at line 17 of file IpValidator.php.

Member Function Documentation

isValid (   $value)

Check if $value is valid. If it is not valid, needs to add an error to result.

Parameters
mixed$value
Returns
void

Definition at line 33 of file IpValidator.php.

References AbstractValidator\addError(), and AbstractValidator\renderMessage().

Member Data Documentation

const LOCALISATION_OBJECT_NAME = 'tx_form_system_validate_ip'

Definition at line 24 of file IpValidator.php.