LimeSurvey API - Master branch

LSYii_FilterValidator extends CFilterValidator
in package

Extends CFilterValidator class to add PHP 8.1 compatibility. Based on Yii 2's FilterValidator

Tags
inheritdoc

Table of Contents

Properties

$skipOnEmpty  : bool

Methods

validateAttribute()  : mixed

Properties

$skipOnEmpty

public bool $skipOnEmpty = \false

whether this validation rule should be skipped if the attribute value is null or an empty string.

Methods

validateAttribute()

protected validateAttribute(mixed $object, mixed $attribute) : mixed
Parameters
$object : mixed
$attribute : mixed
Tags
inheritdoc

        
On this page

Search results