ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Validate a cell value according to its validation rules. More...
Public Member Functions | |
isValid (Cell $cell) | |
Does this cell contain valid value? More... | |
Private Member Functions | |
isValueInList (Cell $cell) | |
Does this cell contain valid value, based on list? More... | |
Validate a cell value according to its validation rules.
Definition at line 12 of file DataValidator.php.
PhpOffice\PhpSpreadsheet\Cell\DataValidator::isValid | ( | Cell | $cell | ) |
Does this cell contain valid value?
Definition at line 21 of file DataValidator.php.
References PhpOffice\PhpSpreadsheet\Cell\Cell\getDataValidation(), PhpOffice\PhpSpreadsheet\Cell\Cell\getValue(), PhpOffice\PhpSpreadsheet\Cell\Cell\hasDataValidation(), PhpOffice\PhpSpreadsheet\Cell\DataValidator\isValueInList(), and PhpOffice\PhpSpreadsheet\Cell\DataValidation\TYPE_LIST.
|
private |
Does this cell contain valid value, based on list?
Definition at line 50 of file DataValidator.php.
References $result, PhpOffice\PhpSpreadsheet\Cell\Cell\getCoordinate(), PhpOffice\PhpSpreadsheet\Cell\Cell\getDataValidation(), PhpOffice\PhpSpreadsheet\Calculation\Calculation\getInstance(), PhpOffice\PhpSpreadsheet\Cell\Cell\getValue(), PhpOffice\PhpSpreadsheet\Cell\Cell\getWorksheet(), and PhpOffice\PhpSpreadsheet\Calculation\Functions\NA().
Referenced by PhpOffice\PhpSpreadsheet\Cell\DataValidator\isValid().