Oihana PHP System

prohibitedUnless.php

Table of Contents

Functions

prohibitedUnless()  : string
Generates the 'prohibited_unless:anotherField' rule expression.

Functions

prohibitedUnless()

Generates the 'prohibited_unless:anotherField' rule expression.

prohibitedUnless(string $anotherField, mixed ...$values) : string

The field under this rule is not allowed unless another_field has one of these values. This is the inverse of prohibited_if.

Parameters
$anotherField : string

The another field to evaluates.

$values : mixed
Return values
string

        
On this page

Search results