Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
ZenValidatorConstraint
getConstraintName
ZenValidatorConstraint::getConstraintName PHP Méthode
ZenValidatorConstraint Class Documentation
Afficher le fichier
Open project: sheadawson/silverstripe-zenvalidator
getConstraintName()
public
méthode
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
Résultat
string
public function getConstraintName() { return str_replace('Constraint_', '', $this->class); }
ZenValidatorConstraint
applyParsley
getConstraintName
getDefaultMessage
getField
getMessage
loadExtra
removeParsley
setField
setMessage
validate