PHP Class Constraint_notequalto, silverstripe-zenvalidator

Inheritance: extends ZenValidatorConstraint
Datei anzeigen Open project: sheadawson/silverstripe-zenvalidator

Protected Properties

Property Type Description
$targetField string

Public Methods

Method Description
__construct ( string $field )
applyParsley ( )
getDefaultMessage ( )
getTargetField ( ) : FormField
removeParsley ( )
validate ( $value )

Method Details

__construct() public method

public __construct ( string $field )
$field string the Name of the field to check

applyParsley() public method

public applyParsley ( )

getDefaultMessage() public method

public getDefaultMessage ( )

getTargetField() public method

public getTargetField ( ) : FormField
return FormField

removeParsley() public method

public removeParsley ( )

validate() public method

public validate ( $value )

Property Details

$targetField protected_oe property

protected string $targetField
return string