Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
ZenValidatorConstraint
getConstraintName
ZenValidatorConstraint::getConstraintName PHP Метод
Документация по классу ZenValidatorConstraint
Показать файл
Открыть проект
getConstraintName()
публичный
Метод
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
Результат
string
public function getConstraintName() { return str_replace('Constraint_', '', $this->class); }
ZenValidatorConstraint
applyParsley
getConstraintName
getDefaultMessage
getField
getMessage
loadExtra
removeParsley
setField
setMessage
validate