\PhpOffice\PhpSpreadsheet\CellDataValidator

Validate a cell value according to its validation rules.

Summary

Methods
Properties
Constants
isValid()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
isValueInList()
No private properties found
N/A

Methods

isValid()

isValid(\PhpOffice\PhpSpreadsheet\Cell\Cell  $cell) : boolean

Does this cell contain valid value?

Parameters

\PhpOffice\PhpSpreadsheet\Cell\Cell $cell

Cell to check the value

Returns

boolean

isValueInList()

isValueInList(\PhpOffice\PhpSpreadsheet\Cell\Cell  $cell) : boolean

Does this cell contain valid value, based on list?

Parameters

\PhpOffice\PhpSpreadsheet\Cell\Cell $cell

Cell to check the value

Returns

boolean