Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
ZenValidatorConstraint
getConstraintName
ZenValidatorConstraint::getConstraintName PHP Method
ZenValidatorConstraint Class Documentation
Datei anzeigen
Open project: sheadawson/silverstripe-zenvalidator
getConstraintName()
public
method
Gets the name of this constraint from it's classname which should correspond to the string that parsley uses to identify a constraint type
public
getConstraintName
( ) :
string
return
string
public function getConstraintName() { return str_replace('Constraint_', '', $this->class); }
ZenValidatorConstraint
applyParsley
getConstraintName
getDefaultMessage
getField
getMessage
loadExtra
removeParsley
setField
setMessage
validate