Skip to content
This repository has been archived by the owner on Dec 30, 2023. It is now read-only.

Commit

Permalink
Merge pull request #985 from Ke100n4ik/master
Browse files Browse the repository at this point in the history
Just a little fix in Validation
  • Loading branch information
sergeyklay committed Apr 27, 2017
2 parents 7756ba9 + 9bfaf97 commit e2bdb3b
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion en/reference/validation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ If you are creating custom validators you can dynamically stop the validation ch
{
// If the attribute value is name we must stop the chain
if ($attribute === "name") {
$validator->setOption("cancelOnFail", true);
$this->setOption("cancelOnFail", true);
}
// ...
Expand Down
2 changes: 1 addition & 1 deletion es/reference/validation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ Si creas validators personalizados puedes parar dinámicamente la ejecución con
{
// If the attribute value is name we must stop the chain
if ($attribute === "name") {
$validator->setOption("cancelOnFail", true);
$this->setOption("cancelOnFail", true);
}
// ...
Expand Down
2 changes: 1 addition & 1 deletion fa/reference/validation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ If you are creating custom validators you can dynamically stop the validation ch
{
// If the attribute value is name we must stop the chain
if ($attribute === "name") {
$validator->setOption("cancelOnFail", true);
$this->setOption("cancelOnFail", true);
}
// ...
Expand Down
2 changes: 1 addition & 1 deletion fr/reference/validation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ If you are creating custom validators you can dynamically stop the validation ch
{
// If the attribute value is name we must stop the chain
if ($attribute === "name") {
$validator->setOption("cancelOnFail", true);
$this->setOption("cancelOnFail", true);
}
// ...
Expand Down
2 changes: 1 addition & 1 deletion id/reference/validation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ If you are creating custom validators you can dynamically stop the validation ch
{
// If the attribute value is name we must stop the chain
if ($attribute === "name") {
$validator->setOption("cancelOnFail", true);
$this->setOption("cancelOnFail", true);
}
// ...
Expand Down
2 changes: 1 addition & 1 deletion ja/reference/validation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ If you are creating custom validators you can dynamically stop the validation ch
{
// If the attribute value is name we must stop the chain
if ($attribute === "name") {
$validator->setOption("cancelOnFail", true);
$this->setOption("cancelOnFail", true);
}
// ...
Expand Down
2 changes: 1 addition & 1 deletion pl/reference/validation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ If you are creating custom validators you can dynamically stop the validation ch
{
// If the attribute value is name we must stop the chain
if ($attribute === "name") {
$validator->setOption("cancelOnFail", true);
$this->setOption("cancelOnFail", true);
}
// ...
Expand Down
2 changes: 1 addition & 1 deletion pt/reference/validation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ Se você está criando validadores próprios você pode parar a cadeia de valida
{
// If the attribute value is name we must stop the chain
if ($attribute === "name") {
$validator->setOption("cancelOnFail", true);
$this->setOption("cancelOnFail", true);
}
// ...
Expand Down
2 changes: 1 addition & 1 deletion ru/reference/validation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ Phalcon будет передавать данные в зависимости
{
// Если имя атрибута 'name' - останавливаем дальнейшие проверки
if ($attribute === "name") {
$validator->setOption("cancelOnFail", true);
$this->setOption("cancelOnFail", true);
}
// ...
Expand Down
2 changes: 1 addition & 1 deletion uk/reference/validation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ If you are creating custom validators you can dynamically stop the validation ch
{
// If the attribute value is name we must stop the chain
if ($attribute === "name") {
$validator->setOption("cancelOnFail", true);
$this->setOption("cancelOnFail", true);
}
// ...
Expand Down
2 changes: 1 addition & 1 deletion zh/reference/validation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ data depending what it is - if it's an entity then entity will be passed, otherw
{
// If the attribute value is name we must stop the chain
if ($attribute === "name") {
$validator->setOption("cancelOnFail", true);
$this->setOption("cancelOnFail", true);
}
// ...
Expand Down

0 comments on commit e2bdb3b

Please sign in to comment.