Skip to content

API DataValidator_Filters LogicOr

Christophe SAUVEUR edited this page Apr 21, 2024 · 1 revision

LogicOr Class

chsxf\MFX\DataValidator\Filters

class LogicOr extends chsxf\MFX\DataValidator\AbstractFilter implements DataValidator\IMessageDispatcher

Summary

Descriptor of a field filter applying a basic "OR" logic operation on other filters

This filter validates as soon as a contained filter validates.

Since 1.0

Methods

__construct

public function __construct()

Constructor

Since 1.0


addFilter

public function addFilter(DataValidator\AbstractFilter $filter)

Adds a filter

Since 1.0

Parameters

Name Type Description
$filter AbstractFilter

Clone this wiki locally